jd.xml.xslt.template
Class DocumentTemplate

java.lang.Object
  extended byjd.xml.xslt.template.Template
      extended byjd.xml.xslt.template.DocumentTemplate

public class DocumentTemplate
extends Template

A template class.

 <xsl:document
  href = { uri-reference }
  ...
  <!-- Content: template -->
 </xsl:document>
 


Constructor Summary
DocumentTemplate(String xslUri, AttributeValue href, OutputFormatTemplate format, Template template)
          Create a DocumentTemplate.
 
Method Summary
 void accept(TemplateVisitor visitor)
           
 void instantiate(XsltContext context, ResultBuilder resultBuilder)
          Instantiate the template.
 
Methods inherited from class jd.xml.xslt.template.Template
addChild, addNext, allowTailRecursion, getNext, getParent, instantiate, instantiate, toString, transferRelations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentTemplate

public DocumentTemplate(String xslUri,
                        AttributeValue href,
                        OutputFormatTemplate format,
                        Template template)
Create a DocumentTemplate.

Method Detail

accept

public void accept(TemplateVisitor visitor)
Specified by:
accept in class Template

instantiate

public void instantiate(XsltContext context,
                        ResultBuilder resultBuilder)
Instantiate the template.

Specified by:
instantiate in class Template