SerializableCollection

class SerializableCollection<T : XmlSerializable>(name: <Error class: unknown class>, delegate: Collection<T>) : BaseSerializableContainer<T> , Collection<T>

Constructors

Link copied to clipboard
constructor(name: <Error class: unknown class>, delegate: Collection<T>)

Properties

Link copied to clipboard
open override val children: Iterable<T>
Link copied to clipboard
val name: <Error class: unknown class>
Link copied to clipboard
open override val size: Int

Functions

Link copied to clipboard
fun <T : XmlSerializable> Collection<T>.asSerializable(name: <Error class: unknown class>): SerializableCollection<T>
fun <T : XmlSerializable> Iterable<T>.asSerializable(name: <Error class: unknown class>): SerializableContainer<T>
Link copied to clipboard
open operator override fun contains(element: T): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<T>): Boolean
Link copied to clipboard

Utility method to deserialize a list of xml containing strings

Link copied to clipboard
open fun forEach(p0: Consumer<in T>)
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<T>
Link copied to clipboard
open fun parallelStream(): Stream<T>
Link copied to clipboard
open override fun serialize(out: <Error class: unknown class>)

Write the object to an xml stream. The object is expected to write itself and its children.

Link copied to clipboard
fun XmlSerializable.serialize(writer: <Error class: unknown class>)

Serialize the object to XML

Link copied to clipboard
open override fun spliterator(): Spliterator<T>
Link copied to clipboard
open fun stream(): Stream<T>
Link copied to clipboard

Extension functions for writing that need different js/jvm implementations

Link copied to clipboard

Create a reader that can be used to read the xml serialization of the element.

Link copied to clipboard

Do bulk toString conversion of a list. Note that this is serialization, not dropping tags.

Link copied to clipboard