Converts a yaidom Comment
to a sequence of XMLEvent
instances, given an XMLEventFactory
.
Converts a yaidom Comment
to a sequence of XMLEvent
instances, given an XMLEventFactory
.
Converts a yaidom Document
to a function from XMLEventFactory
s to sequences of XMLEvent
instances
Converts a yaidom Document
to a function from XMLEventFactory
s to sequences of XMLEvent
instances
Converts a yaidom Elem
to a sequence of XMLEvent
instances, given an XMLEventFactory
.
Converts a yaidom Elem
to a sequence of XMLEvent
instances, given an XMLEventFactory
.
The given parent scope is used, that is, the namespace declarations of the outer "start element event" is
parentScope.relativize(elm.scope)
.
Converts a yaidom Elem
to a function from XMLEventFactory
s to sequences of XMLEvent
instances.
Converts a yaidom Elem
to a function from XMLEventFactory
s to sequences of XMLEvent
instances.
The assumed parent scope is the empty scope, so the namespace declarations of the outer "start element event" follow from the
scope of the passed Elem
.
Converts a yaidom node to a sequence of XMLEvent
instances, given an XMLEventFactory
.
Converts a yaidom node to a sequence of XMLEvent
instances, given an XMLEventFactory
.
The given parent scope is used, in case the node is an Elem
.
Converts a yaidom ProcessingInstruction
to a sequence of XMLEvent
instances, given an XMLEventFactory
.
Converts a yaidom ProcessingInstruction
to a sequence of XMLEvent
instances, given an XMLEventFactory
.
Converts a yaidom Text
to a sequence of XMLEvent
instances, given an XMLEventFactory
.
Converts a yaidom Text
to a sequence of XMLEvent
instances, given an XMLEventFactory
.
Converts a StAX Comment
event to a yaidom Comment
Converts a StAX Comment
event to a yaidom Comment
Converts the given iterator of XMLEvent
instances to a yaidom Document
.
Converts the given iterator of XMLEvent
instances to a yaidom Document
.
First drops events until a "start document" event is found. After conversion, no "start/end document/element" events may be left.
Converts the given sequence of XMLEvent
instances to a yaidom Document
.
Converts the given sequence of XMLEvent
instances to a yaidom Document
. Invokes convertToDocument(v.iterator)
.
Converts the given iterator of XMLEvent
instances to a yaidom Elem
.
Converts the given iterator of XMLEvent
instances to a yaidom Elem
.
First drops events until a "start element" event is found. After conversion, no "start/end element" events may be left. The given parent scope is used.
Be careful: the namespaces inherited by the "start element event", if any, are ignored! In other words, the ancestry of the passed events is entirely ignored. This may cause an exception to be thrown, if there are indeed such namespaces, unless they are a subset of the passed parent scope.
Converts the given sequence of XMLEvent
instances to a yaidom Elem
.
Converts the given sequence of XMLEvent
instances to a yaidom Elem
. Invokes convertToElem(v.iterator, parentScope)
.
Be careful: the namespaces inherited by the "start element event", if any, are ignored! In other words, the ancestry of the passed events is entirely ignored. This may cause an exception to be thrown, if there are indeed such namespaces, unless they are a subset of the passed parent scope.
Converts a StAX EntityReference
event to a yaidom EntityRef
Converts a StAX EntityReference
event to a yaidom EntityRef
Converts a StAX ProcessingInstruction
event to a yaidom ProcessingInstruction
Converts a StAX ProcessingInstruction
event to a yaidom ProcessingInstruction
Converts a StAX Characters
event to a yaidom Text
Converts a StAX Characters
event to a yaidom Text
Returns encoding used in the createStartDocument call.
Returns encoding used in the createStartDocument call. Can be overridden.
Conversions between yaidom nodes and StAX events.
These conversions are used in implementations of yaidom XML parsers and printers. They are also useful in application code.