Package org.apache.sis.metadata.iso.lineage

Examples of org.apache.sis.metadata.iso.lineage.DefaultProcessStep


    @Test
    public void testProcessStep() throws IOException, JAXBException {
        final Marshaller         marshaller   = pool.acquireMarshaller();
        final Unmarshaller       unmarshaller = pool.acquireUnmarshaller();
        final DefaultProcessing  processing   = new DefaultProcessing();
        final DefaultProcessStep processStep  = new DefaultProcessStep("Some process step.");
        processing.setProcedureDescription(new SimpleInternationalString("Some procedure."));
        processStep.setProcessingInformation(processing);
        /*
         * XML marshalling, and compare with the content of "ProcessStep.xml" file.
         */
        final String xml = marshal(marshaller, processStep);
        assertTrue(xml.startsWith("<?xml"));
View Full Code Here

TOP

Related Classes of org.apache.sis.metadata.iso.lineage.DefaultProcessStep

Copyright © 2018 www.massapicom. 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.