|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.xsl.process.TemplateCollection
An abstract class for templates that are ordered collections of templates.
Constructor Summary | |
TemplateCollection(Template[] templates,
Node nsContext)
Constructs a new template collection containing the specified templates. |
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 |
Template[] |
getTemplates()
Returns the templates in this collection. |
protected void |
instantiateTemplates(ProcessingEnv env,
Node currentNode,
ResultHandler result)
Instantiates the templates in this collection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.novell.xsl.process.Template |
instantiate |
Constructor Detail |
public TemplateCollection(Template[] templates, Node nsContext)
templates
- the collection's templatesnsContext
- The node in the style sheet from which this template comesMethod Detail |
public Template[] getTemplates()
public void dump(PrintWriter out, int indent)
dump
in interface Template
out
- the output stream to write toindent
- number of tabs to indentprotected void instantiateTemplates(ProcessingEnv env, Node currentNode, ResultHandler result) throws XSLException
instantiate
.
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |