com.werken.xpath.impl
Class Context
java.lang.Object
com.werken.xpath.impl.Context
- All Implemented Interfaces:
- java.lang.Cloneable
public class Context
- extends java.lang.Object
- implements java.lang.Cloneable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Context
public Context(org.jdom.Document doc,
ContextSupport contextSupport)
Context
public Context(org.jdom.Element elem,
ContextSupport contextSupport)
Context
public Context(java.util.List nodeSet,
ContextSupport contextSupport)
getNodeSet
public java.util.List getNodeSet()
getSize
public int getSize()
isEmpty
public boolean isEmpty()
getPosition
public int getPosition()
setPosition
public void setPosition(int position)
getContextNode
public java.lang.Object getContextNode()
getNode
public java.lang.Object getNode(int index)
setNodeSet
public void setNodeSet(java.util.List nodeSet)
getContextSupport
public ContextSupport getContextSupport()
iterator
public java.util.Iterator iterator()
translateNamespacePrefix
public java.lang.String translateNamespacePrefix(java.lang.String prefix)
getVariableValue
public java.lang.Object getVariableValue(java.lang.String variableName)
getFunction
public Function getFunction(java.lang.String name)
duplicate
public Context duplicate()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved.