public class XSLTContext
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
XMLNode |
getContextNode()
Get the current context node
|
int |
getContextPosition()
Get the current context node position
|
int |
getContextSize()
Get the current context size
|
XMLError |
getError()
Get the XMLError instance for reporting errors
|
void |
reportCharacters(java.lang.String data, boolean disableoutesc)
Report characters to the current output handler
|
void |
reportNode(XMLNode node)
Report a XMLNode to the current output handler
|
void |
setError(XMLError err)
Set the XMLError
|
public XMLNode getContextNode() throws XSLException
XSLExceptionpublic int getContextSize()
throws XSLException
XSLExceptionpublic int getContextPosition()
throws XSLException
XSLExceptionpublic void reportCharacters(java.lang.String data,
boolean disableoutesc)
throws XSLException
data - - String to be printeddisableoutesc - - boolean to disable output escapingXSLExceptionpublic void reportNode(XMLNode node) throws XSLException
node - - node to be outptuXSLExceptionpublic XMLError getError()
public void setError(XMLError err)
err - - instance of XMLError