public class XMLConfUtils extends XMLUtils
| Constructor and Description |
|---|
XMLConfUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Element |
createLastPathComponent(Document doc,
String[] path,
int pathLength)
Creates (only if necessary) and returns the element which is at the end
of the specified path.
|
static Element |
getChildElementByChain(Element parent,
String[] chain)
Returns the element which is at the end of the specified
String chain.
|
createDocument, createDocument, createDocument, createXml, disableExternalEntities, findChild, findChildren, getAttribute, getCData, getCDataNode, getChildByType, getNamespaceUri, getText, getTextNode, hasChildElements, indentedWriteXML, isStandartXmlNamespace, locateElement, locateElements, newDocumentBuilderFactory, newDocumentBuilderFactory, printChildElements, setCData, setText, writeXML, writeXML, writeXMLpublic static Element getChildElementByChain(Element parent, String[] chain)
parent - the xml element that is the parent of the root of this
chain.chain - a String array containing the names of all the child's
parent nodes.public static Element createLastPathComponent(Document doc, String[] path, int pathLength)
doc - the target document where the specified path should be createdpath - an array of String elements which represents the
path to be created. Each element of path up to and including the
index pathLength - 1 must be valid XML (element) namespathLength - the length of the specified pathCopyright © 2021 jitsi.org. All rights reserved.