com.smallx.xml.xpath
Class ElementStaticContext

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

public class ElementStaticContext
extends java.lang.Object
implements StaticContext


Constructor Summary
ElementStaticContext(Element element)
          Creates a new instance of ElementStaticContext
ElementStaticContext(Element element, 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

ElementStaticContext

public ElementStaticContext(Element element)
Creates a new instance of ElementStaticContext


ElementStaticContext

public ElementStaticContext(Element element,
                            java.util.Collection inScopeVariables)
Method Detail

getNamespaceScope

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

getBaseURI

public java.net.URI getBaseURI()
Returns the base URI of the expression

Specified by:
getBaseURI in interface StaticContext

getInScopeVariables

public java.util.Collection getInScopeVariables()
Returns a collection of variable names

Specified by:
getInScopeVariables in interface StaticContext