org.exolab.adaptx.xslt
Interface OutputFormat
- XSLOutput
public interface OutputFormat
A class for maintaining state information for the output
of the XSL result tree
Version:
- Keith Visco
- XSLT 19990813 (XSL:P version 19990928)
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
|
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 | 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")
|
getDoctypePublicId
public String getDoctypePublicId()
Returns the Public Id that should be used for the Doctype
- the Public Id that should be used for the Doctype,
or null if none has been set
getDoctypeSystemId
public String getDoctypeSystemId()
Returns the System Id that should be used in the Doctype
- the System Id that should be used for the Doctype,
or null if none has been set
getIndent
public boolean getIndent()
Returns whether or not indenting the result is allowed
- true if whitespace may be added to the output result
for indentation and readability, otherwise returns false
getMethod
public String getMethod()
Returns the output method
Predefined output methods are: xml, html, and text
- the output method
getOmitXMLDeclaration
public boolean getOmitXMLDeclaration()
Returns whether or not the XML declaration should be supressed when
serializing the result
- true if the XML declaration should be supressed when
serializing the result
getVersion
public String getVersion()
Returns the XML version that should be output during serialization
of the result tree
- the XML version that should be used during serialization of
of the result tree
setDoctypePublicId
public void setDoctypePublicId(String publicId)
Sets the Public Id that should be used for the Doctype
publicId
- the Public Id that should be used for the Doctype
setDoctypeSystemId
public void setDoctypeSystemId(String systemId)
Sets the System Id that should be used in the Doctype
systemId
- the System Id for the Doctype
setIndent
public void setIndent(boolean allowIndentation)
Returns whether or not indenting the result is allowed
setMethod
public void setMethod(String method)
Sets the output method
setOmitXMLDeclaration
public void setOmitXMLDeclaration(boolean omitDeclaration)
Sets whether or not the XML declaration should be supressed when
serializing the result
setVersion
public void setVersion(String version)
Sets the version of the XML output (eg "1.0")