public abstract class SpinXPathQuery extends Object
| Constructor and Description |
|---|
SpinXPathQuery() |
| Modifier and Type | Method and Description |
|---|---|
abstract SpinXmlAttribute |
attribute()
Returns the XPath query result as attribute.
|
abstract SpinList<SpinXmlAttribute> |
attributeList()
Returns the XPath query result as a attribute list.
|
abstract Boolean |
bool()
Returns the XPath query result as a boolean.
|
abstract SpinXmlElement |
element()
Returns the XPath query result as element.
|
abstract SpinList<SpinXmlElement> |
elementList()
Returns the XPath query result as a element list.
|
abstract SpinXPathQuery |
ns(Map<String,String> namespaces)
Maps a map of prefix, uri pairs to namespaces
|
abstract SpinXPathQuery |
ns(String prefix,
String namespace)
Maps a prefix, uri pair to a namespace.
|
abstract Double |
number()
Returns the XPath query result as a double.
|
abstract String |
string()
Returns the XPath query result as a string.
|
public abstract SpinXmlElement element()
public abstract SpinList<SpinXmlElement> elementList()
public abstract SpinXmlAttribute attribute()
public abstract SpinList<SpinXmlAttribute> attributeList()
public abstract String string()
public abstract Double number()
public abstract Boolean bool()
public abstract SpinXPathQuery ns(String prefix, String namespace)
prefix - prefix for the namespace.namespace - uri of the namespacepublic abstract SpinXPathQuery ns(Map<String,String> namespaces)
namespaces - Map of the prefix, uri pairs.Copyright © 2014–2020 Camunda Services GmbH. All rights reserved.