Class XMLStreamConstants
Useful constants for working with XML streams.
Constant Summary
Constructor Summary
Method Summary
Methods inherited from class Object
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
Constant Details
ATTRIBUTE
- ATTRIBUTE: Number = 10
Represents an attribute in an element.
CDATA
- CDATA: Number = 12
Represents a CDATA section in an element.
CHARACTERS
- CHARACTERS: Number = 4
Represents the character data in an XML document.
- COMMENT: Number = 5
Represents a comment in an XML document.
DTD
- DTD: Number = 11
Represents the document type definition.
END_DOCUMENT
- END_DOCUMENT: Number = 8
Represents the end of an XML document.
END_ELEMENT
- END_ELEMENT: Number = 2
Represents the end of an element in an XML document.
ENTITY_DECLARATION
- ENTITY_DECLARATION: Number = 15
Represents the entity declaration in an XML document.
ENTITY_REFERENCE
- ENTITY_REFERENCE: Number = 9
Represents an entity reference in an XML document.
NAMESPACE
- NAMESPACE: Number = 13
Represents a namespace declaration in an XML document.
NOTATION_DECLARATION
- NOTATION_DECLARATION: Number = 14
Represents the notation declaration in an XML document.
PROCESSING_INSTRUCTION
- PROCESSING_INSTRUCTION: Number = 3
Represents processing instruction in an XML document.
SPACE
- SPACE: Number = 6
Represents a space in an XML document.
START_DOCUMENT
- START_DOCUMENT: Number = 7
Represents the start of an XML document.
START_ELEMENT
- START_ELEMENT: Number = 1
Represents the start of an element in an XML document.
Constructor Details
XMLStreamConstants()
- XMLStreamConstants()