public final class Method extends Object
Three default output methods are defined: XML, HTML, and TEXT. These constants can be used as an argument to the OutputPropertiesFactory.getDefaultMethodProperties() method to get the properties to create a serializer. This class is a public API.
OutputPropertiesFactory,
Serializer| Modifier and Type | Field and Description |
|---|---|
static String |
HTML
The output method type for HTML documents: html.
|
static String |
TEXT
The output method type 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,
this method type is not currently supported: xhtml.
|
static String |
XML
The output method type for XML documents: xml.
|
public static final String XML
public static final String HTML
public static final String XHTML
public static final String TEXT
public static final String UNKNOWN
Copyright © 2018–2021 mhoffrogge. All rights reserved.