|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.xsl.process.CopyOfTemplate
Implementation of xsl:copy-of
| Constructor Summary | |
CopyOfTemplate(Expression select,
Node nsContext)
Constructs a copy-of template with the specified expression. |
|
| Method Summary | |
void |
dump(PrintWriter out,
int indent)
Dumps this object to the specified output stream. |
Node |
getNamespaceContext()
Return the node that is the namespace context for this template |
Expression |
getSelect()
Returns this template's select expression. |
void |
instantiate(ProcessingEnv env,
Node currentNode,
ResultHandler result)
Instantiates this template for the specified current node and sends the result to the specified result handler. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CopyOfTemplate(Expression select,
Node nsContext)
select - the copy-of template's expressionnsContext - The node in the style sheet from which this template comes| Method Detail |
public Expression getSelect()
public void instantiate(ProcessingEnv env,
Node currentNode,
ResultHandler result)
throws XSLException
For a CopyOfTemplate, this method evaluates its select
expression and copies the result to the result tree. Result-tree-fragments
and node-sets are copied as nodes, other types are converted to strings and copied
instantiate in interface Templateenv - the current processing environmentcurrentNode - the current source noderesult - the handler to which results are sent
XSLException - if a fatal error occurs during instantiationpublic Node getNamespaceContext()
getNamespaceContext in interface Templatepublic void dump(PrintWriter out,
int indent)
dump in interface Templateout - the output stream to write toindent - number of tabs to indent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||