|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.abdera.util.AbstractXPath
public abstract class AbstractXPath
Abstract base implementation of XPath
| Constructor Summary | |
|---|---|
protected |
AbstractXPath()
|
protected |
AbstractXPath(Map<String,String> defaultNamespaces)
|
| Method Summary | |
|---|---|
boolean |
booleanValueOf(String path,
Base base)
Return a boolean representation of the specified Path |
Object |
evaluate(String path,
Base base)
Evaluate the specified XPath and return it's value |
Map<String,String> |
getDefaultNamespaces()
Return the default mapping of Prefixes to XML Namespaces |
protected Map<String,String> |
initDefaultNamespaces()
|
Number |
numericValueOf(String path,
Base base)
Return a numeric representation of the specified Path |
List |
selectNodes(String path,
Base base)
Return a listing of nodes matching the specified Path |
Object |
selectSingleNode(String path,
Base base)
Return the first node matching the specified Path |
String |
valueOf(String path,
Base base)
Return the text value of the specified Path |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.abdera.xpath.XPath |
|---|
booleanValueOf, evaluate, numericValueOf, selectNodes, selectSingleNode, valueOf |
| Constructor Detail |
|---|
protected AbstractXPath()
protected AbstractXPath(Map<String,String> defaultNamespaces)
| Method Detail |
|---|
protected Map<String,String> initDefaultNamespaces()
public Map<String,String> getDefaultNamespaces()
XPath
getDefaultNamespaces in interface XPath
public List selectNodes(String path,
Base base)
throws XPathException
XPath
selectNodes in interface XPathXPathException
public Object selectSingleNode(String path,
Base base)
throws XPathException
XPath
selectSingleNode in interface XPathXPathException
public Object evaluate(String path,
Base base)
throws XPathException
XPath
evaluate in interface XPathXPathException
public String valueOf(String path,
Base base)
throws XPathException
XPath
valueOf in interface XPathXPathException
public boolean booleanValueOf(String path,
Base base)
throws XPathException
XPath
booleanValueOf in interface XPathXPathException
public Number numericValueOf(String path,
Base base)
throws XPathException
XPath
numericValueOf in interface XPathXPathException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||