Package org.jboss.test.xml.jbxb.schemabindingattribute

Examples of org.jboss.test.xml.jbxb.schemabindingattribute.Root


      schema.setSchemaResolver(new MultiClassSchemaResolver());
      String name = findTestXml();
      Object o = unmarshal(name, schema);
      assertNotNull(o);
      assertTrue(o instanceof Root);
      Root root = (Root) o;
      assertNotNull(root.getAnyElement());
      assertEquals(1, root.getAnyElement().length);
      o = root.getAnyElement()[0];
      assertNotNull(o);
      assertTrue(o instanceof Ns2Root);
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.xml.jbxb.schemabindingattribute.Root

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.