Package org.jboss.test.xb.builder.object.type.xmlanyelement.support

Examples of org.jboss.test.xb.builder.object.type.xmlanyelement.support.ElementWildcard


      super(name);
   }

   public void testUnmarshalWildcard() throws Exception
   {
      ElementWildcard result = unmarshalObject(ElementWildcard.class);
      Element element = result.getWildcard();
      assertNotNull(element);
      assertEquals("test-element", element.getNodeName());
   }
View Full Code Here


      {
         SchemaBinding schema = JBossXBBuilder.build(ElementWildcard.class, true);
         Object o = unmarshal(getRootName() + ".xml", schema);
         assertNotNull(o);
         assertTrue(o instanceof ElementWildcard);
         ElementWildcard ew = (ElementWildcard) o;
         Element element = ew.getWildcard();
         assertNotNull(element);
         assertEquals("test-element", element.getNodeName());
      }
      finally
      {
View Full Code Here

TOP

Related Classes of org.jboss.test.xb.builder.object.type.xmlanyelement.support.ElementWildcard

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.