J avolution v5.5 (J2SE 1.6+)

Package javolution.xml.stream

Provides StAX-like XML readers/writers which do not require object creation (such as String) and are consequently faster and more time predictable than standard StAX classes.

See:
          Description

Interface Summary
Location Provides information on the location of an event.
NamespaceContext This interface represents the XML namespace context stack while parsing.
XMLStreamConstants This interface declares the constants used in this API.
XMLStreamReader This interface is similar to javax.xml.stream.XMLStreamReader; but it does not forces dynamic allocation when parsing (its methods returns CharArray instances instead of String).
XMLStreamWriter This interface is similar to javax.xml.stream.XMLStreamWriter; but it does not forces dynamic allocation when formatting (any CharSequence can be used instead of String).
 

Class Summary
XMLInputFactory The class represents the factory for getting XMLStreamReader intances.
XMLOutputFactory The class represents the factory for getting XMLStreamWriter intances.
XMLStreamReaderImpl This class represents a reusable implementation of XMLStreamWriter.
XMLStreamWriterImpl This class represents a reusable implementation of XMLStreamWriter.
 

Exception Summary
XMLStreamException This class represents the base exception for unexpected processing errors.
 

Package javolution.xml.stream Description

Provides StAX-like XML readers/writers which do not require object creation (such as String) and are consequently faster and more time predictable than standard StAX classes.

The main difference with "javax.xml.stream.*" classes is the use of CharSequence instead of String. Since String is a CharSequence (JDK 1.4+), most existing StAX code requires very little modification to be used with these new classes.

For more information about the usage of this package please read the documentation for the XMLStreamReader and XMLStreamWriter interfaces.

For more information about StAX (Streaming API for XML) in general see Wikipedia: StAX


J avolution v5.5 (J2SE 1.6+)

Copyright © 2005 - 2009 Javolution.