org.znerd.xmlenc
Interface XMLOutputterStates

All Known Implementing Classes:
XMLOutputter

public interface XMLOutputterStates

All XMLOutputter states.

Since:
xmlenc 0.21
Version:
$Revision: 1.6 $ $Date: 2003/01/13 08:09:43 $
Author:
Ernst de Haan (znerd@FreeBSD.org)

Field Summary
static XMLOutputter.State AFTER_ROOT_ELEMENT
          State after the root element.
static XMLOutputter.State BEFORE_DTD_DECLARATION
          State after XML declaration but before the DTD declaration, if any.
static XMLOutputter.State BEFORE_ROOT_ELEMENT
          State after DTD declaration but before the root element.
static XMLOutputter.State BEFORE_XML_DECLARATION
          The initial initialized state.
static XMLOutputter.State ERROR_STATE
          State reached when there was an error while writing output.
static XMLOutputter.State START_TAG_OPEN
          State in which a start tag is still open.
static XMLOutputter.State UNINITIALIZED
          Uninitialized state.
static XMLOutputter.State WITHIN_ELEMENT
          State within an element, start tag is closed.
 

Field Detail

UNINITIALIZED

public static final XMLOutputter.State UNINITIALIZED
Uninitialized state. In this state no output can be written.

BEFORE_XML_DECLARATION

public static final XMLOutputter.State BEFORE_XML_DECLARATION
The initial initialized state. No XML declaration has been written, no DTD declaration, nothing at all.

In this state the following can be written:


BEFORE_DTD_DECLARATION

public static final XMLOutputter.State BEFORE_DTD_DECLARATION
State after XML declaration but before the DTD declaration, if any. This state is reached right after either XMLOutputter.declaration() is called.

In this state the following can be written:


BEFORE_ROOT_ELEMENT

public static final XMLOutputter.State BEFORE_ROOT_ELEMENT
State after DTD declaration but before the root element. This state is reached right after XMLOutputter.dtd(String,String,String) is called.

In this state the following can be written:


START_TAG_OPEN

public static final XMLOutputter.State START_TAG_OPEN
State in which a start tag is still open. This state is entered after XMLOutputter.startTag(String) is called.

In this state the following can be written:


WITHIN_ELEMENT

public static final XMLOutputter.State WITHIN_ELEMENT
State within an element, start tag is closed.

In this state the following can be written:


AFTER_ROOT_ELEMENT

public static final XMLOutputter.State AFTER_ROOT_ELEMENT
State after the root element.

In this state the following can be written:


ERROR_STATE

public static final XMLOutputter.State ERROR_STATE
State reached when there was an error while writing output.

In this state no more output can be written.



See http://xmlenc.sourceforge.net/.