Package edu.harvard.hul.ois.fits

Examples of edu.harvard.hul.ois.fits.XmlContentConverter.toDocumentMD()


        elem = new Element( "hasForms");
        elem.addContent("yes");
        docElem.addContent (elem);

        XmlContentConverter conv = new XmlContentConverter ();
        DocumentMD dmd = (DocumentMD) conv.toDocumentMD (docElem);
        List<Feature> features = dmd.getFeatures ();
        assertTrue (features.size() == 1);
        Feature feature = features.get(0);
        assertTrue (feature == Feature.hasForms);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.