|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceState
Represents any response document. Provides access via XPath to an part of a returned document. Can be used to access action reponses or pull responses. A wrapper for any document.
Method Summary | |
---|---|
org.w3c.dom.NodeList |
getValues(java.lang.String xPathExpression)
Returns a list of nodes that match the provided XPath criteria. |
java.lang.String |
getValueText(javax.xml.namespace.QName name,
org.w3c.dom.Node context)
|
java.lang.String |
getValueText(java.lang.String xPathExpression)
Returns the element text of the Element pointed to by the provided XPath. |
java.lang.String |
getWrappedValueText(javax.xml.namespace.QName name)
|
void |
setFieldValue(javax.xml.namespace.QName name,
java.lang.String value,
org.w3c.dom.Node context)
Sets the element text of the first element that matches QName relative to the provided dom node. |
void |
setFieldValues(java.lang.String xPathExpression,
java.lang.String value)
Sets all the text elements of the selected nodes to the value provided. |
void |
setWrappedFieldValue(javax.xml.namespace.QName name,
java.lang.String value)
Sets the element text of the specified QName to null. |
Methods inherited from interface com.sun.ws.management.ResourceStateDocument |
---|
getDocument, getFieldNames, getFieldNames, getWrappedFieldNames |
Method Detail |
---|
org.w3c.dom.NodeList getValues(java.lang.String xPathExpression) throws javax.xml.xpath.XPathExpressionException, NoMatchFoundException
getValues
in interface com.sun.ws.management.ResourceStateDocument
xPathExpression
-
javax.xml.xpath.XPathExpressionException
NoMatchFoundException
java.lang.String getValueText(java.lang.String xPathExpression) throws javax.xml.xpath.XPathExpressionException, NoMatchFoundException
getValueText
in interface com.sun.ws.management.ResourceStateDocument
xPathExpression
-
javax.xml.xpath.XPathExpressionException
NoMatchFoundException
java.lang.String getWrappedValueText(javax.xml.namespace.QName name) throws javax.xml.xpath.XPathExpressionException, NoMatchFoundException
getWrappedValueText
in interface com.sun.ws.management.ResourceStateDocument
javax.xml.xpath.XPathExpressionException
NoMatchFoundException
java.lang.String getValueText(javax.xml.namespace.QName name, org.w3c.dom.Node context) throws javax.xml.xpath.XPathExpressionException, NoMatchFoundException
getValueText
in interface com.sun.ws.management.ResourceStateDocument
javax.xml.xpath.XPathExpressionException
NoMatchFoundException
void setFieldValues(java.lang.String xPathExpression, java.lang.String value) throws javax.xml.xpath.XPathExpressionException, NoMatchFoundException
setFieldValues
in interface com.sun.ws.management.ResourceStateDocument
xPathExpression
- value
-
javax.xml.xpath.XPathExpressionException
NoMatchFoundException
void setWrappedFieldValue(javax.xml.namespace.QName name, java.lang.String value) throws NoMatchFoundException
setWrappedFieldValue
in interface com.sun.ws.management.ResourceStateDocument
name
- value
-
NoMatchFoundException
void setFieldValue(javax.xml.namespace.QName name, java.lang.String value, org.w3c.dom.Node context) throws NoMatchFoundException
setFieldValue
in interface com.sun.ws.management.ResourceStateDocument
name
- A QName of an element which is a direct decendant of the context node.value
- Text to assign to the text element of the selected elementcontext
- This value cannot be null.
NoMatchFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |