com.smallx.xml.xpath.util
Class NodeStaticContext

java.lang.Object
  extended bycom.smallx.xml.xpath.util.NodeStaticContext
All Implemented Interfaces:
StaticContext

public class NodeStaticContext
extends java.lang.Object
implements StaticContext


Constructor Summary
NodeStaticContext(Item node, java.util.Collection inScopeVariables)
           
NodeStaticContext(Item node, NamespaceScope resolver, java.util.Collection inScopeVariables)
           
 
Method Summary
 java.net.URI getBaseURI()
          Returns the base URI of the expression
 java.util.Collection getInScopeVariables()
          Returns a collection of variable names
 NamespaceScope getNamespaceScope()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeStaticContext

public NodeStaticContext(Item node,
                         java.util.Collection inScopeVariables)

NodeStaticContext

public NodeStaticContext(Item node,
                         NamespaceScope resolver,
                         java.util.Collection inScopeVariables)
Method Detail

getBaseURI

public java.net.URI getBaseURI()
Description copied from interface: StaticContext
Returns the base URI of the expression

Specified by:
getBaseURI in interface StaticContext

getInScopeVariables

public java.util.Collection getInScopeVariables()
Description copied from interface: StaticContext
Returns a collection of variable names

Specified by:
getInScopeVariables in interface StaticContext

getNamespaceScope

public NamespaceScope getNamespaceScope()
Specified by:
getNamespaceScope in interface StaticContext