Klasse SourceElementAttributePointer
java.lang.Object
org.apache.commons.jxpath.ri.model.NodePointer
org.apache.torque.generator.source.SourceElementAttributePointer
- Alle implementierten Schnittstellen:
Serializable,Cloneable,Comparable,org.apache.commons.jxpath.Pointer
public class SourceElementAttributePointer
extends org.apache.commons.jxpath.ri.model.NodePointer
A node pointer pointing to an attribute of a SourceElement.
- Version:
- $Id$
- Autor:
- Dmitri Plotnikov, Thomas Fox
- Siehe auch:
-
Feldübersicht
Von Klasse geerbte Felder org.apache.commons.jxpath.ri.model.NodePointer
index, locale, parent, UNKNOWN_NAMESPACE, WHOLE_COLLECTION -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungSourceElementAttributePointer(org.apache.commons.jxpath.ri.model.NodePointer parent, SourceElement sourceElement, String name) Constructor. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungasPath()intcompareChildNodePointers(org.apache.commons.jxpath.ri.model.NodePointer pointer1, org.apache.commons.jxpath.ri.model.NodePointer pointer2) booleanintorg.apache.commons.jxpath.ri.QNamegetName()getValue()inthashCode()booleanisActual()booleanbooleanisLeaf()voidremove()Removes the attribute pointed to.voidSets the value of this attribute.booleantestNode(org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest) Von Klasse geerbte Methoden org.apache.commons.jxpath.ri.model.NodePointer
attributeIterator, childIterator, clone, compareTo, createAttribute, createChild, createChild, createPath, createPath, escape, getAbstractFactory, getDefaultNamespaceURI, getImmediateParentPointer, getImmediateValuePointer, getIndex, getLocale, getNamespaceResolver, getNamespaceURI, getNode, getNodeSetByKey, getNodeValue, getParent, getPointerByID, getPointerByKey, getRootNode, getValuePointer, isAttribute, isContainer, isDefaultNamespace, isLanguage, isNode, isRoot, namespaceIterator, namespacePointer, newChildNodePointer, newNodePointer, printPointerChain, setAttribute, setIndex, setNamespaceResolver, toString
-
Konstruktordetails
-
SourceElementAttributePointer
public SourceElementAttributePointer(org.apache.commons.jxpath.ri.model.NodePointer parent, SourceElement sourceElement, String name) Constructor.- Parameter:
parent- the parent pointer.sourceElement- the SourceElement to which attribute is pointed.name- the name of the attribute pointed to.
-
-
Methodendetails
-
getName
public org.apache.commons.jxpath.ri.QName getName()- Angegeben von:
getNamein Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
getNamespaceURI
- Setzt außer Kraft:
getNamespaceURIin Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
getValue
- Angegeben von:
getValuein Schnittstelleorg.apache.commons.jxpath.Pointer- Setzt außer Kraft:
getValuein Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
getBaseValue
- Angegeben von:
getBaseValuein Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
isCollection
public boolean isCollection()- Angegeben von:
isCollectionin Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
getLength
public int getLength()- Angegeben von:
getLengthin Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
getImmediateNode
- Angegeben von:
getImmediateNodein Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
isActual
public boolean isActual()- Setzt außer Kraft:
isActualin Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
isLeaf
public boolean isLeaf()- Angegeben von:
isLeafin Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
testNode
public boolean testNode(org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest) - Setzt außer Kraft:
testNodein Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
setValue
Sets the value of this attribute.- Angegeben von:
setValuein Schnittstelleorg.apache.commons.jxpath.Pointer- Angegeben von:
setValuein Klasseorg.apache.commons.jxpath.ri.model.NodePointer- Parameter:
value- to set
-
remove
public void remove()Removes the attribute pointed to.- Setzt außer Kraft:
removein Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
asPath
- Angegeben von:
asPathin Schnittstelleorg.apache.commons.jxpath.Pointer- Setzt außer Kraft:
asPathin Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
hashCode
public int hashCode() -
equals
-
compareChildNodePointers
public int compareChildNodePointers(org.apache.commons.jxpath.ri.model.NodePointer pointer1, org.apache.commons.jxpath.ri.model.NodePointer pointer2) - Angegeben von:
compareChildNodePointersin Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-