com.ricebridge.xmlman.in
Class XmlManNavigator

java.lang.Object
  extended bycom.ricebridge.xmlman.tp.DefaultNavigator
      extended bycom.ricebridge.xmlman.in.XmlManNavigator
All Implemented Interfaces:
com.ricebridge.xmlman.tp.Navigator, Serializable

public class XmlManNavigator
extends com.ricebridge.xmlman.tp.DefaultNavigator

XML Manager Navigator for Jaxen.

See Also:
Serialized Form

Nested Class Summary
 class XmlManNavigator.NoneIterator
          An empty Iterator.
 
Constructor Summary
XmlManNavigator()
           
 
Method Summary
 Iterator getAncestorAxisIterator(Object contextNode)
          Return standard Jaxen XmlManNavigator.NoneIterator for this axis.
 Iterator getAncestorOrSelfAxisIterator(Object contextNode)
          Return standard Jaxen XmlManNavigator.NoneIterator for this axis.
 Iterator getAttributeAxisIterator(Object contextNode)
          Return no elements.
 String getAttributeName(Object attr)
          Return empty String.
 String getAttributeNamespaceUri(Object attr)
          Return empty String.
 String getAttributeQName(Object attr)
          Return empty String.
 String getAttributeStringValue(Object attr)
          Return empty String.
 Iterator getChildAxisIterator(Object contextNode)
          Return no elements.
 String getCommentStringValue(Object comment)
          Return empty String.
 Iterator getDescendantAxisIterator(Object contextNode)
          Return standard Jaxen XmlManNavigator.NoneIterator for this axis.
 Iterator getDescendantOrSelfAxisIterator(Object contextNode)
          Return standard Jaxen XmlManNavigator.NoneIterator for this axis.
 String getElementName(Object pElement)
          Get value from TreeNode.
 String getElementNamespaceUri(Object pElement)
          Get value from TreeNode.
 String getElementQName(Object pElement)
          Get value from TreeNode.
 String getElementStringValue(Object pElement)
          Call toString method, or empty String if null.
 Iterator getFollowingAxisIterator(Object contextNode)
          Return standard Jaxen XmlManNavigator.NoneIterator for this axis.
 Iterator getFollowingSiblingAxisIterator(Object contextNode)
          Return standard Jaxen XmlManNavigator.NoneIterator for this axis.
 Iterator getNamespaceAxisIterator(Object contextNode)
          Return no elements.
 String getNamespacePrefix(Object ns)
          Return empty String.
 String getNamespaceStringValue(Object ns)
          Return empty String.
 Iterator getParentAxisIterator(Object contextNode)
          Return no elements.
 Iterator getPrecedingAxisIterator(Object contextNode)
          Return standard Jaxen XmlManNavigator.NoneIterator for this axis.
 Iterator getPrecedingSiblingAxisIterator(Object contextNode)
          Return standard Jaxen XmlManNavigator.NoneIterator for this axis.
 Iterator getSelfAxisIterator(Object contextNode)
          Return standard Jaxen XmlManNavigator.NoneIterator for this axis.
 String getTextStringValue(Object txt)
          Return empty String.
 boolean isAttribute(Object object)
          Return false.
 boolean isComment(Object object)
          Return false.
 boolean isDocument(Object object)
          Return false.
 boolean isElement(Object pObject)
          True if TreeNode.
 boolean isNamespace(Object object)
          Return false.
 boolean isProcessingInstruction(Object object)
          Return false.
 boolean isText(Object object)
          Return false.
 com.ricebridge.xmlman.tp.XPath parseXPath(String pPathString)
          Use Jaxen BaseXPath object to parse.
 
Methods inherited from class com.ricebridge.xmlman.tp.DefaultNavigator
getDocument, getDocumentNode, getElementById, getNodeType, getParentNode, getProcessingInstructionData, getProcessingInstructionTarget, translateNamespacePrefixToUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlManNavigator

public XmlManNavigator()
Method Detail

getElementNamespaceUri

public String getElementNamespaceUri(Object pElement)
Get value from TreeNode.


getElementName

public String getElementName(Object pElement)
Get value from TreeNode.


getElementQName

public String getElementQName(Object pElement)
Get value from TreeNode.


getAttributeNamespaceUri

public String getAttributeNamespaceUri(Object attr)
Return empty String.


getAttributeName

public String getAttributeName(Object attr)
Return empty String.


getAttributeQName

public String getAttributeQName(Object attr)
Return empty String.


isDocument

public boolean isDocument(Object object)
Return false.


isElement

public boolean isElement(Object pObject)
True if TreeNode.


isAttribute

public boolean isAttribute(Object object)
Return false.


isNamespace

public boolean isNamespace(Object object)
Return false.


isComment

public boolean isComment(Object object)
Return false.


isText

public boolean isText(Object object)
Return false.


isProcessingInstruction

public boolean isProcessingInstruction(Object object)
Return false.


getCommentStringValue

