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
XSLException
public int getContextSize() throws XSLException
XSLException
public int getContextPosition() throws XSLException
XSLException
public void reportCharacters(java.lang.String data, boolean disableoutesc) throws XSLException
chars
- - String to be printeddisableoutesc
- - boolean to disable output escapingXSLException
public void reportNode(XMLNode node) throws XSLException
node
- - node to be outptuXSLException
public XMLError getError()
public void setError(XMLError err)
err
- - instance of XMLError