public class NameSpaceXMLDocReader
extends java.lang.Object
Constructor and Description |
---|
NameSpaceXMLDocReader(org.dom4j.Document doc) |
NameSpaceXMLDocReader(java.io.File file)
Constructor for the NameSpaceXMLDocReader object
|
NameSpaceXMLDocReader(java.lang.String xml) |
NameSpaceXMLDocReader(java.net.URL url)
Constructor for the NameSpaceXMLDocReader object
|
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
java.lang.String |
getChildElementAttribute(org.dom4j.Element e,
java.lang.String childElementName,
java.lang.String attributeName) |
java.lang.String |
getChildElementText(org.dom4j.Element e,
java.lang.String childElementName) |
org.dom4j.Document |
getDocument() |
org.dom4j.Namespace |
getNamespace(java.lang.String prefix) |
org.dom4j.Node |
getNode(org.dom4j.Node baseNode,
java.lang.String xpath) |
org.dom4j.Node |
getNode(java.lang.String xpath)
Gets the node attribute of the NameSpaceXMLDocReader object
|
java.util.List |
getNodes(org.dom4j.Node baseNode,
java.lang.String path) |
java.util.List |
getNodes(java.lang.String path)
Gets the nodes attribute of the NameSpaceXMLDocReader object
|
java.lang.String |
getNodeText(java.lang.String xpath) |
org.dom4j.QName |
getQName(java.lang.String qualifiedName) |
org.dom4j.Element |
getRootElement() |
java.lang.String |
getValueAtPath(org.dom4j.Element baseElement,
java.lang.String relativePath) |
org.dom4j.XPath |
getXPath(java.lang.String path)
Gets the xPath attribute of the NameSpaceXMLDocReader object
|
protected void |
init() |
static void |
main(java.lang.String[] args) |
public NameSpaceXMLDocReader(java.lang.String xml) throws java.lang.Exception
java.lang.Exception
public NameSpaceXMLDocReader(org.dom4j.Document doc) throws java.lang.Exception
java.lang.Exception
public NameSpaceXMLDocReader(java.net.URL url) throws java.lang.Exception
url
- NOT YET DOCUMENTEDnsContext
- NOT YET DOCUMENTEDjava.lang.Exception
- NOT YET DOCUMENTEDpublic NameSpaceXMLDocReader(java.io.File file) throws java.lang.Exception
url
- NOT YET DOCUMENTEDnsContext
- NOT YET DOCUMENTEDjava.lang.Exception
- NOT YET DOCUMENTEDprotected void init() throws java.lang.Exception
java.lang.Exception
public org.dom4j.QName getQName(java.lang.String qualifiedName)
public org.dom4j.Namespace getNamespace(java.lang.String prefix)
public org.dom4j.Document getDocument()
public org.dom4j.Element getRootElement()
public java.lang.String getNodeText(java.lang.String xpath)
public java.lang.String getValueAtPath(org.dom4j.Element baseElement, java.lang.String relativePath) throws java.lang.Exception
java.lang.Exception
public org.dom4j.Node getNode(java.lang.String xpath)
xpath
- NOT YET DOCUMENTEDpublic org.dom4j.Node getNode(org.dom4j.Node baseNode, java.lang.String xpath)
public java.util.List getNodes(java.lang.String path)
path
- NOT YET DOCUMENTEDpublic java.util.List getNodes(org.dom4j.Node baseNode, java.lang.String path)
public org.dom4j.XPath getXPath(java.lang.String path)
path
- NOT YET DOCUMENTEDpublic java.lang.String getChildElementText(org.dom4j.Element e, java.lang.String childElementName)
public java.lang.String getChildElementAttribute(org.dom4j.Element e, java.lang.String childElementName, java.lang.String attributeName)
public void destroy()
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception