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 boolean
booleanValueOf(String path, Base base)
Deprecated.Return a boolean representation of the specified Pathboolean
booleanValueOf(String path, Base base, Map<String,String> namespaces)
Deprecated.Return a boolean representation of the specified Path using the specified Namespaces mappingObject
evaluate(String path, Base base)
Deprecated.Evaluate the specified XPath and return it's valueObject
evaluate(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 NamespacesNumber
numericValueOf(String path, Base base)
Deprecated.Return a numeric representation of the specified PathNumber
numericValueOf(String path, Base base, Map<String,String> namespaces)
Deprecated.Return a numeric representation of the specified Path using the specified Namespaces mappingList
selectNodes(String path, Base base)
Deprecated.Return a listing of nodes matching the specified PathList
selectNodes(String path, Base base, Map<String,String> namespaces)
Deprecated.Return a listing of nodes matching the specified Path using the specified Namespaces mappingObject
selectSingleNode(String path, Base base)
Deprecated.Return the first node matching the specified PathObject
selectSingleNode(String path, Base base, Map<String,String> namespaces)
Deprecated.Return a the first node matching the specified Path using the specified Namespaces mappingString
valueOf(String path, Base base)
Deprecated.Return the text value of the specified PathString
valueOf(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
-
-