|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OutputFormat
A class for maintaining state information for the output of the XSL result tree
Method Summary | |
---|---|
java.lang.String |
getDoctypePublicId()
Returns the Public Id that should be used for the Doctype |
java.lang.String |
getDoctypeSystemId()
Returns the System Id that should be used in the Doctype |
java.lang.String |
getEncoding()
Returns the specified encoding, or null if no encoding was specified. |
boolean |
getIndent()
Returns whether or not indenting the result is allowed |
java.lang.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 |
java.lang.String |
getVersion()
Returns the XML version that should be output during serialization of the result tree |
void |
setDoctypePublicId(java.lang.String publicId)
Sets the Public Id that should be used for the Doctype |
void |
setDoctypeSystemId(java.lang.String systemId)
Sets the System Id that should be used in the Doctype |
void |
setEncoding(java.lang.String encoding)
Sets the character encoding. |
void |
setIndent(boolean allowIndentation)
Returns whether or not indenting the result is allowed |
void |
setMethod(java.lang.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(java.lang.String version)
Sets the version of the XML output (eg "1.0") |
Method Detail |
---|
java.lang.String getDoctypePublicId()
java.lang.String getDoctypeSystemId()
java.lang.String getEncoding()
boolean getIndent()
java.lang.String getMethod()
boolean getOmitXMLDeclaration()
java.lang.String getVersion()
void setEncoding(java.lang.String encoding)
encoding
- the character encodinggetEncoding()
void setIndent(boolean allowIndentation)
void setMethod(java.lang.String method)
method,
- the output method of this xsl:output object
void setOmitXMLDeclaration(boolean omitDeclaration)
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.void setVersion(java.lang.String version)
version,
- the xml version to output
void setDoctypePublicId(java.lang.String publicId)
publicId
- the Public Id that should be used for the Doctypevoid setDoctypeSystemId(java.lang.String systemId)
systemId
- the System Id for the Doctype
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |