XMLStreamConstants (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.xml.stream Interface XMLStreamConstants

所有已知子接口:
Attribute, Characters, Comment, DTD, EndDocument, EndElement, EntityDeclaration, EntityReference, Namespace, NotationDeclaration, ProcessingInstruction, StartDocument, StartElement, XMLEvent, XMLStreamReader
所有已知实现子孙类:
StreamReaderDelegate

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.


字段摘要
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
 

字段详细信息

START_ELEMENT

static final int START_ELEMENT
Indicates an event is a start element

另请参见:
StartElement, 常量字段


END_ELEMENT

static final int END_ELEMENT
Indicates an event is an end element

另请参见:
EndElement, 常量字段


PROCESSING_INSTRUCTION

static final int PROCESSING_INSTRUCTION
Indicates an event is a processing instruction

另请参见:
ProcessingInstruction, 常量字段


CHARACTERS

static final int CHARACTERS
Indicates an event is characters

另请参见:
Characters, 常量字段


COMMENT

static final int COMMENT
Indicates an event is a comment

另请参见:
Comment, 常量字段


SPACE

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.

另请参见:
Characters, 常量字段


START_DOCUMENT

static final int START_DOCUMENT
Indicates an event is a start document

另请参见:
StartDocument, 常量字段


END_DOCUMENT

static final int END_DOCUMENT
Indicates an event is an end document

另请参见:
EndDocument, 常量字段


ENTITY_REFERENCE

static final int ENTITY_REFERENCE
Indicates an event is an entity reference

另请参见:
EntityReference, 常量字段


ATTRIBUTE

static final int ATTRIBUTE
Indicates an event is an attribute

另请参见:
Attribute, 常量字段


DTD

static final int DTD
Indicates an event is a DTD

另请参见:
DTD, 常量字段


CDATA

static final int CDATA
Indicates an event is a CDATA section

另请参见:
Characters, 常量字段


NAMESPACE

static final int NAMESPACE
Indicates the event is a namespace declaration

另请参见:
Namespace, 常量字段


NOTATION_DECLARATION

static final int NOTATION_DECLARATION
Indicates a Notation

另请参见:
NotationDeclaration, 常量字段


ENTITY_DECLARATION

static final int ENTITY_DECLARATION
Indicates a Entity Declaration

另请参见:
NotationDeclaration, 常量字段


Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.