APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xml.internal.serializer

public final Class Method

extends Object
Class Inheritance

This class defines the constants which are the names of the four default output methods.

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.

See Also
OutputPropertiesFactory, Serializer

Field Summary

Modifier and TypeField and Description
public static final String
HTML

The output method type for HTML documents: html.

public static final String
TEXT

The output method type for text documents: text.

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)

public static final String
XHTML

The output method for XHTML documents, this method type is not currently supported: xhtml.

public static final String
XML

The output method type for XML documents: xml.

Constructor Summary

AccessConstructor and Description
private
Method()

A private constructor to prevent the creation of such a class.

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

HTMLback to summary
public static final String HTML

The output method type for HTML documents: html.

TEXTback to summary
public static final String TEXT

The output method type for text documents: text.

UNKNOWNback to summary
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)

XHTMLback to summary
public static final String XHTML

The output method for XHTML documents, this method type is not currently supported: xhtml.

XMLback to summary
public static final String XML

The output method type for XML documents: xml.

Constructor Detail

Methodback to summary
private Method()

A private constructor to prevent the creation of such a class.