|
|||||||||
| Home >> All >> org >> znerd >> [ xmlenc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.znerd.xmlenc
Interface XMLEventListenerStates

- All Known Subinterfaces:
- StatefulXMLEventListener, XMLEventListener
- All Known Implementing Classes:
- XMLOutputter
- public interface XMLEventListenerStates
All XMLEventListenerStates.
- Since:
- xmlenc 0.31
- Version:
- $Revision: 1.4 $ $Date: 2005/09/12 08:40:02 $
| Field Summary | |
static XMLEventListenerState |
AFTER_ROOT_ELEMENT
State after the root element. |
static XMLEventListenerState |
BEFORE_DTD_DECLARATION
State after XML declaration but before the DTD declaration, if any. |
static XMLEventListenerState |
BEFORE_ROOT_ELEMENT
State after DTD declaration but before the root element. |
static XMLEventListenerState |
BEFORE_XML_DECLARATION
The initial initialized state. |
static XMLEventListenerState |
DOCUMENT_ENDED
State entered when the document is ended. |
static XMLEventListenerState |
ERROR_STATE
State reached when there was an error while writing output. |
static XMLEventListenerState |
START_TAG_OPEN
State in which a start tag is still open. |
static XMLEventListenerState |
UNINITIALIZED
Uninitialized state. |
static XMLEventListenerState |
WITHIN_ELEMENT
State within an element, start tag is closed. |
| Field Detail |
UNINITIALIZED
public static final XMLEventListenerState UNINITIALIZED
- Uninitialized state. In this state no events notifications are valid.
BEFORE_XML_DECLARATION
public static final XMLEventListenerState BEFORE_XML_DECLARATION
- The initial initialized state. No XML declaration has been written, no
DTD declaration, nothing at all.
In this state the following event notifications are valid:
- XML declaration (
XMLEventListener.declaration()55 ) - DTD declaration (
XMLEventListener.dtd(String,String,String)55 ) - white space (
XMLEventListener.whitespace(String)55 ) - comment (
XMLEventListener.comment(String)55 ) - processing instruction (
XMLEventListener.pi(String,String)55 ) - start tag (
XMLEventListener.startTag(String)55 )
- XML declaration (
BEFORE_DTD_DECLARATION
public static final XMLEventListenerState BEFORE_DTD_DECLARATION
- State after XML declaration but before the DTD declaration, if any. This
state is reached right after a
XMLEventListener.declaration()55 event notification. In this state the following event notifications are valid:- DTD declaration (
XMLEventListener.dtd(String,String,String)55 ) - white space (
XMLEventListener.whitespace(String)55 ) - comment (
XMLEventListener.comment(String)55 ) - processing instruction (
XMLEventListener.pi(String,String)55 ) - start tag (
XMLEventListener.startTag(String)55 )
- DTD declaration (
BEFORE_ROOT_ELEMENT
public static final XMLEventListenerState BEFORE_ROOT_ELEMENT
- State after DTD declaration but before the root element. This
state is reached right after a
XMLEventListener.dtd(String,String,String)55 event notification. In this state the following event notifications are valid:- white space (
XMLEventListener.whitespace(String)55 ) - comment (
XMLEventListener.comment(String)55 ) - processing instruction (
XMLEventListener.pi(String,String)55 ) - start tag (
XMLEventListener.startTag(String)55 )
- white space (
START_TAG_OPEN
public static final XMLEventListenerState START_TAG_OPEN
- State in which a start tag is still open. This state is entered after
XMLEventListener.startTag(String)55 is called. In this state the following event notifications are valid:- white space (
XMLEventListener.whitespace(String)55 ) - comment (
XMLEventListener.comment(String)55 ) - processing instruction (
XMLEventListener.pi(String,String)55 ) - attribute (
XMLEventListener.attribute(String,String)55 ) - another start tag (
XMLEventListener.startTag(String)55 ) - end tag (
XMLEventListener.endTag()55 )
- white space (
WITHIN_ELEMENT
public static final XMLEventListenerState WITHIN_ELEMENT
- State within an element, start tag is closed.
In this state the following event notifications are valid:
- white space (
XMLEventListener.whitespace(String)55 ) - comment (
XMLEventListener.comment(String)55 ) - processing instruction (
XMLEventListener.pi(String,String)55 ) - start tag (
XMLEventListener.startTag(String)55 ) - end tag (
XMLEventListener.endTag()55 )
- white space (
AFTER_ROOT_ELEMENT
public static final XMLEventListenerState AFTER_ROOT_ELEMENT
- State after the root element.
In this state the following event notifications are valid:
- whitespace (
XMLEventListener.whitespace(String)55 ) - comment (
XMLEventListener.comment(String)55 ) - processing instruction (
XMLEventListener.pi(String,String)55 )
- whitespace (
DOCUMENT_ENDED
public static final XMLEventListenerState DOCUMENT_ENDED
- State entered when the document is ended. No more event notifications are
valid.
ERROR_STATE
public static final XMLEventListenerState ERROR_STATE
- State reached when there was an error while writing output. No more
event notifications are valid.
|
|||||||||
| Home >> All >> org >> znerd >> [ xmlenc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC