| java.lang.Object org.apache.commons.jxpath.ri.model.NodePointer org.apache.commons.jxpath.ri.model.beans.PropertyOwnerPointer
All known Subclasses: org.apache.commons.jxpath.ri.model.beans.BeanPointer, org.apache.commons.jxpath.ri.model.beans.NullPointer, org.apache.commons.jxpath.ri.model.dynamic.DynamicPointer, org.apache.commons.jxpath.ri.model.dynabeans.DynaBeanPointer,
PropertyOwnerPointer | abstract public class PropertyOwnerPointer extends NodePointer (Code) | | A pointer describing a node that has properties, each of which could be
a collection.
author: Dmitri Plotnikov version: $Revision: 1.19 $ $Date: 2004/04/04 22:06:36 $ |
isDynamicPropertyDeclarationSupported | public boolean isDynamicPropertyDeclarationSupported()(Code) | | true if the property owner can set a property "does not exist".A good example is a Map. You can always assign a value to anykey even if it has never been "declared". |
remove | public void remove()(Code) | | If this is a root node pointer, throws an exception; otherwise
forwards the call to the parent node.
|
setIndex | public void setIndex(int index)(Code) | | |
setValue | public void setValue(Object value)(Code) | | Throws an exception if you try to change the root element, otherwise
forwards the call to the parent pointer.
|
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)
|
|
|