Package org.apache.abdera.util
Class AbstractXPath
- java.lang.Object
-
- org.apache.abdera.util.AbstractXPath
-
- All Implemented Interfaces:
XPath
@Deprecated(since="2021-07-29") public abstract class AbstractXPath extends Object implements XPath
Deprecated.This API is deprecated as Apache Abdera is a retired project since 2017.Abstract base implementation of XPath
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanbooleanValueOf(String path, Base base)Deprecated.Return a boolean representation of the specified PathObjectevaluate(String path, Base base)Deprecated.Evaluate the specified XPath and return it's valueMap<String,String>getDefaultNamespaces()Deprecated.Return the default mapping of Prefixes to XML NamespacesNumbernumericValueOf(String path, Base base)Deprecated.Return a numeric representation of the specified PathListselectNodes(String path, Base base)Deprecated.Return a listing of nodes matching the specified PathObjectselectSingleNode(String path, Base base)Deprecated.Return the first node matching the specified PathStringvalueOf(String path, Base base)Deprecated.Return the text value of the specified Path-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.abdera.xpath.XPath
booleanValueOf, evaluate, numericValueOf, selectNodes, selectSingleNode, valueOf
-
-
-
-
Method Detail
-
getDefaultNamespaces
public Map<String,String> getDefaultNamespaces()
Deprecated.Description copied from interface:XPathReturn the default mapping of Prefixes to XML Namespaces- Specified by:
getDefaultNamespacesin interfaceXPath
-
selectNodes
public List selectNodes(String path, Base base) throws XPathException
Deprecated.Description copied from interface:XPathReturn a listing of nodes matching the specified Path- Specified by:
selectNodesin interfaceXPath- Throws:
XPathException
-
selectSingleNode
public Object selectSingleNode(String path, Base base) throws XPathException
Deprecated.Description copied from interface:XPathReturn the first node matching the specified Path- Specified by:
selectSingleNodein interfaceXPath- Throws:
XPathException
-
evaluate
public Object evaluate(String path, Base base) throws XPathException
Deprecated.Description copied from interface:XPathEvaluate the specified XPath and return it's value- Specified by:
evaluatein interfaceXPath- Throws:
XPathException
-
valueOf
public String valueOf(String path, Base base) throws XPathException
Deprecated.Description copied from interface:XPathReturn the text value of the specified Path- Specified by:
valueOfin interfaceXPath- Throws:
XPathException
-
booleanValueOf
public boolean booleanValueOf(String path, Base base) throws XPathException
Deprecated.Description copied from interface:XPathReturn a boolean representation of the specified Path- Specified by:
booleanValueOfin interfaceXPath- Throws:
XPathException
-
numericValueOf
public Number numericValueOf(String path, Base base) throws XPathException
Deprecated.Description copied from interface:XPathReturn a numeric representation of the specified Path- Specified by:
numericValueOfin interfaceXPath- Throws:
XPathException
-
-