|
|||||||||
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(java.util.Map<java.lang.String,java.lang.String> defaultNamespaces)
|
Method Summary | |
---|---|
boolean |
booleanValueOf(java.lang.String path,
Base base)
Return a boolean representation of the specified Path |
java.lang.Object |
evaluate(java.lang.String path,
Base base)
Evaluate the specified XPath and return it's value |
java.util.Map<java.lang.String,java.lang.String> |
getDefaultNamespaces()
Return the default mapping of Prefixes to XML Namespaces |
protected java.util.Map<java.lang.String,java.lang.String> |
initDefaultNamespaces()
|
java.lang.Number |
numericValueOf(java.lang.String path,
Base base)
Return a numeric representation of the specified Path |
java.util.List |
selectNodes(java.lang.String path,
Base base)
Return a listing of nodes matching the specified Path |
java.lang.Object |
selectSingleNode(java.lang.String path,
Base base)
Return the first node matching the specified Path |
java.lang.String |
valueOf(java.lang.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(java.util.Map<java.lang.String,java.lang.String> defaultNamespaces)
Method Detail |
---|
protected java.util.Map<java.lang.String,java.lang.String> initDefaultNamespaces()
public java.util.Map<java.lang.String,java.lang.String> getDefaultNamespaces()
XPath
getDefaultNamespaces
in interface XPath
public java.util.List selectNodes(java.lang.String path, Base base) throws XPathException
XPath
selectNodes
in interface XPath
XPathException
public java.lang.Object selectSingleNode(java.lang.String path, Base base) throws XPathException
XPath
selectSingleNode
in interface XPath
XPathException
public java.lang.Object evaluate(java.lang.String path, Base base) throws XPathException
XPath
evaluate
in interface XPath
XPathException
public java.lang.String valueOf(java.lang.String path, Base base) throws XPathException
XPath
valueOf
in interface XPath
XPathException
public boolean booleanValueOf(java.lang.String path, Base base) throws XPathException
XPath
booleanValueOf
in interface XPath
XPathException
public java.lang.Number numericValueOf(java.lang.String path, Base base) throws XPathException
XPath
numericValueOf
in interface XPath
XPathException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |