org.apache.cocoon.el.impl.jxpath
Class NamespacesTablePointer

java.lang.Object
  extended byorg.apache.commons.jxpath.ri.model.NodePointer
      extended byorg.apache.cocoon.el.impl.jxpath.NamespacesTablePointer
All Implemented Interfaces:
Cloneable, Comparable, org.apache.commons.jxpath.Pointer, Serializable

public class NamespacesTablePointer
extends org.apache.commons.jxpath.ri.model.NodePointer

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().

Since:
2.1.8
Version:
$Id: NamespacesTablePointer.java 587751 2007-10-24 02:41:36Z vgritsenko $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.commons.jxpath.ri.model.NodePointer
index, locale, parent, UNKNOWN_NAMESPACE, WHOLE_COLLECTION
 
Constructor Summary
NamespacesTablePointer(org.apache.cocoon.xml.util.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

NamespacesTablePointer

public NamespacesTablePointer(org.apache.cocoon.xml.util.NamespacesTable namespaces)
Method Detail

getNamespaceURI

public String getNamespaceURI(String prefix)

getDefaultNamespaceURI

protected String getDefaultNamespaceURI()

namespaceIterator

public org.apache.commons.jxpath.ri.model.NodeIterator namespaceIterator()

isLeaf

public boolean isLeaf()

isCollection

public boolean isCollection()

getLength

public int getLength()

getName

public org.apache.commons.jxpath.ri.QName getName()

getBaseValue

public Object getBaseValue()

getImmediateNode

public Object getImmediateNode()

setValue

public void setValue(Object value)

compareChildNodePointers

public int compareChildNodePointers(org.apache.commons.jxpath.ri.model.NodePointer arg0,
                                    org.apache.commons.jxpath.ri.model.NodePointer arg1)


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.