Class DOMUtil
java.lang.Object
com.sun.xml.ws.security.opt.impl.util.DOMUtil
$author: JAXWS Development Team
-
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentCreates a new DOM document.static NodecreateDOMNode(InputStream inputStream) getChildElements(Node parent) static ElementgetFirstChild(Element e, String nsUri, String local) Gets the first child of the given name, or null.static ElementgetFirstElementChild(Node parent) Gets the first element child.static voidserializeNode(Element node, XMLStreamWriter writer) Traverses a DOM node and writes out on a streaming writer.static voidwriteTagWithAttributes(Element node, XMLStreamWriter writer)
-
Method Details
-
createDom
Creates a new DOM document. -
createDOMNode
-
serializeNode
Traverses a DOM node and writes out on a streaming writer.- Throws:
XMLStreamException
-
writeTagWithAttributes
public static void writeTagWithAttributes(Element node, XMLStreamWriter writer) throws XMLStreamException - Throws:
XMLStreamException
-
getFirstChild
Gets the first child of the given name, or null. -
getFirstElementChild
Gets the first element child. -
getChildElements
-