org.exolab.adaptx.xslt
public class XSLOutput extends XSLObject implements OutputFormat
Since: XSLT 19990813 (XSL:P version 19990928)
Version: $Revision: 4773 $ $Date: 2004-09-28 14:39:18 -0400 (Tue, 28 Sep 2004) $
Constructor Summary | |
---|---|
XSLOutput()
Creates a new Output with the given parent Stylesheet
|
Method Summary | |
---|---|
XSLOutput | copy()
Creates a new copy of this XSLOutput
|
String | getDoctypePublicId()
Returns the Public Id that should be used for the Doctype |
String | getDoctypeSystemId()
Returns the System Id that should be used in the Doctype |
String | getEncoding() |
boolean | getIndent()
Returns whether or not indenting the result is allowed |
String | getMethod()
Returns the output method
Predefined output methods are: xml, html, and text |
boolean | getOmitXMLDeclaration()
Returns whether or not the XML declaration should be supressed when
serializing the result |
String | getVersion()
Returns the XML version that should be output during serialization
of the result tree |
void | merge(XSLOutput output)
Merges the given XSLOutput object into this one.
|
void | setDoctypePublicId(String publicId)
Sets the Public Id that should be used for the Doctype |
void | setDoctypeSystemId(String systemId)
Sets the System ID that should be used in the Doctype |
void | setEncoding(String encoding) |
void | setIndent(boolean allowIndentation)
Returns whether or not indenting the result is allowed |
void | setMethod(String method)
Sets the output method |
void | setOmitXMLDeclaration(boolean omitDeclaration)
Sets whether or not the XML declaration should be supressed when
serializing the result |
void | setVersion(String version)
Sets the version of the XML output (eg "1.0") |
Returns: the new XSLOutput
Returns: the Public Id that should be used for the Doctype, or null if none has been set
Returns: the System Id that should be used for the Doctype, or null if none has been set
Returns: true if whitespace may be added to the output result for indentation and readability, otherwise returns false
Returns: the output method
Returns: true if the XML declaration should be supressed when serializing the result
Returns: the XML version that should be used during serialization of of the result tree
Parameters: output the XSLOutput to merge with this one.
Parameters: publicId the Public Id that should be used for the Doctype
Parameters: systemId the System ID for the Doctype
Returns: true if whitespace may be added to the output result for indentation and readability, otherwise returns false
Parameters: method, the output method of this xsl:output object
Predefined output methods are: xml, html, and text
Parameters: omitDeclaration, the flag indicating whether or not the XML declaration should be supressed when serializing the result. Use true if you do NOT want the XML Declaration to appear in the output. The default value depends on the Method. If the method is "xml", this value will be false by default. If the method is "html", this value will be true by default.
Parameters: version, the xml version to output
Predefined output methods are: xml, html, and text