@Deprecated
public class XmlUtil
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static void |
appendText(org.w3c.dom.Element element,
java.lang.String stringValue) |
Deprecated.
|
static javax.xml.transform.dom.DOMSource |
asDomSource(javax.xml.transform.Source source) |
Deprecated.
|
static org.w3c.dom.Document |
createDocument() |
Deprecated.
|
static java.lang.String |
getElementText(org.w3c.dom.Element elem) |
Deprecated.
Gathers and returns all text nodes of the Element as single String.
|
static org.w3c.dom.Element |
getFirstChild(org.w3c.dom.Element parent) |
Deprecated.
Gets first child Element of the parent Element and
skips other types of nodes (i.e.
|
static org.w3c.dom.Element |
getFirstChild(org.w3c.dom.Element parent,
java.lang.String childNodeName) |
Deprecated.
Gets first child Element of the parent Element with specified
node name.
|
static org.w3c.dom.Element |
getNextSibling(org.w3c.dom.Element elem) |
Deprecated.
Gets next nearest sibling Element of the elem Element and
skips other types of nodes (i.e.
|
static void |
outputDocument(org.w3c.dom.Document doc,
java.io.OutputStream out) |
Deprecated.
|
static void |
setElementAttribute(org.w3c.dom.Element elem,
java.lang.String attrName,
java.lang.String attrValue) |
Deprecated.
|
public static org.w3c.dom.Element getFirstChild(org.w3c.dom.Element parent)
parent
- Element to search for child nodespublic static org.w3c.dom.Element getFirstChild(org.w3c.dom.Element parent, java.lang.String childNodeName)
parent
- Element to search for child nodeschildNodeName
- name of the node to search forpublic static org.w3c.dom.Element getNextSibling(org.w3c.dom.Element elem)
elem
- Element to search for siblingspublic static java.lang.String getElementText(org.w3c.dom.Element elem)
elem
- Element to look for text nodespublic static void appendText(org.w3c.dom.Element element, java.lang.String stringValue)
public static javax.xml.transform.dom.DOMSource asDomSource(javax.xml.transform.Source source) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
public static org.w3c.dom.Document createDocument() throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationException
public static void setElementAttribute(org.w3c.dom.Element elem, java.lang.String attrName, java.lang.String attrValue)
public static void outputDocument(org.w3c.dom.Document doc, java.io.OutputStream out) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.