public interface ObjectDeserializer
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(String value)
Used for turning attributes and tag names into objects.
|
default Object |
convert(XmlElement element)
Used in most cases when we have an Element and we need to convert it into an Object.
|
default <T> T |
convert(XmlElement element,
Class<T> clazz) |
static Map<Class<?>,ObjectDeserializer> |
defaultDeserializers() |
Object convert(String value)
value - the value to convertdefault Object convert(XmlElement element)
element - the XML element to convertdefault <T> T convert(XmlElement element, Class<T> clazz)
static Map<Class<?>,ObjectDeserializer> defaultDeserializers()
Copyright © 2019. All rights reserved.