|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.xsl.extensions.BadTemplate
A class to be a placeholder for an unknown extension element in case it is instantiated
Constructor Summary | |
BadTemplate(String message,
Node context)
Construct a BadTemplate with the passed message |
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 |
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 BadTemplate(String message, Node context)
message
- The message to report if the template is instantiated.context
- The namespace context (the extension element in the
stylesheet tree).Method Detail |
public void instantiate(ProcessingEnv env, Node currentNode, ResultHandler result) throws XSLException
instantiate
in interface Template
env
- 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 Template
public void dump(PrintWriter out, int indent)
dump
in interface Template
out
- the output stream to write toindent
- number of tabs to indent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |