Package xmlparser
Interface XmlReader
- All Superinterfaces:
Interfaces.AccessDeserializers
-
Method Summary
Modifier and TypeMethodDescriptiondefault ObjectattributeToValue(Class<?> type, String name, XmlElement node) default XmlElementdeWrap(XmlElement element, Field field) default Object[]domToArray(Class<?> type, String name, XmlElement node) domToList(Field field, Class<?> type, String name, XmlElement node) domToMap(Field field, ParameterizedType type, String name, XmlElement node) default <T> TdomToObject(XmlElement node, Class<T> clazz) domToSet(Field field, Class<?> type, String name, XmlElement node) default ObjectenumNodeToValue(Class<? extends Enum> type, String name, XmlElement node) getEnumValueDirectory(Class<T> type) booleannewEnumValueMap(Class<T> type) default ObjectstringToValue(Class<?> type, String value) default ObjecttextNodeToValue(Class<?> type, XmlElement node) static XmlElementtoXmlDom(InputStreamReader in, Trimming.Trim trimmer, Escaping.UnEscape escaper) default <T extends Enum>
TvalueOfEnum(Class<T> type, String value) Methods inherited from interface xmlparser.utils.Interfaces.AccessDeserializers
getDeserializer
-
Method Details
-
domToObject
- Throws:
InvalidXPath
-
deWrap
-
textNodeToValue
-
enumNodeToValue
-
isEnumCachingEnabled
boolean isEnumCachingEnabled() -
getEnumCache
-
getEnumValueDirectory
-
newEnumValueMap
-
valueOfEnum
-
attributeToValue
-
stringToValue
-
domToSet
default Set<Object> domToSet(Field field, Class<?> type, String name, XmlElement node) throws InvalidXPath - Throws:
InvalidXPath
-
domToList
default List<Object> domToList(Field field, Class<?> type, String name, XmlElement node) throws InvalidXPath - Throws:
InvalidXPath
-
domToArray
- Throws:
InvalidXPath
-
domToMap
default Map<Object,Object> domToMap(Field field, ParameterizedType type, String name, XmlElement node) -
toXmlDom
static XmlElement toXmlDom(InputStreamReader in, Trimming.Trim trimmer, Escaping.UnEscape escaper) throws IOException - Throws:
IOException
-