|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*/ |
|
|
|
package javax.xml.stream; |
|
|
|
/** |
|
* 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. |
|
* |
|
* @since 1.6 |
|
*/ |
|
|
|
public interface XMLStreamConstants { |
|
|
|
|
|
|
|
*/ |
|
public static final int START_ELEMENT=1; |
|
|
|
|
|
|
|
*/ |
|
public static final int END_ELEMENT=2; |
|
|
|
|
|
|
|
*/ |
|
public static final int PROCESSING_INSTRUCTION=3; |
|
|
|
|
|
|
|
|
|
*/ |
|
public static final int CHARACTERS=4; |
|
|
|
|
|
|
|
|
|
*/ |
|
public static final int COMMENT=5; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*/ |
|
public static final int SPACE=6; |
|
|
|
|
|
|
|
|
|
*/ |
|
public static final int START_DOCUMENT=7; |
|
|
|
|
|
|
|
|
|
*/ |
|
public static final int END_DOCUMENT=8; |
|
|
|
|
|
|
|
|
|
*/ |
|
public static final int ENTITY_REFERENCE=9; |
|
|
|
|
|
|
|
|
|
*/ |
|
public static final int ATTRIBUTE=10; |
|
|
|
|
|
|
|
|
|
*/ |
|
public static final int DTD=11; |
|
|
|
|
|
|
|
|
|
*/ |
|
public static final int CDATA=12; |
|
|
|
|
|
|
|
|
|
|
|
*/ |
|
public static final int NAMESPACE=13; |
|
|
|
|
|
|
|
|
|
*/ |
|
public static final int NOTATION_DECLARATION=14; |
|
|
|
|
|
|
|
|
|
*/ |
|
public static final int ENTITY_DECLARATION=15; |
|
} |