|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.util.DOMUtil
public class DOMUtil
$author: JAXWS Development Team
Constructor Summary | |
---|---|
DOMUtil()
|
Method Summary | |
---|---|
static Document |
createDom()
Creates a new DOM document. |
static Node |
createDOMNode(InputStream inputStream)
|
static List<Element> |
getChildElements(Node parent)
|
static Element |
getFirstChild(Element e,
String nsUri,
String local)
Gets the first child of the given name, or null. |
static Element |
getFirstElementChild(Node parent)
Gets the first element child. |
static void |
serializeNode(Element node,
javax.xml.stream.XMLStreamWriter writer)
Traverses a DOM node and writes out on a streaming writer. |
static void |
writeTagWithAttributes(Element node,
javax.xml.stream.XMLStreamWriter writer)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DOMUtil()
Method Detail |
---|
public static Document createDom()
public static Node createDOMNode(InputStream inputStream)
public static void serializeNode(Element node, javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
node
- writer
-
javax.xml.stream.XMLStreamException
public static void writeTagWithAttributes(Element node, javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static Element getFirstChild(Element e, String nsUri, String local)
@Nullable public static Element getFirstElementChild(Node parent)
@NotNull public static List<Element> getChildElements(Node parent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |