|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
XMLStreamReader.getNamespaceContext()
,
except that this method also does close the underlying input
source if it has not yet been closed.
XMLStreamWriter.close()
,
except that this method also does close the underlying output
destination (stream) if it has not yet been closed.
InputStream
via which underlying input
source can be accessed.
OutputStream
via which underlying output
target can be written to.
Reader
via which underlying input
source can be accessed.
Writer
via which underlying output
target can be written to.
XMLValidator.CONTENT_ALLOW_WS_NONSTRICT
,
but only used for content typing purposes, not for validation.
XMLInputFactory2
instance.
XMLOutputFactory2
instance.
XMLValidationSchemaFactory
instance.
XMLStreamReader
.XMLStreamWriter
as a facade on top of a DOM document or Node, allowing one
to basically construct DOM trees via Stax API.DTD
with methods that are
necessary to completely reproduce actual DOCTYPE declaration
constructs in xml documents.NamespaceContext
implementation that contains no
namespace information, except bindings that are specified by
the namespace specification itself (for prefixes "xml" and "xmlns")ValueDecoderFactory.BaseArrayDecoder.hasRoom()
returns false) and
will expand result buffer to hold at least one more value.
XMLInputFactory2.P_DTD_OVERRIDE
instead.
localName
and URI is namespaceURI
or -1
if no such attribute exists.
DTDInfo
, method can just
return this
.
TypedXMLStreamReader.readElementAsBinary(byte[], int, int, org.codehaus.stax2.typed.Base64Variant)
, in cases where neither performance nor
memory usage is a big concern.
TypedXMLStreamReader.readElementAsBinary(byte[], int, int, org.codehaus.stax2.typed.Base64Variant)
, in cases where neither performance nor
memory usage is a big concern.
XMLStreamReader.getProperty(java.lang.String)
instead
Location
object to use for
an event to create.
XMLStreamReader.getNamespaceContext()
,
but one that is
not transient.
DTDInfo.getProcessedDTD()
, but type-safe.
DOMWrappingReader.getText()
, except
that it just uses provided Writer to write all textual content.
XMLStreamReader.getText()
, except
that it just uses provided Writer to write all textual content,
and that it works for wider range of event types.
XMLStreamException
, the reference implementation
doesn't currently need to.
XMLEventReader.hasNext()
, except that it can
throw a XMLStreamException
.
XMLInputFactory.isPropertySupported(java.lang.String)
, used
to determine whether a property is supported by the Reader
instance.
XMLInputFactory.isPropertySupported(java.lang.String)
, used
to determine whether a property is supported by the Reader
instance.
XMLOutputFactory.isPropertySupported(java.lang.String)
, used
to determine whether a property is supported by the Writer
instance.
Base64Variants.MIME
which does not
use linefeeds (max line length set to infinite).
Namespace
.NotationDeclaration
to add
support for handling Base URI needed to resolve Notation references.XMLValidationSchema
,
such as XMLValidationSchema.SCHEMA_ID_DTD
)
that the schema factory this provider handles supports.
XMLStreamReader.next()
is called, and only parse the rest
as needed (or skip remainder of no extra information is needed).
Base64Variants.MIME
: it is otherwise
identical, except that it mandates shorter line length.
XMLStreamReader2.setProperty(java.lang.String, java.lang.Object)
instead
XMLInputFactory2
instance.
XMLInputFactory2
instance.
XMLOutputFactory2
instance.
StartElement
implementation used when event is constructed
from already objectified data, for example when constructed by the event
factory.Stax2Result
s
that an be used to write to in-memory (low-level) data structures,
such as byte and char arrays, StringBuffers and so forth.Stax2Source
s
that an be used to access fixed-length in-memory data sources, such
as byte and char arrays, Strings, StringBuffers and so forth.Stax2BlockSource
that encapsulates
a byte array.Stax2BlockSource
that encapsulates
an char array.XMLEventAllocator
, to be
used either as is, or as a base for more specialized Stax2
event allocator implementation.XMLEventFactory2
.XMLEventReader2
, the
extended stream reader defined by Stax2 extension, by wrapping
a vanilla Stax 1.0 XMLEventReader
implementation.XMLEventReader2
, built on top of
a generic XMLStreamReader
implementation (using aggregation).XMLEventWriter
.Stax2ReferentialResult
, which refers
to the specific file.Stax2ReferentialSource
, which refers
to the specific file.XMLStreamReader2
).XMLInputFactory2
instances with OSGi framework.XMLStreamLocation2
, which just
wraps Stax 1.0 Location
and adds no-operation implementation
of the additions.XMLOutputFactory2
instances with OSGi framework.XMLStreamReader2
, the
extended stream reader defined by Stax2 extension, by wrapping
a vanilla Stax 1.0 XMLStreamReader
implementation.XMLStreamReader2
,
the extended stream reader that is part of Stax2.Stax2Result
s
that refer to a resource in such a way, that an efficient
OutputStream
or Writer
can be constructed.Stax2Source
s
that refer to a resource in such a way, that an efficient
InputStream
or Reader
can be constructed.Result
) that Stax2
XMLInputFactory2
implementations should support.Source
) that Stax2
XMLInputFactory2
implementations should support.Stax2BlockSource
that encapsulates
a simple String
.Stax2ReferentialSource
, which refers
to the specific file.XMLValidationSchemaFactory
instances with OSGi framework.XMLStreamWriter2
, the
extended stream writer defined by Stax2 extension, by wrapping
a vanilla Stax 1.0 XMLStreamReader
implementation.XMLStreamWriter2
,
the extended stream writer that is part of Stax2.Validatable.validateAgainst(org.codehaus.stax2.validation.XMLValidationSchema)
was called earlier.
StreamReaderDelegate
,
but implements a proxy for XMLStreamWriter
.XMLValidationException
to throw based on information contained in this object.
TypedXMLStreamReader
to allow for efficient customized
decoding of textual xml content into actual typed values.TypedXMLStreamReader
or an TypedXMLStreamWriter
.XMLStreamReader
.XMLStreamWriter
.XMLValidator
instance from the
given schema (unless a validator for that schema has already been
added),
initialize it if necessary, and make validatable object (reader,
writer)
call appropriate validation methods from this point on until the
end of the document (that is, it's not scoped with sub-trees), or until
validator is removed by an explicit call to
Validatable.stopValidatingAgainst(org.codehaus.stax2.validation.XMLValidationSchema)
.
XMLValidator.validateAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
on all
attributes (if any), but before starting to handle element
content.
XMLValidator
instances.TypedValueDecoder
(and TypedArrayDecoder
)
instances needed by a
single stream reader instance.AsciiValueEncoder
instances needed by a single
stream writer instance.XMLEventReader2
.
XMLStreamReader2
.
XMLStreamWriter2
.
XMLStreamWriter.writeEndElement()
, but that will always
write the full end element, instead of empty element.
XMLEvent2
with method(s)
that are missing from it; specifically linkage that allows using
a stream/event writer for outputting.XMLEventFactory
; especially ones for creating actual
well-behaving DOCTYPE events.XMLEventReader
, based on findings on trying to
implement Stax API v1.0.XMLInputFactory
that adds some convenience factory
methods as new standard properties that conforming stream
reader factory and instance implementations need to
recognize, and preferably support.XMLInputFactory
to add
missing functionality.XMLReporter
to allow for better access to
information about the actual problem.Location
that adds accessor to retrieve nested
location information.XMLStreamReader
.XMLStreamWriter
,
as well as to configure individual instances.XMLStreamException
, to be used for
indicating fatal validation problems (when in mode in which exceptions
are to be thrown).XMLValidationSchema
instances.XMLStreamReader
and
XMLStreamWriter
instances can call to validate
xml documents.XMLStreamProperties.XSP_IMPLEMENTATION_NAME
) property.
XMLStreamProperties.XSP_SUPPORT_XMLID
.
XMLStreamProperties.XSP_SUPPORT_XMLID
.
XMLStreamProperties.XSP_SUPPORT_XMLID
.
XMLInputFactory.IS_NAMESPACE_AWARE
) or not
XMLInputFactory.IS_COALESCING
) or not
TypedXMLStreamException
,
TypedXMLStreamException
,
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |