SerializableList

class SerializableList<T : XmlSerializable>(name: <Error class: unknown class>, delegate: List<T>) : BaseSerializableContainer<T> , List<T>

Constructors

Link copied to clipboard
constructor(name: <Error class: unknown class>, delegate: List<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
open override fun addFirst(p0: T)
Link copied to clipboard
open override fun addLast(p0: T)
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>
fun <T : XmlSerializable> List<T>.asSerializable(name: <Error class: unknown class>): SerializableList<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 override fun forEach(action: Consumer<in T>?)
Link copied to clipboard
open operator override fun get(index: Int): T
Link copied to clipboard
open override fun indexOf(element: T): Int
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): MutableIterator<T>
Link copied to clipboard
open override fun lastIndexOf(element: T): Int
Link copied to clipboard
open override fun listIterator(): MutableListIterator<T>
open override fun listIterator(index: Int): MutableListIterator<T>
Link copied to clipboard
open override fun parallelStream(): Stream<T>
Link copied to clipboard
open override fun removeFirst(): T
Link copied to clipboard
open override fun removeLast(): T
Link copied to clipboard
open override fun reversed(): MutableList<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 override fun stream(): Stream<T>
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): MutableList<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