|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.standards.asn.NameSpaceXMLDocReader
public class NameSpaceXMLDocReader
Class to read the ASN topics docuement and provide lookups by topic purl.
Constructor Summary | |
---|---|
NameSpaceXMLDocReader(Document doc)
|
|
NameSpaceXMLDocReader(File file)
Constructor for the NameSpaceXMLDocReader object |
|
NameSpaceXMLDocReader(String xml)
|
|
NameSpaceXMLDocReader(URL url)
Constructor for the NameSpaceXMLDocReader object |
Method Summary | |
---|---|
void |
destroy()
|
String |
getChildElementAttribute(Element e,
String childElementName,
String attributeName)
|
String |
getChildElementText(Element e,
String childElementName)
|
Document |
getDocument()
|
Namespace |
getNamespace(String prefix)
|
Node |
getNode(Node baseNode,
String xpath)
|
Node |
getNode(String xpath)
Gets the node attribute of the NameSpaceXMLDocReader object |
List |
getNodes(Node baseNode,
String path)
|
List |
getNodes(String path)
Gets the nodes attribute of the NameSpaceXMLDocReader object |
String |
getNodeText(String xpath)
|
QName |
getQName(String qualifiedName)
|
Element |
getRootElement()
|
String |
getValueAtPath(Element baseElement,
String relativePath)
|
XPath |
getXPath(String path)
Gets the xPath attribute of the NameSpaceXMLDocReader object |
protected void |
init()
|
static void |
main(String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NameSpaceXMLDocReader(String xml) throws Exception
Exception
public NameSpaceXMLDocReader(Document doc) throws Exception
Exception
public NameSpaceXMLDocReader(URL url) throws Exception
url
- NOT YET DOCUMENTEDnsContext
- NOT YET DOCUMENTED
Exception
- NOT YET DOCUMENTEDpublic NameSpaceXMLDocReader(File file) throws Exception
url
- NOT YET DOCUMENTEDnsContext
- NOT YET DOCUMENTED
Exception
- NOT YET DOCUMENTEDMethod Detail |
---|
protected void init() throws Exception
Exception
public QName getQName(String qualifiedName)
public Namespace getNamespace(String prefix)
public Document getDocument()
public Element getRootElement()
public String getNodeText(String xpath)
public String getValueAtPath(Element baseElement, String relativePath) throws Exception
Exception
public Node getNode(String xpath)
xpath
- NOT YET DOCUMENTED
public Node getNode(Node baseNode, String xpath)
public List getNodes(String path)
path
- NOT YET DOCUMENTED
public List getNodes(Node baseNode, String path)
public XPath getXPath(String path)
path
- NOT YET DOCUMENTED
public String getChildElementText(Element e, String childElementName)
public String getChildElementAttribute(Element e, String childElementName, String attributeName)
public void destroy()
public static void main(String[] args) throws Exception
Exception
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |