Package org.apache.xml.serializer
Class Method
java.lang.Object
org.apache.xml.serializer.Method
public final class Method extends Object
This class defines the constants which are the names of the four default
output methods.
The default output methods defined are:
- XML
- TEXT
- HTML
- See Also:
OutputPropertiesFactory,Serializer
-
Field Summary
Fields Modifier and Type Field Description static StringHTMLThe output method type for HTML documents: html.static StringTEXTThe output method type for text documents: text.static StringUNKNOWNThe "internal" method, just used when no method is specified in the style sheet, and a serializer of this type wraps either an XML or HTML type (depending on the first tag in the output being html or not)static StringXHTMLThe output method for XHTML documents: xhtml.static StringXMLThe output method type for XML documents: xml. -
Method Summary
-
Field Details
-
XML
The output method type for XML documents: xml.- See Also:
- Constant Field Values
-
HTML
The output method type for HTML documents: html.- See Also:
- Constant Field Values
-
XHTML
The output method for XHTML documents: xhtml.This method type is not currently supported.
- See Also:
- Constant Field Values
-
TEXT
The output method type for text documents: text.- See Also:
- Constant Field Values
-
UNKNOWN
The "internal" method, just used when no method is specified in the style sheet, and a serializer of this type wraps either an XML or HTML type (depending on the first tag in the output being html or not)- See Also:
- Constant Field Values
-