jd.xml.xslt.template
Class OutputFormatTemplate

java.lang.Object
  extended byjd.xml.xslt.template.OutputFormatTemplate

public class OutputFormatTemplate
extends Object

A template for xsl:output element.


Constructor Summary
OutputFormatTemplate()
           
 
Method Summary
 void addCDataSectionElement(String uri, String localName)
           
 Hashtable getCDataSectionElements()
           
 NamespaceContext getNamespaceContext()
           
 AttributeValue getOption(int index)
           
 void initOutputFormat(XsltContext context, OutputFormat format)
          Evaluate the output instruction for the given context and set all undefined values of the OutputFormat.
 void setNamespaceContext(NamespaceContext nsContext)
          Set the namespace context of the OutputFormatTemplate instruction.
 void setOption(int index, AttributeValue avt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputFormatTemplate

public OutputFormatTemplate()
Method Detail

initOutputFormat

public void initOutputFormat(XsltContext context,
                             OutputFormat format)
Evaluate the output instruction for the given context and set all undefined values of the OutputFormat.

Parameters:
context - the evaluation context. If null then only look at the options whose attribute value templates are constant
format - the format whose undefined values are set

addCDataSectionElement

public void addCDataSectionElement(String uri,
                                   String localName)

getCDataSectionElements

public Hashtable getCDataSectionElements()

setNamespaceContext

public void setNamespaceContext(NamespaceContext nsContext)
Set the namespace context of the OutputFormatTemplate instruction. The namespace context is used to expand qnames in the method and cdata-section-elements attributes.


getNamespaceContext

public NamespaceContext getNamespaceContext()

setOption

public void setOption(int index,
                      AttributeValue avt)

getOption

public AttributeValue getOption(int index)