public String getCommentStringValue(Object comment)
Return empty String.


getElementStringValue

public String getElementStringValue(Object pElement)
Call toString method, or empty String if null.


getAttributeStringValue

public String getAttributeStringValue(Object attr)
Return empty String.


getNamespaceStringValue

public String getNamespaceStringValue(Object ns)
Return empty String.


getTextStringValue

public String getTextStringValue(Object txt)
Return empty String.


getNamespacePrefix

public String getNamespacePrefix(Object ns)
Return empty String.


getChildAxisIterator

public Iterator getChildAxisIterator(Object contextNode)
                              throws com.ricebridge.xmlman.tp.UnsupportedAxisException
Return no elements.

Throws:
com.ricebridge.xmlman.tp.UnsupportedAxisException

getDescendantAxisIterator

public Iterator getDescendantAxisIterator(Object contextNode)
                                   throws com.ricebridge.xmlman.tp.UnsupportedAxisException
Return standard Jaxen XmlManNavigator.NoneIterator for this axis.

Throws:
com.ricebridge.xmlman.tp.UnsupportedAxisException

getParentAxisIterator

public Iterator getParentAxisIterator(Object contextNode)
                               throws com.ricebridge.xmlman.tp.UnsupportedAxisException
Return no elements.

Throws:
com.ricebridge.xmlman.tp.UnsupportedAxisException

getAncestorAxisIterator

public Iterator getAncestorAxisIterator(Object contextNode)
                                 throws com.ricebridge.xmlman.tp.UnsupportedAxisException
Return standard Jaxen XmlManNavigator.NoneIterator for this axis.

Throws:
com.ricebridge.xmlman.tp.UnsupportedAxisException

getFollowingSiblingAxisIterator

public Iterator getFollowingSiblingAxisIterator(Object contextNode)
                                         throws com.ricebridge.xmlman.tp.UnsupportedAxisException
Return standard Jaxen XmlManNavigator.NoneIterator for this axis.

Throws:
com.ricebridge.xmlman.tp.UnsupportedAxisException

getPrecedingSiblingAxisIterator

public Iterator getPrecedingSiblingAxisIterator(Object contextNode)
                                         throws com.ricebridge.xmlman.tp.UnsupportedAxisException
Return standard Jaxen XmlManNavigator.NoneIterator for this axis.

Throws:
com.ricebridge.xmlman.tp.UnsupportedAxisException

getFollowingAxisIterator

public Iterator getFollowingAxisIterator(Object contextNode)
                                  throws com.ricebridge.xmlman.tp.UnsupportedAxisException
Return standard Jaxen XmlManNavigator.NoneIterator for this axis.

Throws:
com.ricebridge.xmlman.tp.UnsupportedAxisException

getPrecedingAxisIterator

public Iterator getPrecedingAxisIterator(Object contextNode)
                                  throws com.ricebridge.xmlman.tp.UnsupportedAxisException
Return standard Jaxen XmlManNavigator.NoneIterator for this axis.

Throws:
com.ricebridge.xmlman.tp.UnsupportedAxisException

getAttributeAxisIterator

public Iterator getAttributeAxisIterator(Object contextNode)
                                  throws com.ricebridge.xmlman.tp.UnsupportedAxisException
Return no elements.

Throws:
com.ricebridge.xmlman.tp.UnsupportedAxisException

getNamespaceAxisIterator

public Iterator getNamespaceAxisIterator(Object contextNode)
                                  throws com.ricebridge.xmlman.tp.UnsupportedAxisException
Return no elements.

Throws:
com.ricebridge.xmlman.tp.UnsupportedAxisException

getSelfAxisIterator

public Iterator getSelfAxisIterator(Object contextNode)
                             throws com.ricebridge.xmlman.tp.UnsupportedAxisException
Return standard Jaxen XmlManNavigator.NoneIterator for this axis.

Throws:
com.ricebridge.xmlman.tp.UnsupportedAxisException

getDescendantOrSelfAxisIterator

public Iterator getDescendantOrSelfAxisIterator(Object contextNode)
                                         throws com.ricebridge.xmlman.tp.UnsupportedAxisException
Return standard Jaxen XmlManNavigator.NoneIterator for this axis.

Throws:
com.ricebridge.xmlman.tp.UnsupportedAxisException

getAncestorOrSelfAxisIterator

public Iterator getAncestorOrSelfAxisIterator(Object contextNode)
                                       throws com.ricebridge.xmlman.tp.UnsupportedAxisException
Return standard Jaxen XmlManNavigator.NoneIterator for this axis.

Throws:
com.ricebridge.xmlman.tp.UnsupportedAxisException

parseXPath

public com.ricebridge.xmlman.tp.XPath parseXPath(String pPathString)
                                          throws com.ricebridge.xmlman.tp.saxpath.SAXPathException
Use Jaxen BaseXPath object to parse.

Throws:
com.ricebridge.xmlman.tp.saxpath.SAXPathException


Copyright © 2004-2005 Ricebridge