SimpleXmlDeserializable

Despite the name it is reasonably sophisticated, but it structures the parsing of the children and provides them individually. This in contrast to ExtXmlDeserializable that provides full access to parse the content whatever way desired. Created by pdvrieze on 04/11/15.

Properties

Link copied to clipboard

The name of the element, needed for the automated validation

Functions

Link copied to clipboard
open fun deserializeAttribute(attributeNamespace: String?, attributeLocalName: String, attributeValue: String): Boolean

Handle the given attribute.

Link copied to clipboard

Handle the current child element

Link copied to clipboard
open fun deserializeChildText(elementText: CharSequence): Boolean

Handle text content in the node. This may be called multiple times in a single element if there are tags in between or the parser isn't coalescing.

Link copied to clipboard

Listener called just before the children are deserialized. After attributes have been processed.