|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The document returned from method execute(XmlDocument,
XmlQueryProcessor)
of interface XmlCommandProcessor
or
method query(XmlDocument)
of interface
XmlQueryProcessor
in response to a <query>
command.
Method Summary | |
XDSInstanceElement |
appendInstanceElement()
Appends an empty, child <instance> element to this
document's <output> element. |
XDSQueryTokenElement |
appendQueryTokenElement(String someToken)
Appends an empty, child <query-token> element to this
document's <output> element. |
boolean |
containsQueryToken(String someToken)
Does this document contain a specific query token? |
boolean |
containsQueryTokenElements()
Does this document contain query token elements? |
List |
extractInstanceElements()
Returns this document's <instance> elements. |
List |
extractQueryTokenElements()
Returns this document's <query-token> elements. |
List |
extractStatusElements()
Returns this document's <status> elements. |
List |
extractStatusElements(String someID)
Returns the status elements with an event-id attribute
value equal to someID . |
XDSStatusElement |
mostSevereStatusElement(String someID)
Returns the status element with the most severe level
attribute value with an event-id attribute value equal to
someID . |
StatusLevel |
mostSevereStatusLevel(String someID)
Returns the most severe level attribute value for all
<status> elements with an event-id
attribute value equal to someID . |
Methods inherited from interface com.novell.nds.dirxml.driver.xds.ReadableDocument |
childElements, extractSourceElement, getDTDVersion |
Methods inherited from interface com.novell.nds.dirxml.driver.xds.XDSDocument |
domDocument, domIOElement, domNDSElement, isEmpty |
Methods inherited from interface com.novell.nds.dirxml.driver.xds.StatusDocument |
appendStatusElement |
Methods inherited from interface com.novell.nds.dirxml.driver.xds.WriteableDocument |
appendSourceElement, empty, toXML, validate |
Method Detail |
public XDSInstanceElement appendInstanceElement()
<instance>
element to this
document's <output>
element.
null
public XDSQueryTokenElement appendQueryTokenElement(String someToken)
<query-token>
element to this
document's <output>
element.
someToken
- the unique token for the source query of this document;
should not be null
null
public XDSStatusElement mostSevereStatusElement(String someID)
level
attribute value with an event-id
attribute value equal to
someID
.
If no matching status element is found, the status element with the most severe level is returned irrespective of event-id value.
someID
- may be null
null
public StatusLevel mostSevereStatusLevel(String someID)
level
attribute value for all
<status>
elements with an event-id
attribute value equal to someID
.
If no matching status element is found, the most severe status level is returned irrespective of event-id value. If no status info is available, StatusLevel.SUCCESS is returned.
someID
- may be null
null
public List extractInstanceElements()
<instance>
elements.
Collections.EMPTY_LIST
or a list of
XDSInstanceElement
objects; will not return
null
public List extractStatusElements(String someID)
event-id
attribute
value equal to someID
.
someID
- may be null
Collections.EMPTY_LIST
or a list of
XDSStatusElement
objects; will not return
null
public List extractStatusElements()
<status>
elements.
Collections.EMPTY_LIST
or a list of
XDSStatusElement
objects; will not return
null
public boolean containsQueryTokenElements()
true
if it does, false
otherwisepublic boolean containsQueryToken(String someToken)
someToken
- may be null
true
if it does, false
otherwisepublic List extractQueryTokenElements()
<query-token>
elements.
Collections.EMPTY_LIST
or a list of
XDSStatusElement
objects; will not return
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |