|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A StaticContext contains the information needed while an expression or patter is being parsed.
Method Summary | |
Binding |
bindVariable(java.lang.String name)
Bind a variable to an object that can be used to refer to it |
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 an Name, using this Element as the context for namespace resolution |
NameTest |
makePrefixTest(java.lang.String wildcard)
Make a NameTest object for a prefix:* wildcard |
Method Detail |
public java.lang.String getSystemId()
public int getLineNumber()
public Name makeName(java.lang.String tag, boolean useDefault) throws org.xml.sax.SAXException
tag
- The name as written, in the form "[prefix:]localname"public NameTest makePrefixTest(java.lang.String wildcard) throws org.xml.sax.SAXException
public Binding bindVariable(java.lang.String name) throws org.xml.sax.SAXException
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) throws org.xml.sax.SAXException
public boolean forwardsCompatibleModeIsEnabled() throws org.xml.sax.SAXException
public Function getStyleSheetFunction(Name name) throws org.xml.sax.SAXException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |