|
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.ndr.reader.NdrResponseReader
public class NdrResponseReader
Base Class for reading NDR responses to requests that return handle lists, such as "List" and "Find" requests. To read responses for requests that return NDRObjects, use NdrObjectReader.
Field Summary | |
---|---|
protected Document |
doc
NOT YET DOCUMENTED |
protected List |
handleList
NOT YET DOCUMENTED |
protected InfoXML |
infoXML
NOT YET DOCUMENTED |
Constructor Summary | |
---|---|
NdrResponseReader(InfoXML infoXML)
Constructor for the NdrResponseReader object |
Method Summary | |
---|---|
List |
getHandleList()
Gets the handle attribute of the NdrResponseReader object |
protected Node |
getNode(String xpath)
Gets a single Node satisfying give XPath. |
protected List |
getNodes(String xpath)
Get all Nodes satisfying the given xpath. |
protected String |
getNodeText(String xpath)
return the Text of a Node satisfying the given XPath. |
static void |
main(String[] args)
The main program for the NdrResponseReader class |
protected static void |
pp(Node node)
Prints a dom4j.Node as formatted string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected InfoXML infoXML
protected Document doc
protected List handleList
Constructor Detail |
---|
public NdrResponseReader(InfoXML infoXML) throws Exception
infoXML
- NOT YET DOCUMENTED
Exception
- NOT YET DOCUMENTEDMethod Detail |
---|
public List getHandleList() throws Exception
Exception
- NOT YET DOCUMENTEDpublic static void main(String[] args)
args
- The command line argumentsprotected List getNodes(String xpath)
xpath
- an XPath
protected Node getNode(String xpath)
xpath
- an XPath
protected String getNodeText(String xpath)
xpath
- an XPath\
protected static void pp(Node node)
node
- NOT YET DOCUMENTED
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |