Package org.camunda.spin.xml
Class SpinXPathQuery
java.lang.Object
org.camunda.spin.xml.SpinXPathQuery
- Direct Known Subclasses:
- DomXPathQuery
- Author:
- Sebastian Menski
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract SpinXmlAttributeReturns the XPath query result as attribute.abstract SpinList<SpinXmlAttribute>Returns the XPath query result as a attribute list.abstract Booleanbool()Returns the XPath query result as a boolean.abstract SpinXmlElementelement()Returns the XPath query result as element.abstract SpinList<SpinXmlElement>Returns the XPath query result as a element list.abstract SpinXPathQueryMaps a prefix, uri pair to a namespace.abstract SpinXPathQueryMaps a map of prefix, uri pairs to namespacesabstract Doublenumber()Returns the XPath query result as a double.abstract Stringstring()Returns the XPath query result as a string.
- 
Constructor Details- 
SpinXPathQuerypublic SpinXPathQuery()
 
- 
- 
Method Details- 
elementReturns the XPath query result as element.- Returns:
- the wrapped XML element
 
- 
elementListReturns the XPath query result as a element list.- Returns:
- the wrapped XML element list
 
- 
attributeReturns the XPath query result as attribute.- Returns:
- the wrapped XML attribute
 
- 
attributeListReturns the XPath query result as a attribute list.- Returns:
- the wrapped XML attribute list
 
- 
stringReturns the XPath query result as a string.- Returns:
- the string result
 
- 
numberReturns the XPath query result as a double.- Returns:
- the double result
 
- 
boolReturns the XPath query result as a boolean.- Returns:
- the boolean result
 
- 
nsMaps a prefix, uri pair to a namespace.- Parameters:
- prefix- prefix for the namespace.
- namespace- uri of the namespace
- Returns:
- itself
 
- 
nsMaps a map of prefix, uri pairs to namespaces- Parameters:
- namespaces- Map of the prefix, uri pairs.
- Returns:
- itself
 
 
-