|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectNodePointer
FeatureTypeAttributePointer
public class FeatureTypeAttributePointer
Pointer to a single attribute of a feature type.
modules/extension/xsd-core (gt-xsd-core.jar)
Field Summary |
---|
Fields inherited from class NodePointer |
---|
locale, UNKNOWN_NAMESPACE, WHOLE_COLLECTION |
Constructor Summary | |
---|---|
FeatureTypeAttributePointer(FeatureTypePointer parent,
int index)
Creates the pointer. |
Method Summary | |
---|---|
int |
compareChildNodePointers(NodePointer pointer1,
NodePointer pointer2)
Always return 0 , can never have child pointers. |
Object |
getBaseValue()
|
Object |
getImmediateNode()
|
int |
getLength()
Return 1 |
QName |
getName()
Returns the qname with prefix as null , and local part the name of the
feature attribute. |
boolean |
isCollection()
Return false . |
boolean |
isLeaf()
Return true . |
void |
setValue(Object value)
|
Methods inherited from class NodePointer |
---|
asPath, attributeIterator, childIterator, clone, compareTo, createAttribute, createChild, createChild, createPath, createPath, getDefaultNamespaceURI, getImmediateParentPointer, getImmediateValuePointer, getIndex, getLocale, getNamespaceResolver, getNamespaceURI, getNamespaceURI, getNode, 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 Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FeatureTypeAttributePointer(FeatureTypePointer parent, int index)
parent
- The parent pointer, pointer at the feature type.index
- The index of hte property to point toMethod Detail |
---|
public boolean isLeaf()
true
.
isLeaf
in class NodePointer
public boolean isCollection()
false
.
isCollection
in class NodePointer
public int getLength()
1
getLength
in class NodePointer
public QName getName()
null
, and local part the name of the
feature attribute.
getName
in class NodePointer
public Object getBaseValue()
getBaseValue
in class NodePointer
public Object getImmediateNode()
getImmediateNode
in class NodePointer
public void setValue(Object value)
setValue
in interface Pointer
setValue
in class NodePointer
public int compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)
0
, can never have child pointers.
compareChildNodePointers
in class NodePointer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |