This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.xml.stream
interface XMLStreamConstants

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

public interface XMLStreamConstants

This interface declares the constants used in this API. Numbers in the range 0 to 256 are reserved for the specification, user defined events must use event codes outside that range.


Field Summary
static int ATTRIBUTE
          Indicates an event is an attribute
static int CDATA
          Indicates an event is a CDATA section
static int CHARACTERS
          Indicates an event is characters
static int COMMENT
          Indicates an event is a comment
static int DTD
          Indicates an event is a DTD
static int END_DOCUMENT
          Indicates an event is an end document
static int END_ELEMENT
          Indicates an event is an end element
static int ENTITY_DECLARATION
          Indicates a Entity Declaration
static int ENTITY_REFERENCE
          Indicates an event is an entity reference
static int NAMESPACE
          Indicates the event is a namespace declaration
static int NOTATION_DECLARATION
          Indicates a Notation
static int PROCESSING_INSTRUCTION
          Indicates an event is a processing instruction
static int SPACE
          The characters are white space (see [XML], 2.10 "White Space Handling").
static int START_DOCUMENT
          Indicates an event is a start document
static int START_ELEMENT
          Indicates an event is a start element
 

Field Detail

ATTRIBUTE

public static final int ATTRIBUTE
Indicates an event is an attribute

CDATA

public static final int CDATA
Indicates an event is a CDATA section

CHARACTERS

public static final int CHARACTERS
Indicates an event is characters

COMMENT

public static final int COMMENT
Indicates an event is a comment

DTD

public static final int DTD
Indicates an event is a DTD

END_DOCUMENT

public static final int END_DOCUMENT
Indicates an event is an end document

END_ELEMENT

public static final int END_ELEMENT
Indicates an event is an end element

ENTITY_DECLARATION

public static final int ENTITY_DECLARATION
Indicates a Entity Declaration

ENTITY_REFERENCE

public static final int ENTITY_REFERENCE
Indicates an event is an entity reference

NAMESPACE

public static final int NAMESPACE
Indicates the event is a namespace declaration

NOTATION_DECLARATION

public static final int NOTATION_DECLARATION
Indicates a Notation

PROCESSING_INSTRUCTION

public static final int PROCESSING_INSTRUCTION
Indicates an event is a processing instruction

SPACE

public static final int SPACE
The characters are white space (see [XML], 2.10 "White Space Handling"). Events are only reported as SPACE if they are ignorable white space. Otherwise they are reported as CHARACTERS.

START_DOCUMENT

public static final int START_DOCUMENT
Indicates an event is a start document

START_ELEMENT

public static final int START_ELEMENT
Indicates an event is a start element


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.