org.apache.commons.jxpath.ri.model.beans

Class LangAttributePointer

Implemented Interfaces:
Cloneable, Comparable, Pointer, Serializable

public class LangAttributePointer
extends NodePointer

A Pointer that points to the "lang" attribute of a JavaBean. The value of the attribute is based on the locale supplied to it in the constructor.
Version:
$Revision: 1.13 $ $Date: 2004/04/01 02:55:32 $
Author:
Dmitri Plotnikov

Field Summary

Fields inherited from class org.apache.commons.jxpath.ri.model.NodePointer

UNKNOWN_NAMESPACE, WHOLE_COLLECTION, index, locale, parent

Constructor Summary

LangAttributePointer(NodePointer parent)

Method Summary

String
asPath()
int
compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)
boolean
equals(Object object)
Object
getBaseValue()
Object
getImmediateNode()
int
getLength()
QName
getName()
String
getNamespaceURI()
int
hashCode()
boolean
isCollection()
boolean
isLeaf()
void
setValue(Object value)
Throws UnsupportedOperationException.
boolean
testNode(NodeTest test)

Methods inherited from class org.apache.commons.jxpath.ri.model.NodePointer

asPath, attributeIterator, childIterator, clone, compareChildNodePointers, compareTo, createAttribute, createChild, createChild, createPath, createPath, getBaseValue, getDefaultNamespaceURI, getImmediateNode, getImmediateParentPointer, getImmediateValuePointer, getIndex, getLength, getLocale, getName, getNamespaceResolver, getNamespaceURI, getNamespaceURI, getNode, getNodeValue, getParent, getPointerByID, getPointerByKey, getRootNode, getValue, getValuePointer, isActual, isAttribute, isCollection, isContainer, isDefaultNamespace, isLanguage, isLeaf, isNode, isRoot, namespaceIterator, namespacePointer, newChildNodePointer, newNodePointer, printPointerChain, remove, setAttribute, setIndex, setNamespaceResolver, setValue, testNode, toString

Constructor Details

LangAttributePointer

public LangAttributePointer(NodePointer parent)

Method Details

asPath

public String asPath()
Specified by:
asPath in interface Pointer
Overrides:
asPath in interface NodePointer

compareChildNodePointers

public int compareChildNodePointers(NodePointer pointer1,
                                    NodePointer pointer2)
Overrides:
compareChildNodePointers in interface NodePointer

equals

public boolean equals(Object object)

getBaseValue

public Object getBaseValue()
Overrides:
getBaseValue in interface NodePointer

getImmediateNode

public Object getImmediateNode()
Overrides:
getImmediateNode in interface NodePointer

getLength

public int getLength()
Overrides:
getLength in interface NodePointer

getName

public QName getName()
Overrides:
getName in interface NodePointer

getNamespaceURI

public String getNamespaceURI()
Overrides:
getNamespaceURI in interface NodePointer

hashCode

public int hashCode()

isCollection

public boolean isCollection()
Overrides:
isCollection in interface NodePointer

isLeaf

public boolean isLeaf()
Overrides:
isLeaf in interface NodePointer

setValue

public void setValue(Object value)
Throws UnsupportedOperationException.
Specified by:
setValue in interface Pointer
Overrides:
setValue in interface NodePointer

testNode

public boolean testNode(NodeTest test)
Overrides:
testNode in interface NodePointer