Class DomXPathQuery
java.lang.Object
org.camunda.spin.xml.SpinXPathQuery
org.camunda.spin.impl.xml.dom.query.DomXPathQuery
- Author:
- Sebastian Menski
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final DomXmlDataFormatprotected final DomXmlElementprotected final Stringprotected final XPathprotected DomXPathNamespaceResolver
- 
Constructor SummaryConstructorsConstructorDescriptionDomXPathQuery(DomXmlElement domElement, XPath query, String expression, DomXmlDataFormat dataFormat) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the XPath query result as attribute.Returns the XPath query result as a attribute list.bool()Returns the XPath query result as a boolean.element()Returns the XPath query result as element.Returns the XPath query result as a element list.Maps a prefix, uri pair to a namespace.Maps a map of prefix, uri pairs to namespacesnumber()Returns the XPath query result as a double.string()Returns the XPath query result as a string.
- 
Field Details- 
domElement
- 
query
- 
expression
- 
dataFormat
- 
resolver
 
- 
- 
Constructor Details- 
DomXPathQuerypublic DomXPathQuery(DomXmlElement domElement, XPath query, String expression, DomXmlDataFormat dataFormat) 
 
- 
- 
Method Details- 
elementDescription copied from class:SpinXPathQueryReturns the XPath query result as element.- Specified by:
- elementin class- SpinXPathQuery
- Returns:
- the wrapped XML element
 
- 
elementListDescription copied from class:SpinXPathQueryReturns the XPath query result as a element list.- Specified by:
- elementListin class- SpinXPathQuery
- Returns:
- the wrapped XML element list
 
- 
attributeDescription copied from class:SpinXPathQueryReturns the XPath query result as attribute.- Specified by:
- attributein class- SpinXPathQuery
- Returns:
- the wrapped XML attribute
 
- 
attributeListDescription copied from class:SpinXPathQueryReturns the XPath query result as a attribute list.- Specified by:
- attributeListin class- SpinXPathQuery
- Returns:
- the wrapped XML attribute list
 
- 
stringDescription copied from class:SpinXPathQueryReturns the XPath query result as a string.- Specified by:
- stringin class- SpinXPathQuery
- Returns:
- the string result
 
- 
numberDescription copied from class:SpinXPathQueryReturns the XPath query result as a double.- Specified by:
- numberin class- SpinXPathQuery
- Returns:
- the double result
 
- 
boolDescription copied from class:SpinXPathQueryReturns the XPath query result as a boolean.- Specified by:
- boolin class- SpinXPathQuery
- Returns:
- the boolean result
 
- 
nsDescription copied from class:SpinXPathQueryMaps a prefix, uri pair to a namespace.- Specified by:
- nsin class- SpinXPathQuery
- Parameters:
- prefix- prefix for the namespace.
- namespace- uri of the namespace
- Returns:
- itself
 
- 
nsDescription copied from class:SpinXPathQueryMaps a map of prefix, uri pairs to namespaces- Specified by:
- nsin class- SpinXPathQuery
- Parameters:
- namespaces- Map of the prefix, uri pairs.
- Returns:
- itself
 
 
-