Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jaxen.DefaultNavigator
org.jaxen.jdom.DocumentNavigator
XPath
Nested Class Summary | |
private static class |
|
Field Summary | |
private static long |
Method Summary | |
Iterator |
|
Iterator |
|
String |
|
String |
|
String |
|
String |
|
Iterator |
|
Iterator |
|
String |
|
Object |
|
Object |
|
String |
|
String |
|
String |
|
String |
|
static Navigator | |
Iterator |
|
String |
|
String |
|
Iterator |
|
String |
|
String |
|
String |
|
boolean |
|
boolean |
|
boolean |
|
boolean |
|
boolean |
|
boolean |
|
boolean |
|
XPath |
|
String |
|
public Iterator getAttributeAxisIterator(Object contextNode)
- Specified by:
- getAttributeAxisIterator in interface Navigator
- Overrides:
- getAttributeAxisIterator in interface DefaultNavigator
public Iterator getAttributeAxisIterator(Object contextNode, String localName, String namespacePrefix, String namespaceURI)
Retrieves anIterator
over the attribute elements that match the supplied name.
- Specified by:
- getAttributeAxisIterator in interface NamedAccessNavigator
- Parameters:
contextNode
- the origin context nodelocalName
- the local name of the attributes to return, always presentnamespacePrefix
- the prefix of the namespace of the attributes to returnnamespaceURI
- the URI of the namespace of the attributes to return
- Returns:
- an Iterator that traverses the named attributes, not null
public String getAttributeName(Object obj)
- Specified by:
- getAttributeName in interface Navigator
public String getAttributeNamespaceUri(Object obj)
- Specified by:
- getAttributeNamespaceUri in interface Navigator
public String getAttributeQName(Object obj)
- Specified by:
- getAttributeQName in interface Navigator
public String getAttributeStringValue(Object obj)
- Specified by:
- getAttributeStringValue in interface Navigator
public Iterator getChildAxisIterator(Object contextNode)
- Specified by:
- getChildAxisIterator in interface Navigator
- Overrides:
- getChildAxisIterator in interface DefaultNavigator
public Iterator getChildAxisIterator(Object contextNode, String localName, String namespacePrefix, String namespaceURI)
Retrieves anIterator
over the child elements that match the supplied local name and namespace URI.
- Specified by:
- getChildAxisIterator in interface NamedAccessNavigator
- Parameters:
contextNode
- the origin context nodelocalName
- the local name of the children to return, always presentnamespacePrefix
- ignored; prefixes are not used when matching in XPathnamespaceURI
- the URI of the namespace of the children to return
- Returns:
- an Iterator that traverses the named children, or null if none
public String getCommentStringValue(Object obj)
- Specified by:
- getCommentStringValue in interface Navigator
public Object getDocument(String url) throws FunctionCallException
- Specified by:
- getDocument in interface Navigator
- Overrides:
- getDocument in interface DefaultNavigator
public Object getDocumentNode(Object contextNode)
- Specified by:
- getDocumentNode in interface Navigator
- Overrides:
- getDocumentNode in interface DefaultNavigator
public String getElementName(Object obj)
- Specified by:
- getElementName in interface Navigator
public String getElementNamespaceUri(Object obj)
- Specified by:
- getElementNamespaceUri in interface Navigator
public String getElementQName(Object obj)
- Specified by:
- getElementQName in interface Navigator
public String getElementStringValue(Object obj)
- Specified by:
- getElementStringValue in interface Navigator
public Iterator getNamespaceAxisIterator(Object contextNode)
- Specified by:
- getNamespaceAxisIterator in interface Navigator
- Overrides:
- getNamespaceAxisIterator in interface DefaultNavigator
public String getNamespacePrefix(Object obj)
- Specified by:
- getNamespacePrefix in interface Navigator
public String getNamespaceStringValue(Object obj)
- Specified by:
- getNamespaceStringValue in interface Navigator
public Iterator getParentAxisIterator(Object contextNode)
- Specified by:
- getParentAxisIterator in interface Navigator
- Overrides:
- getParentAxisIterator in interface DefaultNavigator
public String getProcessingInstructionData(Object obj)
- Specified by:
- getProcessingInstructionData in interface Navigator
- Overrides:
- getProcessingInstructionData in interface DefaultNavigator
public String getProcessingInstructionTarget(Object obj)
- Specified by:
- getProcessingInstructionTarget in interface Navigator
- Overrides:
- getProcessingInstructionTarget in interface DefaultNavigator
public String getTextStringValue(Object obj)
- Specified by:
- getTextStringValue in interface Navigator
public boolean isProcessingInstruction(Object obj)
- Specified by:
- isProcessingInstruction in interface Navigator
public XPath parseXPath(String xpath) throws SAXPathException
Returns a parsed form of the given XPath string, which will be suitable for queries on JDOM documents.
- Specified by:
- parseXPath in interface Navigator
public String translateNamespacePrefixToUri(String prefix, Object context)
- Specified by:
- translateNamespacePrefixToUri in interface Navigator
- Overrides:
- translateNamespacePrefixToUri in interface DefaultNavigator