Search in sources :

Example 11 with ObsProposal

use of alma.xmljbind.test.obsproposal.ObsProposal in project ACS by ACS-Community.

the class MarshalRoundtripTest method testMarshalObsProposal.

public void testMarshalObsProposal() throws Exception {
    String xmlFilename = "ObsProposal1.xml";
    ObsProposal oprop = xmlInOut.unmarshalObsProposal(xmlFilename);
    oprop.validate();
    xmlInOut.marshalObsProposalToFile(oprop, xmlFilename);
}
Also used : ObsProposal(alma.xmljbind.test.obsproposal.ObsProposal)

Aggregations

ObsProposal (alma.xmljbind.test.obsproposal.ObsProposal)11 SchedBlock (alma.xmljbind.test.schedblock.SchedBlock)3 XmlOffshoot (alma.demo.XmlOffshoot)2 XmlOffshootJ (alma.demo.XmlOffshootJ)2 EntityT (alma.entities.commonentity.EntityT)2 ObsProposalEntityT (alma.xmljbind.test.obsproposal.ObsProposalEntityT)2 AcsJContainerServicesEx (alma.JavaContainerError.wrappers.AcsJContainerServicesEx)1 ComponentWithXmlOffshoot (alma.demo.ComponentWithXmlOffshoot)1 ComponentWithXmlOffshootJ (alma.demo.ComponentWithXmlOffshootJ)1 SchedBlockHolder (alma.demo.SchedBlockHolder)1 EntityRefT (alma.entities.commonentity.EntityRefT)1 ObsProjectRefT (alma.xmljbind.test.obsproject.ObsProjectRefT)1 File (java.io.File)1 FileReader (java.io.FileReader)1 Reader (java.io.Reader)1 Unmarshaller (org.exolab.castor.xml.Unmarshaller)1