|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xalan.extensions.XSLProcessorContext
Provides transformer context to be passed to an extension element.
Field Summary | |
private QName |
mode
the current mode being executed. |
private int |
sourceNode
the current context node. |
private DTM |
sourceTree
The root of the source tree being executed. |
private Stylesheet |
stylesheetTree
The owning stylesheet for this context |
private TransformerImpl |
transformer
An instance of a transformer |
Constructor Summary | |
XSLProcessorContext(TransformerImpl transformer,
Stylesheet stylesheetTree)
Create a processor context to be passed to an extension. |
Method Summary | |
org.w3c.dom.Node |
getContextNode()
Get the current context node. |
QName |
getMode()
Get the current mode being executed. |
org.w3c.dom.Node |
getSourceTree()
Get the root of the source tree being executed. |
Stylesheet |
getStylesheet()
Get the Stylesheet being executed. |
TransformerImpl |
getTransformer()
Get the transformer. |
void |
outputToResultTree(Stylesheet stylesheetTree,
Object obj)
Output an object to the result tree by doing the right conversions. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private TransformerImpl transformer
private Stylesheet stylesheetTree
private DTM sourceTree
private int sourceNode
private QName mode
Constructor Detail |
public XSLProcessorContext(TransformerImpl transformer, Stylesheet stylesheetTree)
transformer
- non-null transformer instancestylesheetTree
- The owning stylesheetMethod Detail |
public TransformerImpl getTransformer()
public Stylesheet getStylesheet()
public org.w3c.dom.Node getSourceTree()
public org.w3c.dom.Node getContextNode()
public QName getMode()
public void outputToResultTree(Stylesheet stylesheetTree, Object obj) throws javax.xml.transform.TransformerException, MalformedURLException, FileNotFoundException, IOException
stylesheetTree
- The owning stylesheetobj
- the Java object to output. If its of an Xjavax.xml.transform.TransformerException
FileNotFoundException
IOException
MalformedURLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |