public interface XmlReader extends Interfaces.AccessDeserializers
| Modifier and Type | Method and Description |
|---|---|
default Object |
attributeToValue(Class<?> type,
String name,
Element node) |
default Object[] |
domToArray(Class<?> type,
String name,
Element node) |
default List<Object> |
domToList(Class<?> type,
String name,
Element node) |
default Map<Object,Object> |
domToMap(ParameterizedType type,
String name,
Element node) |
default <T> T |
domToObject(Element node,
Class<T> clazz) |
default Set<Object> |
domToSet(Class<?> type,
String name,
Element node) |
static String |
getNameOfTag(String tag) |
static int |
indexOfNonWhitespaceChar(String input,
int offset) |
static int |
indexOfWhitespaceChar(String input,
int offset) |
static HashMap<String,String> |
parseAttributes(String input) |
static Element |
parseXML(InputStreamReader in) |
static String |
readLine(InputStreamReader in,
char end) |
default Object |
stringToValue(Class<?> type,
String value) |
default Object |
textNodeToValue(Class<?> type,
Element node) |
getDeserializerdefault <T> T domToObject(Element node, Class<T> clazz) throws IllegalAccessException
IllegalAccessExceptiondefault Object textNodeToValue(Class<?> type, Element node) throws IllegalAccessException
IllegalAccessExceptiondefault Object attributeToValue(Class<?> type, String name, Element node) throws IllegalAccessException
IllegalAccessExceptiondefault Set<Object> domToSet(Class<?> type, String name, Element node) throws IllegalAccessException
IllegalAccessExceptiondefault List<Object> domToList(Class<?> type, String name, Element node) throws IllegalAccessException
IllegalAccessExceptiondefault Object[] domToArray(Class<?> type, String name, Element node) throws IllegalAccessException
IllegalAccessExceptiondefault Map<Object,Object> domToMap(ParameterizedType type, String name, Element node) throws IllegalAccessException
IllegalAccessExceptionstatic Element parseXML(InputStreamReader in) throws IOException
IOExceptionstatic String readLine(InputStreamReader in, char end) throws IOException
IOExceptionstatic int indexOfNonWhitespaceChar(String input, int offset)
static int indexOfWhitespaceChar(String input, int offset)
Copyright © 2018. All rights reserved.