|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.joost.stx.ParseContext
public final class ParseContext
Instances of this class provide context information while parsing an STX document.
Field Summary | |
---|---|
boolean |
allowExternalFunctions
Are calls on Java extension functions allowed? |
private ErrorHandler |
errorHandler
The error handler for the parser |
private net.sf.joost.stx.function.FunctionFactory |
functionFactory
The function table for maintaining function definitions, especially of the script functions |
Locator |
locator
The locator object for the input stream |
Hashtable |
nsSet
The set of namespaces currently in scope |
ParserListener |
parserListener
An optional ParserListener for stx:include instructions |
TransformFactory.Instance |
transformNode
The root element of the transform sheet |
URIResolver |
uriResolver
The URI resolver for stx:include instructions |
Constructor Summary | |
---|---|
ParseContext()
Default constructor |
|
ParseContext(ParseContext pContext)
Copy constructor |
Method Summary | |
---|---|
ErrorHandler |
getErrorHandler()
Returns (and constructs if necessary) an error handler |
net.sf.joost.stx.function.FunctionFactory |
getFunctionFactory()
|
void |
setErrorListener(ErrorListener errorListener)
Sets an error listener that will be used to construct an error handler |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Locator locator
public Hashtable nsSet
private ErrorHandler errorHandler
public URIResolver uriResolver
stx:include
instructions
public ParserListener parserListener
stx:include
instructions
public TransformFactory.Instance transformNode
public boolean allowExternalFunctions
private net.sf.joost.stx.function.FunctionFactory functionFactory
Constructor Detail |
---|
public ParseContext()
public ParseContext(ParseContext pContext)
Method Detail |
---|
public ErrorHandler getErrorHandler()
public void setErrorListener(ErrorListener errorListener)
public net.sf.joost.stx.function.FunctionFactory getFunctionFactory()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |