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()
int
compareChildNodePointers
(org.apache.commons.jxpath.ri.model.NodePointer pointer1, org.apache.commons.jxpath.ri.model.NodePointer pointer2) boolean
int
org.apache.commons.jxpath.ri.QName
getName()
getValue()
int
hashCode()
boolean
isActual()
boolean
boolean
isLeaf()
void
remove()
Removes the attribute pointed to.void
Sets the value of this attribute.boolean
testNode
(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:
getName
in Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
getNamespaceURI
- Setzt außer Kraft:
getNamespaceURI
in Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
getValue
- Angegeben von:
getValue
in Schnittstelleorg.apache.commons.jxpath.Pointer
- Setzt außer Kraft:
getValue
in Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
getBaseValue
- Angegeben von:
getBaseValue
in Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
isCollection
public boolean isCollection()- Angegeben von:
isCollection
in Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
getLength
public int getLength()- Angegeben von:
getLength
in Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
getImmediateNode
- Angegeben von:
getImmediateNode
in Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
isActual
public boolean isActual()- Setzt außer Kraft:
isActual
in Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
isLeaf
public boolean isLeaf()- Angegeben von:
isLeaf
in Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
testNode
public boolean testNode(org.apache.commons.jxpath.ri.compiler.NodeTest nodeTest) - Setzt außer Kraft:
testNode
in Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
setValue
Sets the value of this attribute.- Angegeben von:
setValue
in Schnittstelleorg.apache.commons.jxpath.Pointer
- Angegeben von:
setValue
in Klasseorg.apache.commons.jxpath.ri.model.NodePointer
- Parameter:
value
- to set
-
remove
public void remove()Removes the attribute pointed to.- Setzt außer Kraft:
remove
in Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-
asPath
- Angegeben von:
asPath
in Schnittstelleorg.apache.commons.jxpath.Pointer
- Setzt außer Kraft:
asPath
in 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:
compareChildNodePointers
in Klasseorg.apache.commons.jxpath.ri.model.NodePointer
-