|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.icl.saxon.expr.DummyStaticContext
A DummyStaticContext provides a minimal context for parsing an expression or pattern
Constructor Summary | |
DummyStaticContext()
|
Method Summary | |
Binding |
bindVariable(java.lang.String name)
Bind a variable used in this element to the XSLVariable element in which it is declared |
boolean |
forwardsCompatibleModeIsEnabled()
Determine whether forwards-compatible mode is enabled |
int |
getLineNumber()
Get the line number of the expression within that container Returns -1 if no line number is available |
Function |
getStyleSheetFunction(Name name)
Bind an XSLT function name: return null if not found |
java.lang.String |
getSystemId()
Get the system id (URL) of the container of the expression |
boolean |
isExtensionNamespace(java.lang.String uri)
Determine whether a given URI identifies an extension element namespace |
Name |
makeName(java.lang.String tag,
boolean useDefault)
Make a Name object from a [prefix:]name source tag |
NameTest |
makePrefixTest(java.lang.String wildcard)
Make a NameTest object for an Element from a prefix:* wildcard |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DummyStaticContext()
Method Detail |
public java.lang.String getSystemId()
getSystemId
in interface StaticContext
public int getLineNumber()
getLineNumber
in interface StaticContext
public Name makeName(java.lang.String tag, boolean useDefault) throws org.xml.sax.SAXException
makeName
in interface StaticContext
com.icl.saxon.expr.StaticContext
tag
- The name as written, in the form "[prefix:]localname"public NameTest makePrefixTest(java.lang.String wildcard) throws org.xml.sax.SAXException
makePrefixTest
in interface StaticContext
public Binding bindVariable(java.lang.String name) throws org.xml.sax.SAXException
bindVariable
in interface StaticContext
com.icl.saxon.expr.StaticContext
org.xml.sax.SAXException
- if the variable has not been declared, or if the context
does not allow the use of variablespublic boolean isExtensionNamespace(java.lang.String uri)
isExtensionNamespace
in interface StaticContext
public boolean forwardsCompatibleModeIsEnabled()
forwardsCompatibleModeIsEnabled
in interface StaticContext
public Function getStyleSheetFunction(Name name) throws org.xml.sax.SAXException
getStyleSheetFunction
in interface StaticContext
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |