Package org.apache.ws.jaxme

Examples of org.apache.ws.jaxme.JMUnmarshaller.unmarshal()


  /** Test for unmarshalling of simple elements.
   */
  public void testUnmarshalSimpleElements() throws Exception {
    JMUnmarshaller jmUnmarshaller = (JMUnmarshaller) getFactory().createUnmarshaller();
    StringReader sr = new StringReader(getAllTypesElementString());
    AllTypesElement result = (AllTypesElement) jmUnmarshaller.unmarshal(new InputSource(sr));
    verifyAllSimpleTypesElement(result.getAllSimpleTypesElement());
  }

  /** Test for unmarshalling of complex elements.
   */
 
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.