Uses of Class javax.xml.stream.XMLStreamException

Uses in package javax.xml.stream

Methods which throw type javax.xml.stream.XMLStreamException

void
Adds the specified XML stream to this writer.
void
Adds the specified event to this writer.
void
Free any resources associated with this parser.
void
Frees any resources used by this writer.
void
Frees any resources used by this parser.
void
Frees any resources used by this writer.
XMLEventReader
Create a new filtered reader.
XMLStreamReader
Create a new filtered reader.
XMLEventReader
Creates a new event reader.
XMLEventReader
Creates a new event reader.
XMLEventReader
Creates a new event reader.
XMLEventReader
Creates a new event reader.
XMLEventReader
Creates a new event reader.
XMLEventReader
Creates a new event reader.
XMLEventReader
Creates a new event reader.
XMLEventWriter
Creates a new event writer.
XMLEventWriter
Creates a new event writer.
XMLEventWriter
Creates a new event writer.
XMLEventWriter
Creates a new event writer.
XMLStreamReader
Creates a new stream reader.
XMLStreamReader
Creates a new stream reader.
XMLStreamReader
Creates a new stream reader.
XMLStreamReader
Creates a new stream reader.
XMLStreamReader
Creates a new stream reader.
XMLStreamReader
Creates a new stream reader.
XMLStreamWriter
Creates a new stream writer.
XMLStreamWriter
Creates a new stream writer.
XMLStreamWriter
Creates a new stream writer.
XMLStreamWriter
Creates a new stream writer.
void
Ensures that any cached events are written to the underlying output sink.
void
Flushes any cached information to the underlying output sink.
String
Reads the text context of an element.
String
Returns the text content of a text-only element.
String
Returns the namespace prefix the specified URI is currently associated with.
String
Returns the prefix associated with the given namespace URI.
int
XMLStreamReader.getTextCharacters(int sourceStart, char[] target, int targetStart, int length)
Copies the string value of the current event into the specified character array.
boolean
Indicates whether there are any remaining events to be read.
int
Returns the next parsing event.
XMLEvent
Returns the next XML event.
XMLEvent
Returns the next element event.
int
Skips any ignorable whitespace, comments, and processing instructions until a START_ELEMENT or END_ELEMENT event is encountered.
XMLEvent
Looks at the next XML event without advancing the cursor in the stream.
void
XMLReporter.report(String message, String errorType, Object relatedInformation, Location location)
Reports an error.
void
XMLStreamReader.require(int type, String namespaceURI, String localName)
Tests whether the current event is of the given type and namespace.
Object
XMLResolver.resolveEntity(String publicID, String systemID, String baseURI, String namespace)
Returns an input source from which the specified external entity can be read.
void
Sets the current default namespace URI.
void
Sets the URI for the default namespace.
void
Sets the namespace context for managing namespace prefixes and URIs.
void
Sets the namespace context for namespace resolution.
void
Associates the given namespace prefix and URI.
void
Sets the prefix for the given namespace URI.
void
Write an attribute.
void
XMLStreamWriter.writeAttribute(String namespaceURI, String localName, String value)
Write an attribute.
void
XMLStreamWriter.writeAttribute(String prefix, String namespaceURI, String localName, String value)
Write an attribute.
void
Write a CDATA section.
void
XMLStreamWriter.writeCharacters(char[] text, int start, int len)
Write the specified text.
void
Write the specified text.
void
Write a comment.
void
Write a DOCTYPE declaration.
void
Write a default namespace declaration.
void
Write an empty tag.
void
XMLStreamWriter.writeEmptyElement(String namespaceURI, String localName)
Write an empty tag.
void
XMLStreamWriter.writeEmptyElement(String prefix, String localName, String namespaceURI)
Write an empty tag.
void
Closes any currently open tags.
void
Closes the currently open tag.
void
Write an entity reference.
void
Write a namespace declaration.
void
Write a processing instruction.
void
Write a processing instruction.
void
Write an XML declaration.
void
Write an XML declaration with the specified XML version.
void
Write an XML declaration with the specifed XML version and encoding.
void
Write the start of a tag.
void
XMLStreamWriter.writeStartElement(String namespaceURI, String localName)
Write the start of a tag.
void
XMLStreamWriter.writeStartElement(String prefix, String localName, String namespaceURI)
Write the start of a tag.

Uses in package javax.xml.stream.events

Methods which throw type javax.xml.stream.XMLStreamException

void
Writes this event to the specified writer.

Uses in package javax.xml.stream.util

Methods which throw type javax.xml.stream.XMLStreamException

void
Consumes an event.
XMLEvent
Allocates an event based on the current state of the stream reader.
void
Allocates one or more events based on the current state of the stream reader and adds those events to the specified consumer.
void
Free any resources associated with this parser.
void
String
Reads the text context of an element.
String
int
StreamReaderDelegate.getTextCharacters(int sourceStart, char[] target, int targetStart, int length)
boolean
int
XMLEvent
Returns the next XML event.
XMLEvent
Returns the next element event.
int
XMLEvent
Looks at the next XML event without advancing the cursor in the stream.
void
StreamReaderDelegate.require(int type, String namespaceURI, String localName)