Examples of ElementWildcard


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

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

      {
         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
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.