|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | 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.
Constructor Summary | |
XSLProcessorContext(TransformerImpl transformer,
Stylesheet stylesheetTree)
Create a processor context to be passed to an extension. |
Method Summary | |
Node |
getContextNode()
Get the current context node. |
QName |
getMode()
Get the current mode being executed. |
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,
java.lang.Object obj)
Output an object to the result tree by doing the right conversions. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public XSLProcessorContext(TransformerImpl transformer, Stylesheet stylesheetTree)
transformer
- non-null transformer instancestylesheetTree
- The owning stylesheetsourceTree
- The source documentsourceNode
- The current source nodemode
- the current mode being executed.Method Detail |
public TransformerImpl getTransformer()
public Stylesheet getStylesheet()
public Node getSourceTree()
public Node getContextNode()
public QName getMode()
public void outputToResultTree(Stylesheet stylesheetTree, java.lang.Object obj) throws TransformerException, java.net.MalformedURLException, java.io.FileNotFoundException, java.io.IOException
stylesheetTree
- The owning stylesheetobj
- the Java object to output. If its of an X
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |