javax.xml.stream

Interface XMLStreamConstants

Known Subinterfaces:
Attribute, Characters, Comment, DTD, EndDocument, EndElement, EntityDeclaration, EntityReference, Namespace, NotationDeclaration, ProcessingInstruction, StartDocument, StartElement, XMLEvent, XMLStreamReader
Known Implementing Classes:
ReaderDelegate

public interface XMLStreamConstants

STaX constants.

Field Summary

static int
ATTRIBUTE
An attribute event.
static int
CDATA
A CDATA section event.
static int
CHARACTERS
A text event.
static int
COMMENT
A comment event.
static int
DTD
A DOCTYPE declaration event.
static int
END_DOCUMENT
An end document event.
static int
END_ELEMENT
An end element event.
static int
ENTITY_DECLARATION
An entity declaration event.
static int
ENTITY_REFERENCE
An entity reference event.
static int
NAMESPACE
A namespace event.
static int
NOTATION_DECLARATION
A notation declaration event.
static int
PROCESSING_INSTRUCTION
A processing instruction event.
static int
SPACE
An ignorable whitespace event.
static int
START_DOCUMENT
A start document event.
static int
START_ELEMENT
A start element event.

Field Details

ATTRIBUTE

public static final int ATTRIBUTE
An attribute event.
Field Value:
10

CDATA

public static final int CDATA
A CDATA section event.
Field Value:
12

CHARACTERS

public static final int CHARACTERS
A text event.
Field Value:
4

COMMENT

public static final int COMMENT
A comment event.
Field Value:
5

DTD

public static final int DTD
A DOCTYPE declaration event.
Field Value:
11

END_DOCUMENT

public static final int END_DOCUMENT
An end document event.
Field Value:
8

END_ELEMENT

public static final int END_ELEMENT
An end element event.
Field Value:
2

ENTITY_DECLARATION

public static final int ENTITY_DECLARATION
An entity declaration event.
Field Value:
15

ENTITY_REFERENCE

public static final int ENTITY_REFERENCE
An entity reference event.
Field Value:
9

NAMESPACE

public static final int NAMESPACE
A namespace event.
Field Value:
13

NOTATION_DECLARATION

public static final int NOTATION_DECLARATION
A notation declaration event.
Field Value:
14

PROCESSING_INSTRUCTION

public static final int PROCESSING_INSTRUCTION
A processing instruction event.
Field Value:
3

SPACE

public static final int SPACE
An ignorable whitespace event.
Field Value:
6

START_DOCUMENT

public static final int START_DOCUMENT
A start document event.
Field Value:
7

START_ELEMENT

public static final int START_ELEMENT
A start element event.
Field Value:
1

XMLStreamConstants.java -- Copyright (C) 2005,2006 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.