Package org.apache.abdera.xpath
Interface XPath
-
- All Known Implementing Classes:
AbstractXPath
@Deprecated(since="2021-07-29") public interface XPath
Deprecated.This API is deprecated as Apache Abdera is a retired project since 2017.Used to execute XPath queries over Feed Object Model instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanbooleanValueOf(String path, Base base)Deprecated.Return a boolean representation of the specified PathbooleanbooleanValueOf(String path, Base base, Map<String,String> namespaces)Deprecated.Return a boolean representation of the specified Path using the specified Namespaces mappingObjectevaluate(String path, Base base)Deprecated.Evaluate the specified XPath and return it's valueObjectevaluate(String path, Base base, Map<String,String> namespaces)Deprecated.Evaluate the specified XPath and return it's value using the specified Namespaces mappingMap<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 PathNumbernumericValueOf(String path, Base base, Map<String,String> namespaces)Deprecated.Return a numeric representation of the specified Path using the specified Namespaces mappingListselectNodes(String path, Base base)Deprecated.Return a listing of nodes matching the specified PathListselectNodes(String path, Base base, Map<String,String> namespaces)Deprecated.Return a listing of nodes matching the specified Path using the specified Namespaces mappingObjectselectSingleNode(String path, Base base)Deprecated.Return the first node matching the specified PathObjectselectSingleNode(String path, Base base, Map<String,String> namespaces)Deprecated.Return a the first node matching the specified Path using the specified Namespaces mappingStringvalueOf(String path, Base base)Deprecated.Return the text value of the specified PathStringvalueOf(String path, Base base, Map<String,String> namespaces)Deprecated.Return the text value of the specified Path using the specified Namespaces mapping
-
-
-
Method Detail
-
getDefaultNamespaces
Map<String,String> getDefaultNamespaces()
Deprecated.Return the default mapping of Prefixes to XML Namespaces
-
selectNodes
List selectNodes(String path, Base base) throws XPathException
Deprecated.Return a listing of nodes matching the specified Path- Throws:
XPathException
-
selectSingleNode
Object selectSingleNode(String path, Base base) throws XPathException
Deprecated.Return the first node matching the specified Path- Throws:
XPathException
-
evaluate
Object evaluate(String path, Base base) throws XPathException
Deprecated.Evaluate the specified XPath and return it's value- Throws:
XPathException
-
valueOf
String valueOf(String path, Base base) throws XPathException
Deprecated.Return the text value of the specified Path- Throws:
XPathException
-
booleanValueOf
boolean booleanValueOf(String path, Base base) throws XPathException
Deprecated.Return a boolean representation of the specified Path- Throws:
XPathException
-
numericValueOf
Number numericValueOf(String path, Base base) throws XPathException
Deprecated.Return a numeric representation of the specified Path- Throws:
XPathException
-
selectNodes
List selectNodes(String path, Base base, Map<String,String> namespaces) throws XPathException
Deprecated.Return a listing of nodes matching the specified Path using the specified Namespaces mapping- Throws:
XPathException
-
selectSingleNode
Object selectSingleNode(String path, Base base, Map<String,String> namespaces) throws XPathException
Deprecated.Return a the first node matching the specified Path using the specified Namespaces mapping- Throws:
XPathException
-
evaluate
Object evaluate(String path, Base base, Map<String,String> namespaces) throws XPathException
Deprecated.Evaluate the specified XPath and return it's value using the specified Namespaces mapping- Throws:
XPathException
-
valueOf
String valueOf(String path, Base base, Map<String,String> namespaces) throws XPathException
Deprecated.Return the text value of the specified Path using the specified Namespaces mapping- Throws:
XPathException
-
booleanValueOf
boolean booleanValueOf(String path, Base base, Map<String,String> namespaces) throws XPathException
Deprecated.Return a boolean representation of the specified Path using the specified Namespaces mapping- Throws:
XPathException
-
numericValueOf
Number numericValueOf(String path, Base base, Map<String,String> namespaces) throws XPathException
Deprecated.Return a numeric representation of the specified Path using the specified Namespaces mapping- Throws:
XPathException
-
-