Class BitStringPointer
- java.lang.Object
-
- org.apache.commons.jxpath.ri.model.NodePointer
-
- CGINPointer
-
- LeafCGINPointer
-
- BitStringPointer
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable
,org.apache.commons.jxpath.Pointer
public class BitStringPointer extends LeafCGINPointer
A NodePointer for a BitString. This implementation treats a BitString as a leaf. An alternative would be to allow selection of booleans indicating whether a particular bit is present in the string or not.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BitStringPointer(org.apache.commons.jxpath.ri.model.NodePointer parent, org.apache.commons.jxpath.ri.QName name, BitString object)
Creates a pointer to the given BitString.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getImmediateNode()
Gets the BitString.void
setValue(Object value)
Sets this pointer so that it refers to the given BitString.-
Methods inherited from class com.opencloud.slee.resources.cgin.xpath.LeafCGINPointer
isCollection, isLeaf
-
Methods inherited from class com.opencloud.slee.resources.cgin.xpath.CGINPointer
compareChildNodePointers, createChild, getBaseValue, getLength, getName
-
Methods inherited from class org.apache.commons.jxpath.ri.model.NodePointer
asPath, attributeIterator, childIterator, 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
-
-
-
-
Constructor Detail
-
BitStringPointer
protected BitStringPointer(org.apache.commons.jxpath.ri.model.NodePointer parent, org.apache.commons.jxpath.ri.QName name, BitString object)
Creates a pointer to the given BitString.- Parameters:
parent
- pointer to the surrounding nodename
- name of the new nodeobject
- value of the new node
-
-
Method Detail
-
getImmediateNode
public Object getImmediateNode()
Gets the BitString.- Specified by:
getImmediateNode
in classorg.apache.commons.jxpath.ri.model.NodePointer
- Returns:
- Object
-
setValue
public void setValue(Object value)
Sets this pointer so that it refers to the given BitString.- Specified by:
setValue
in interfaceorg.apache.commons.jxpath.Pointer
- Specified by:
setValue
in classorg.apache.commons.jxpath.ri.model.NodePointer
- Parameters:
value
- Object
-
-