Package-level declarations
Core package for a wrapper that provides XML pull parsing access. Note that the implementations may do some adjustments beyond what is provided by the underlying implementation to improve compatibility across platforms. The access point to the package/module is (XmlStreaming)nl.adaptivity.xml.XmlStreaming.
Core package for a wrapper that provides XML pull parsing access. Note that the implementations may do some adjustments beyond what is provided by the underlying implementation to improve compatibility across platforms. The access point to the package/module is (XmlStreaming)nl.adaptivity.xml.XmlStreaming.
Core package for a wrapper that provides XML pull parsing access. Note that the implementations may do some adjustments beyond what is provided by the underlying implementation to improve compatibility across platforms. The access point to the package/module is (XmlStreaming)nl.adaptivity.xml.XmlStreaming.
Core package for a wrapper that provides XML pull parsing access. Note that the implementations may do some adjustments beyond what is provided by the underlying implementation to improve compatibility across platforms. The access point to the package/module is (XmlStreaming)nl.adaptivity.xml.XmlStreaming.
Core package for a wrapper that provides XML pull parsing access. Note that the implementations may do some adjustments beyond what is provided by the underlying implementation to improve compatibility across platforms. The access point to the package/module is (XmlStreaming)nl.adaptivity.xml.XmlStreaming.
Core package for a wrapper that provides XML pull parsing access. Note that the implementations may do some adjustments beyond what is provided by the underlying implementation to improve compatibility across platforms. The access point to the package/module is (XmlStreaming)nl.adaptivity.xml.XmlStreaming.
Types
Android version of the streaming factory.
And XMLReader implementation that works on Android
Namespace context that allows iterating over the namespaces.
Interface that provides access to namespace queries
A simple namespace context that stores namespaces in a single array Created by pdvrieze on 24/08/15.
An implementation of XmlReader based upon the JDK StAX implementation.
An implementation of XmlWriter that uses an underlying stax writer. Created by pdvrieze on 16/11/15.
An xml reader that has a buffer that allows peeking events as well as injecting events into the stream. Note that this class does not do any validation of the xml. If injecting/removing elements into/from the buffer you can create invalid XML.
A reader that presents a list of events as an xml reader. This is designed to work together with XmlBufferedWriter
Simple baseclass for a delating XmlReader. It merely functions as a delegate With Kotlin it's not really needed, but nice.
Simple delegating writer that passes all calls on to the delegate. This class is abstract for the only reason that any direct instances of this class make little sense.
Simple exception for xml related things. Created by pdvrieze on 15/11/15.
Annotation to signify that the annotated code is internal to the XmlUtil module, and no API stability is guaranteed.
Properties
The default used flags
Flag to indicate that the xml declaration should be omitted, when possible.
Flag to indicate that the namespace usable should be automatically repaired.
Functions
Consume all text and non-content (comment/processing instruction) to get an uninterrupted text sequence. This will skip over comments but not ignorable whitespace that starts the string, but not tags. Any tags encountered will lead to a return of this function. Any tags encountered with cause an exception to be thrown. It can either be invoked when in a start tag to return all text content, or on a content element to include it (if text or cdata) and all subsequent siblings.
Get the next text sequence in the reader. This will skip over comments and ignorable whitespace (starting the content), but not tags. Any tags encountered with cause an exception to be thrown. It can either be invoked when in a start tag to return all text content, or on a content element to include it (if text or cdata) and all subsequent siblings.
Convert a prefixed element name (CNAME) to a qname. If there is no prefix, the default prefix is used.
Consume all text and non-content (comment/processing instruction) to get an uninterrupted text sequence. This will skip over comments and ignorable whitespace that starts the string, but not tags. Any tags encountered will lead to a return of this function. Any tags encountered with cause an exception to be thrown. It can either be invoked when in a start tag to return all text content, or on a content element to include it (if text or cdata) and all subsequent siblings.
Differs from .siblingsToFragment in that it skips the current event.
Read the current element (and content) only into a fragment.
Check that the current state is a start element for the given name. The mPrefix is ignored.
Determine whether the character is xml whitespace.
From a start tag read the text only content of the element. Comments are allowed and handled, but subtags are not allowed. This tag finishes at the end of the element.
Read the current element (and content) and all its siblings into a fragment.
Read the current element (and content) and all its siblings into a fragment.
From a start element, skip all element content until the corresponding end element has been read. After invocation the end element has just been read (and would be returned on relevant state calls).
Skil the preamble events in the stream reader
Convert the string as fqn literal to an actual qname
Convert the string as fqn literal to actual name, but use the namespace parameter to fill in namespace (but not prefix)
Write the current event to the writer. This will not move the reader.
Write
Write the child content of the current element in the reader to the output This does not write the container itself