| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 | ATTRIBUTEIndicates an event is an attribute | 
| static int | CDATAIndicates an event is a CDATA section | 
| static int | CHARACTERSIndicates an event is characters | 
| static int | COMMENTIndicates an event is a comment | 
| static int | DTDIndicates an event is a DTD | 
| static int | END_DOCUMENTIndicates an event is an end document | 
| static int | END_ELEMENTIndicates an event is an end element | 
| static int | ENTITY_DECLARATIONIndicates a Entity Declaration | 
| static int | ENTITY_REFERENCEIndicates an event is an entity reference | 
| static int | NAMESPACEIndicates the event is a namespace declaration | 
| static int | NOTATION_DECLARATIONIndicates a Notation | 
| static int | PROCESSING_INSTRUCTIONIndicates an event is a processing instruction | 
| static int | SPACEThe characters are white space (see [XML], 2.10 "White Space Handling"). | 
| static int | START_DOCUMENTIndicates an event is a start document | 
| static int | START_ELEMENTIndicates an event is a start element | 
| Field Detail | 
|---|
static final int START_ELEMENT
StartElement, 
Constant Field Valuesstatic final int END_ELEMENT
EndElement, 
Constant Field Valuesstatic final int PROCESSING_INSTRUCTION
ProcessingInstruction, 
Constant Field Valuesstatic final int CHARACTERS
Characters, 
Constant Field Valuesstatic final int COMMENT
Comment, 
Constant Field Valuesstatic final int SPACE
Characters, 
Constant Field Valuesstatic final int START_DOCUMENT
StartDocument, 
Constant Field Valuesstatic final int END_DOCUMENT
EndDocument, 
Constant Field Valuesstatic final int ENTITY_REFERENCE
EntityReference, 
Constant Field Valuesstatic final int ATTRIBUTE
Attribute, 
Constant Field Valuesstatic final int DTD
DTD, 
Constant Field Valuesstatic final int CDATA
Characters, 
Constant Field Valuesstatic final int NAMESPACE
Namespace, 
Constant Field Valuesstatic final int NOTATION_DECLARATION
NotationDeclaration, 
Constant Field Valuesstatic final int ENTITY_DECLARATION
NotationDeclaration, 
Constant Field Values| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.