org.apache.xml.serializer
Class Method
java.lang.Object
org.apache.xml.serializer.Method
public final class Method
extends java.lang.Object
This class defines the constants which are the names of the four default
output methods.
Four default output methods are defined: XML, HTML, XHTML and TEXT.
Serializers may support additional output methods. The names of
these output methods should be encoded as
namespace:local.
Version:
- Assaf Arkin
static String | HTML - The output method for HTML documents: html.
|
static String | TEXT - The output method for text documents: text.
|
static String | 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)
|
static String | XHTML - The output method for XHTML documents: xhtml.
|
static String | XML - The output method for XML documents: xml.
|
HTML
public static final String HTML
The output method for HTML documents: html.
TEXT
public static final String TEXT
The output method for text documents: text.
UNKNOWN
public static final String 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)
XHTML
public static final String XHTML
The output method for XHTML documents: xhtml.
XML
public static final String XML
The output method for XML documents: xml.
Copyright B) 2004 Apache XML Project. All Rights Reserved.