|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjd.xml.xslt.format.OutputFormat
The output format of a transformed document.
Field Summary | |
static String |
METHOD_CANONICAL_XML
|
static String |
METHOD_DEFAULT
|
static String |
METHOD_EMPTY
|
static String |
METHOD_HTML
|
static String |
METHOD_TEXT
|
static String |
METHOD_XML
|
static int |
OPTION_DOCTYPE_PUBLIC
|
static int |
OPTION_DOCTYPE_SYSTEM
|
static int |
OPTION_ENCODING
|
static int |
OPTION_INDENT
|
static int |
OPTION_MEDIA_TYPE
|
static int |
OPTION_METHOD
|
static int |
OPTION_OMIT_XML_DECL
|
static int |
OPTION_STANDALONE
|
static int |
OPTION_VERSION
|
static int |
OPTIONS
|
Constructor Summary | |
OutputFormat()
|
Method Summary | |
void |
copyFrom(OutputFormat format)
Copy the specified values from another OutputFormat. |
String |
getDocTypePublic()
Return the doc type public specifier. |
String |
getDocTypeSystem()
Return the doc type system specifier. |
Encoding |
getEncoding(Encoding defaultEncoding)
Return the encoding attribute. |
boolean |
getIndent(boolean defaultIndent)
Return the indent attribute. |
String |
getMediaType(String defaultMediaType)
Return the media type attribute. |
String |
getMethod()
Return the output method. |
boolean |
getOmitXmlDeclaration(boolean defaultOmit)
Return whether to omit the xml declaration. |
String |
getOption(int option)
Return the string value of an option. |
static int |
getOptionIndex(String name)
Return the option index for its name. |
static String |
getOptionName(int index)
Return the option name for its index. |
Boolean |
getStandalone()
Return the standalone attribute. |
String |
getVersion(String defaultVersion)
Return the version attribute. |
boolean |
isCDataSectionElement(String namespaceUri,
String localName)
Test if a element is a CDATASection element. |
static boolean |
isStandardMethod(String method)
Test if a method is a standard method (xml, html or text). |
void |
setCDataSectionElements(Hashtable cdataSectionElements)
|
void |
setOption(int option,
String s)
Set the value of an option. |
void |
setOption(String name,
String value)
Set the value of an option. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int OPTION_METHOD
public static final int OPTION_INDENT
public static final int OPTION_ENCODING
public static final int OPTION_OMIT_XML_DECL
public static final int OPTION_STANDALONE
public static final int OPTION_DOCTYPE_PUBLIC
public static final int OPTION_DOCTYPE_SYSTEM
public static final int OPTION_MEDIA_TYPE
public static final int OPTION_VERSION
public static final int OPTIONS
public static final String METHOD_XML
public static final String METHOD_HTML
public static final String METHOD_TEXT
public static final String METHOD_CANONICAL_XML
public static final String METHOD_EMPTY
public static final String METHOD_DEFAULT
Constructor Detail |
public OutputFormat()
Method Detail |
public static String getOptionName(int index)
public static int getOptionIndex(String name)
public void setOption(int option, String s)
public void setOption(String name, String value)
public String getOption(int option)
public static boolean isStandardMethod(String method)
public String getMethod()
public String getVersion(String defaultVersion)
public boolean getIndent(boolean defaultIndent)
public Encoding getEncoding(Encoding defaultEncoding)
public String getMediaType(String defaultMediaType)
public String getDocTypeSystem()
public String getDocTypePublic()
public boolean getOmitXmlDeclaration(boolean defaultOmit)
public Boolean getStandalone()
public void setCDataSectionElements(Hashtable cdataSectionElements)
public boolean isCDataSectionElement(String namespaceUri, String localName)
namespaceUri
- its namespacelocalName
- its local namepublic void copyFrom(OutputFormat format)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |