|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jxpath.ri.model.NodePointer org.apache.cocoon.util.jxpath.NamespacesTablePointer
public class NamespacesTablePointer
A JXPath Pointer
that tracks namespaces defined by a NamespacesTable
.
This class is to be used to inform JXPath of the namespaces declared in a host environment
(e.g. JXTemplateGenerator) using
JXPathContext.setNamespaceContextPointer().
Field Summary |
---|
Fields inherited from class org.apache.commons.jxpath.ri.model.NodePointer |
---|
index, locale, parent, UNKNOWN_NAMESPACE, WHOLE_COLLECTION |
Constructor Summary | |
---|---|
NamespacesTablePointer(NamespacesTable namespaces)
|
Method Summary | |
---|---|
int |
compareChildNodePointers(org.apache.commons.jxpath.ri.model.NodePointer arg0,
org.apache.commons.jxpath.ri.model.NodePointer arg1)
|
Object |
getBaseValue()
|
protected String |
getDefaultNamespaceURI()
|
Object |
getImmediateNode()
|
int |
getLength()
|
org.apache.commons.jxpath.ri.QName |
getName()
|
String |
getNamespaceURI(String prefix)
|
boolean |
isCollection()
|
boolean |
isLeaf()
|
org.apache.commons.jxpath.ri.model.NodeIterator |
namespaceIterator()
|
void |
setValue(Object value)
|
Methods inherited from class org.apache.commons.jxpath.ri.model.NodePointer |
---|
asPath, attributeIterator, childIterator, clone, compareTo, createAttribute, createChild, createChild, createPath, createPath, getImmediateParentPointer, getImmediateValuePointer, getIndex, getLocale, getNamespaceResolver, getNamespaceURI, getNode, getNodeValue, getParent, getPointerByID, getPointerByKey, getRootNode, getValue, getValuePointer, isActual, isAttribute, isContainer, isDefaultNamespace, isLanguage, isNode, isRoot, namespacePointer, newChildNodePointer, newNodePointer, printPointerChain, remove, setAttribute, setIndex, setNamespaceResolver, testNode, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NamespacesTablePointer(NamespacesTable namespaces)
Method Detail |
---|
public String getNamespaceURI(String prefix)
getNamespaceURI
in class org.apache.commons.jxpath.ri.model.NodePointer
protected String getDefaultNamespaceURI()
getDefaultNamespaceURI
in class org.apache.commons.jxpath.ri.model.NodePointer
public org.apache.commons.jxpath.ri.model.NodeIterator namespaceIterator()
namespaceIterator
in class org.apache.commons.jxpath.ri.model.NodePointer
public boolean isLeaf()
isLeaf
in class org.apache.commons.jxpath.ri.model.NodePointer
public boolean isCollection()
isCollection
in class org.apache.commons.jxpath.ri.model.NodePointer
public int getLength()
getLength
in class org.apache.commons.jxpath.ri.model.NodePointer
public org.apache.commons.jxpath.ri.QName getName()
getName
in class org.apache.commons.jxpath.ri.model.NodePointer
public Object getBaseValue()
getBaseValue
in class org.apache.commons.jxpath.ri.model.NodePointer
public Object getImmediateNode()
getImmediateNode
in class org.apache.commons.jxpath.ri.model.NodePointer
public void setValue(Object value)
setValue
in interface org.apache.commons.jxpath.Pointer
setValue
in class org.apache.commons.jxpath.ri.model.NodePointer
public int compareChildNodePointers(org.apache.commons.jxpath.ri.model.NodePointer arg0, org.apache.commons.jxpath.ri.model.NodePointer arg1)
compareChildNodePointers
in class org.apache.commons.jxpath.ri.model.NodePointer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |