org.exolab.adaptx.xslt
public interface OutputFormat
Since: XSLT 19990813 (XSL:P version 19990928)
Version: $Revision: 4773 $ $Date: 2004-09-28 14:39:18 -0400 (Tue, 28 Sep 2004) $
Method Summary | |
---|---|
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()
Returns the specified encoding, or null if no encoding
was specified.
|
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 | 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)
Sets the character 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 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: the encoding, or null if no encoding specified.
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: publicId the Public Id that should be used for the Doctype
Parameters: systemId the System Id for the Doctype
Parameters: encoding the character encoding
See Also: OutputFormat
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