| java.lang.Object org.apache.commons.jxpath.ri.model.NodePointer org.apache.commons.jxpath.ri.model.dom.DOMNodePointer
DOMNodePointer | public class DOMNodePointer extends NodePointer (Code) | | A Pointer that points to a DOM node.
author: Dmitri Plotnikov version: $Revision: 1.24 $ $Date: 2004/06/29 22:58:17 $ |
Method Summary | |
public String | asPath() | public NodeIterator | attributeIterator(QName name) | public NodeIterator | childIterator(NodeTest test, boolean reverse, NodePointer startWith) | public int | compareChildNodePointers(NodePointer pointer1, NodePointer pointer2) | public NodePointer | createAttribute(JXPathContext context, QName name) | public NodePointer | createChild(JXPathContext context, QName name, int index) | public NodePointer | createChild(JXPathContext context, QName name, int index, Object value) | public boolean | equals(Object object) | public Object | getBaseValue() | public String | getDefaultNamespaceURI() | public Object | getImmediateNode() | protected String | getLanguage() | public int | getLength() | public static String | getLocalName(Node node) | public QName | getName() | public String | getNamespaceURI() | public String | getNamespaceURI(String prefix) | public static String | getNamespaceURI(Node node) | public Pointer | getPointerByID(JXPathContext context, String id) Locates a node by ID. | public static String | getPrefix(Node node) | public Object | getValue() | public int | hashCode() | public boolean | isActual() | public boolean | isCollection() | public boolean | isLanguage(String lang) Returns true if the xml:lang attribute for the current node
or its parent has the specified prefix lang. | public boolean | isLeaf() | public NodeIterator | namespaceIterator() | public NodePointer | namespacePointer(String prefix) | public void | remove() | public void | setValue(Object value) Sets contents of the node to the specified value. | public boolean | testNode(NodeTest test) | public static boolean | testNode(Node node, NodeTest test) |
XMLNS_NAMESPACE_URI | final public static String XMLNS_NAMESPACE_URI(Code) | | |
XML_NAMESPACE_URI | final public static String XML_NAMESPACE_URI(Code) | | |
getDefaultNamespaceURI | public String getDefaultNamespaceURI()(Code) | | |
getLength | public int getLength()(Code) | | |
hashCode | public int hashCode()(Code) | | |
isActual | public boolean isActual()(Code) | | |
isCollection | public boolean isCollection()(Code) | | |
isLanguage | public boolean isLanguage(String lang)(Code) | | Returns true if the xml:lang attribute for the current node
or its parent has the specified prefix lang.
If no node has this prefix, calls super.isLanguage(lang) .
|
isLeaf | public boolean isLeaf()(Code) | | |
remove | public void remove()(Code) | | |
setValue | public void setValue(Object value)(Code) | | Sets contents of the node to the specified value. If the value is
a String, the contents of the node are replaced with this text.
If the value is an Element or Document, the children of the
node are replaced with the children of the passed node.
|
Methods inherited from org.apache.commons.jxpath.ri.model.NodePointer | public String asPath()(Code)(Java Doc) public NodeIterator attributeIterator(QName qname)(Code)(Java Doc) public NodeIterator childIterator(NodeTest test, boolean reverse, NodePointer startWith)(Code)(Java Doc) public Object clone()(Code)(Java Doc) abstract public int compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)(Code)(Java Doc) public int compareTo(Object object)(Code)(Java Doc) public NodePointer createAttribute(JXPathContext context, QName name)(Code)(Java Doc) public NodePointer createChild(JXPathContext context, QName name, int index, Object value)(Code)(Java Doc) public NodePointer createChild(JXPathContext context, QName name, int index)(Code)(Java Doc) public NodePointer createPath(JXPathContext context, Object value)(Code)(Java Doc) public NodePointer createPath(JXPathContext context)(Code)(Java Doc) abstract public Object getBaseValue()(Code)(Java Doc) protected String getDefaultNamespaceURI()(Code)(Java Doc) abstract public Object getImmediateNode()(Code)(Java Doc) public NodePointer getImmediateParentPointer()(Code)(Java Doc) public NodePointer getImmediateValuePointer()(Code)(Java Doc) public int getIndex()(Code)(Java Doc) abstract public int getLength()(Code)(Java Doc) public Locale getLocale()(Code)(Java Doc) abstract public QName getName()(Code)(Java Doc) public NamespaceResolver getNamespaceResolver()(Code)(Java Doc) public String getNamespaceURI(String prefix)(Code)(Java Doc) public String getNamespaceURI()(Code)(Java Doc) public Object getNode()(Code)(Java Doc) public Object getNodeValue()(Code)(Java Doc) public NodePointer getParent()(Code)(Java Doc) public Pointer getPointerByID(JXPathContext context, String id)(Code)(Java Doc) public Pointer getPointerByKey(JXPathContext context, String key, String value)(Code)(Java Doc) public Object getRootNode()(Code)(Java Doc) public Object getValue()(Code)(Java Doc) public NodePointer getValuePointer()(Code)(Java Doc) public boolean isActual()(Code)(Java Doc) public boolean isAttribute()(Code)(Java Doc) abstract public boolean isCollection()(Code)(Java Doc) public boolean isContainer()(Code)(Java Doc) protected boolean isDefaultNamespace(String prefix)(Code)(Java Doc) public boolean isLanguage(String lang)(Code)(Java Doc) abstract public boolean isLeaf()(Code)(Java Doc) public boolean isNode()(Code)(Java Doc) public boolean isRoot()(Code)(Java Doc) public NodeIterator namespaceIterator()(Code)(Java Doc) public NodePointer namespacePointer(String namespace)(Code)(Java Doc) public static NodePointer newChildNodePointer(NodePointer parent, QName name, Object bean)(Code)(Java Doc) public static NodePointer newNodePointer(QName name, Object bean, Locale locale)(Code)(Java Doc) public void printPointerChain()(Code)(Java Doc) public void remove()(Code)(Java Doc) public void setAttribute(boolean attribute)(Code)(Java Doc) public void setIndex(int index)(Code)(Java Doc) public void setNamespaceResolver(NamespaceResolver namespaceResolver)(Code)(Java Doc) abstract public void setValue(Object value)(Code)(Java Doc) public boolean testNode(NodeTest test)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|