Package com.alexgilleran.icesoap.xml.impl

Examples of com.alexgilleran.icesoap.xml.impl.XMLParentNodeImpl


    super(DEFAULT_NAMESPACE, DEFAULT_NAME);
  }

  @Override
  protected XMLParentNodeImpl constructElement(String namespace, String name) {
    return new XMLParentNodeImpl(namespace, name);
  }
View Full Code Here


    // Check that the object is empty
    assertTrue(getXMLObject().getChildNodes().isEmpty());

    // Add a node
    getXMLObject().addElement(new XMLParentNodeImpl(namespace1, name1));

    // Assert that there's now one object
    assertEquals(1, getXMLObject().getChildNodes().size());

    // Check that the details have gone in as expected
View Full Code Here

    super(DEFAULT_NAMESPACE, DEFAULT_NAME);
  }

  @Override
  protected XMLParentNodeImpl constructElement(String namespace, String name) {
    XMLParentNodeImpl baseNode = new XMLParentNodeImpl(namespace, name);

    XMLParentNode node1 = baseNode.addNode(NAMESPACE_NODE_1, NAME_NODE_1);
    node1.addNode(NAMESPACE_NODE_2, NAME_NODE_2);

    baseNode.addTextNode(NAMESPACE_TEXT_NODE, NAME_TEXT_NODE, VALUE_TEXT_NODE);

    return baseNode;
  }
View Full Code Here

TOP

Related Classes of com.alexgilleran.icesoap.xml.impl.XMLParentNodeImpl

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.