# Uses of Interface
javax.xml.stream.XMLStreamConstants

Packages that use XMLStreamConstants
Package
Description
javax.xml.stream
Defines interfaces and classes for the Streaming API for XML (StAX).
javax.xml.stream.events
Defines event interfaces for the Streaming API for XML (StAX).
javax.xml.stream.util
Provides utility classes for the Streaming API for XML (StAX).

- ## Uses of XMLStreamConstants in javax.xml.stream

  Subinterfaces of XMLStreamConstants in javax.xml.stream
  Modifier and Type
  Interface
  Description
  `interface`
  `XMLStreamReader`
  The XMLStreamReader interface allows forward, read-only access to XML.

- ## Uses of XMLStreamConstants in javax.xml.stream.events

  Subinterfaces of XMLStreamConstants in javax.xml.stream.events
  Modifier and Type
  Interface
  Description
  `interface`
  `Attribute`
  An interface that contains information about an attribute.
  `interface`
  `Characters`
  This describes the interface to Characters events.
  `interface`
  `Comment`
  An interface for comment events
  `interface`
  `DTD`
  This is the top level interface for events dealing with DTDs
  `interface`
  `EndDocument`
  A marker interface for the end of the document
  `interface`
  `EndElement`
  An interface for the end element event.
  `interface`
  `EntityDeclaration`
  An interface for handling Entity Declarations This interface is used to record and report unparsed entity declarations.
  `interface`
  `EntityReference`
  An interface for handling Entity events.
  `interface`
  `Namespace`
  An interface that contains information about a namespace.
  `interface`
  `NotationDeclaration`
  An interface for handling Notation Declarations Receive notification of a notation declaration event.
  `interface`
  `ProcessingInstruction`
  An interface that describes the data found in processing instructions
  `interface`
  `StartDocument`
  An interface for the start document event
  `interface`
  `StartElement`
  The StartElement interface provides access to information about start elements.
  `interface`
  `XMLEvent`
  This is the base event interface for handling markup events.

- ## Uses of XMLStreamConstants in javax.xml.stream.util

  Classes in javax.xml.stream.util that implement XMLStreamConstants
  Modifier and Type
  Class
  Description
  `class`
  `StreamReaderDelegate`
  This is the base class for deriving an XMLStreamReader filter This class is designed to sit between an XMLStreamReader and an application's XMLStreamReader.