com.werken.xpath.impl

Class Context

Implemented Interfaces:
Cloneable

public class Context
extends java.lang.Object
implements Cloneable

Constructor Summary

Context(Document doc, ContextSupport contextSupport)
Context(Element elem, ContextSupport contextSupport)
Context(List nodeSet, ContextSupport contextSupport)

Method Summary

Context
duplicate()
Object
getContextNode()
ContextSupport
getContextSupport()
Function
getFunction(String name)
Object
getNode(int index)
List
getNodeSet()
int
getPosition()
int
getSize()
Object
getVariableValue(String variableName)
boolean
isEmpty()
Iterator
iterator()
void
setNodeSet(List nodeSet)
void
setPosition(int position)
String
toString()
String
translateNamespacePrefix(String prefix)

Constructor Details

Context

public Context(Document doc,
               ContextSupport contextSupport)


Context

public Context(Element elem,
               ContextSupport contextSupport)


Context

public Context(List nodeSet,
               ContextSupport contextSupport)

Method Details

duplicate

public Context duplicate()


getContextNode

public Object getContextNode()


getContextSupport

public ContextSupport getContextSupport()


getFunction

public Function getFunction(String name)


getNode

public Object getNode(int index)


getNodeSet

public List getNodeSet()


getPosition

public int getPosition()


getSize

public int getSize()


getVariableValue

public Object getVariableValue(String variableName)


isEmpty

public boolean isEmpty()


iterator

public Iterator iterator()


setNodeSet

public void setNodeSet(List nodeSet)


setPosition

public void setPosition(int position)


toString

public String toString()


translateNamespacePrefix

public String translateNamespacePrefix(String prefix)


Copyright B) 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved.