jd.xml.xslt.template
Class OutputFormatTemplate
java.lang.Object
jd.xml.xslt.template.OutputFormatTemplate
- public class OutputFormatTemplate
- extends Object
A template for xsl:output element.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputFormatTemplate
public OutputFormatTemplate()
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 constantformat
- 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)