-
- All Known Subinterfaces:
- Attribute, Characters, Comment, DTD, EndDocument, EndElement, EntityDeclaration, EntityReference, Namespace, NotationDeclaration, ProcessingInstruction, StartDocument, StartElement, XMLEvent, XMLStreamReader
- All Known Implementing Classes:
- 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.- Since:
- 1.6
-
-
Field Summary
Fields Modifier and Type Field and Description static int
ATTRIBUTE
Indicates an event is an attributestatic int
CDATA
Indicates an event is a CDATA sectionstatic int
CHARACTERS
Indicates an event is charactersstatic int
COMMENT
Indicates an event is a commentstatic int
DTD
Indicates an event is a DTDstatic int
END_DOCUMENT
Indicates an event is an end documentstatic int
END_ELEMENT
Indicates an event is an end elementstatic int
ENTITY_DECLARATION
Indicates a Entity Declarationstatic int
ENTITY_REFERENCE
Indicates an event is an entity referencestatic int
NAMESPACE
Indicates the event is a namespace declarationstatic int
NOTATION_DECLARATION
Indicates a Notationstatic int
PROCESSING_INSTRUCTION
Indicates an event is a processing instructionstatic int
SPACE
The characters are white space (see [XML], 2.10 "White Space Handling").static int
START_DOCUMENT
Indicates an event is a start documentstatic int
START_ELEMENT
Indicates an event is a start element
-
-
-
Field Detail
-
START_ELEMENT
static final int START_ELEMENT
Indicates an event is a start element- See Also:
StartElement
, Constant Field Values
-
END_ELEMENT
static final int END_ELEMENT
Indicates an event is an end element- See Also:
EndElement
, Constant Field Values
-
PROCESSING_INSTRUCTION
static final int PROCESSING_INSTRUCTION
Indicates an event is a processing instruction- See Also:
ProcessingInstruction
, Constant Field Values
-
CHARACTERS
static final int CHARACTERS
Indicates an event is characters- See Also:
Characters
, Constant Field Values
-
COMMENT
static final int COMMENT
Indicates an event is a comment- See Also:
Comment
, Constant Field Values
-
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.- See Also:
Characters
, Constant Field Values
-
START_DOCUMENT
static final int START_DOCUMENT
Indicates an event is a start document- See Also:
StartDocument
, Constant Field Values
-
END_DOCUMENT
static final int END_DOCUMENT
Indicates an event is an end document- See Also:
EndDocument
, Constant Field Values
-
ENTITY_REFERENCE
static final int ENTITY_REFERENCE
Indicates an event is an entity reference- See Also:
EntityReference
, Constant Field Values
-
ATTRIBUTE
static final int ATTRIBUTE
Indicates an event is an attribute- See Also:
Attribute
, Constant Field Values
-
DTD
static final int DTD
Indicates an event is a DTD- See Also:
DTD
, Constant Field Values
-
CDATA
static final int CDATA
Indicates an event is a CDATA section- See Also:
Characters
, Constant Field Values
-
NAMESPACE
static final int NAMESPACE
Indicates the event is a namespace declaration- See Also:
Namespace
, Constant Field Values
-
NOTATION_DECLARATION
static final int NOTATION_DECLARATION
Indicates a Notation- See Also:
NotationDeclaration
, Constant Field Values
-
ENTITY_DECLARATION
static final int ENTITY_DECLARATION
Indicates a Entity Declaration- See Also:
NotationDeclaration
, Constant Field Values
-
-
Traduction non disponible
Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Version en cache
22/12/2024 10:35:16 Cette version de la page est en cache (à la date du 22/12/2024 10:35:16) afin d'accélérer le traitement. Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la dernère version de la page.Document créé le 11/06/2005, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-javax/xml/stream/XMLStreamConstants.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.