org.geotools.feature.xpath
Class AttributeNodePointer

java.lang.Object
  extended by org.apache.commons.jxpath.ri.model.NodePointer
      extended by org.geotools.feature.xpath.AttributeNodePointer
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, org.apache.commons.jxpath.Pointer

public class AttributeNodePointer
extends org.apache.commons.jxpath.ri.model.NodePointer

Special node pointer for org.geotools.feature.Feature.

Author:
Justin Deoliveira, The Open Planning Project, Gabriel Roldan, Axios Engineering
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.commons.jxpath.ri.model.NodePointer
index, locale, parent, UNKNOWN_NAMESPACE, WHOLE_COLLECTION
 
Constructor Summary
protected AttributeNodePointer(org.apache.commons.jxpath.ri.model.NodePointer parent, org.opengis.feature.Attribute feature, org.apache.commons.jxpath.ri.QName name)
           
 
Method Summary
 org.apache.commons.jxpath.ri.model.NodeIterator attributeIterator(org.apache.commons.jxpath.ri.QName qname)
           
 org.apache.commons.jxpath.ri.model.NodeIterator childIterator(org.apache.commons.jxpath.ri.compiler.NodeTest test, boolean reverse, org.apache.commons.jxpath.ri.model.NodePointer startWith)
           
 int compareChildNodePointers(org.apache.commons.jxpath.ri.model.NodePointer pointer1, org.apache.commons.jxpath.ri.model.NodePointer pointer2)
           
 java.lang.Object getBaseValue()
           
 java.lang.Object getImmediateNode()
           
 int getLength()
           
 org.apache.commons.jxpath.ri.QName getName()
           
 boolean isCollection()
           
 boolean isLeaf()
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class org.apache.commons.jxpath.ri.model.NodePointer
asPath, clone, compareTo, createAttribute, createChild, createChild, createPath, createPath, escape, getAbstractFactory, getDefaultNamespaceURI, getImmediateParentPointer, getImmediateValuePointer, getIndex, getLocale, getNamespaceResolver, getNamespaceURI, getNamespaceURI, getNode, getNodeSetByKey, getNodeValue, getParent, getPointerByID, getPointerByKey, getRootNode, getValue, getValuePointer, isActual, isAttribute, isContainer, isDefaultNamespace, isLanguage, isNode, isRoot, namespaceIterator, namespacePointer, newChildNodePointer, newNodePointer, printPointerChain, remove, setAttribute, setIndex, setNamespaceResolver, testNode, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeNodePointer

protected AttributeNodePointer(org.apache.commons.jxpath.ri.model.NodePointer parent,
                               org.opengis.feature.Attribute feature,
                               org.apache.commons.jxpath.ri.QName name)
Method Detail

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in class org.apache.commons.jxpath.ri.model.NodePointer

isCollection

public boolean isCollection()
Specified by:
isCollection in class org.apache.commons.jxpath.ri.model.NodePointer

getLength

public int getLength()
Specified by:
getLength in class org.apache.commons.jxpath.ri.model.NodePointer

getName

public org.apache.commons.jxpath.ri.QName getName()
Specified by:
getName in class org.apache.commons.jxpath.ri.model.NodePointer

getBaseValue

public java.lang.Object getBaseValue()
Specified by:
getBaseValue in class org.apache.commons.jxpath.ri.model.NodePointer

getImmediateNode

public java.lang.Object getImmediateNode()
Specified by:
getImmediateNode in class org.apache.commons.jxpath.ri.model.NodePointer

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in interface org.apache.commons.jxpath.Pointer
Specified by:
setValue in class org.apache.commons.jxpath.ri.model.NodePointer

compareChildNodePointers

public int compareChildNodePointers(org.apache.commons.jxpath.ri.model.NodePointer pointer1,
                                    org.apache.commons.jxpath.ri.model.NodePointer pointer2)
Specified by:
compareChildNodePointers in class org.apache.commons.jxpath.ri.model.NodePointer

childIterator

public org.apache.commons.jxpath.ri.model.NodeIterator childIterator(org.apache.commons.jxpath.ri.compiler.NodeTest test,
                                                                     boolean reverse,
                                                                     org.apache.commons.jxpath.ri.model.NodePointer startWith)
Overrides:
childIterator in class org.apache.commons.jxpath.ri.model.NodePointer

attributeIterator

public org.apache.commons.jxpath.ri.model.NodeIterator attributeIterator(org.apache.commons.jxpath.ri.QName qname)
Overrides:
attributeIterator in class org.apache.commons.jxpath.ri.model.NodePointer


Copyright © 1996-2010 Geotools. All Rights Reserved.