| Package | Description |
|---|---|
| simplexml | |
| simplexml.model | |
| simplexml.parsing | |
| simplexml.utils | |
| simplexml.xpath |
| Modifier and Type | Method and Description |
|---|---|
default XmlElement |
XmlReader.deWrap(XmlElement element,
Field field) |
XmlElement |
SimpleXml.fromXml(InputStream stream) |
XmlElement |
SimpleXml.fromXml(String input) |
static XmlElement |
XmlReader.parseXML(InputStreamReader in) |
| Modifier and Type | Method and Description |
|---|---|
Interfaces.CheckedIterator<XmlElement> |
SimpleXml.iterateDom(InputStream in) |
default Interfaces.CheckedIterator<XmlElement> |
XmlStream.iterateDom(InputStreamReader in,
Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
default Object |
XmlReader.attributeToValue(Class<?> type,
String name,
XmlElement node) |
default XmlElement |
XmlReader.deWrap(XmlElement element,
Field field) |
default Object[] |
XmlReader.domToArray(Class<?> type,
String name,
XmlElement node) |
default List<Object> |
XmlReader.domToList(Field field,
Class<?> type,
String name,
XmlElement node) |
default Map<Object,Object> |
XmlReader.domToMap(ParameterizedType type,
String name,
XmlElement node) |
default <T> T |
XmlReader.domToObject(XmlElement node,
Class<T> clazz) |
default Set<Object> |
XmlReader.domToSet(Field field,
Class<?> type,
String name,
XmlElement node) |
default String |
XmlWriter.domToXml(XmlElement node) |
String |
SimpleXml.domToXml(XmlElement node) |
default void |
XmlWriter.domToXml(XmlElement node,
Writer writer) |
void |
SimpleXml.domToXml(XmlElement node,
Writer out) |
default void |
XmlWriter.domToXml(XmlElement node,
Writer writer,
String indent) |
<T> T |
SimpleXml.fromXml(XmlElement element,
Class<T> clazz) |
default Object |
XmlReader.textNodeToValue(Class<?> type,
XmlElement node) |
| Modifier and Type | Class and Description |
|---|---|
static class |
XmlElement.XmlTextElement |
| Modifier and Type | Field and Description |
|---|---|
XmlElement |
XmlElement.parent |
| Modifier and Type | Field and Description |
|---|---|
List<XmlElement> |
XmlElement.children |
| Modifier and Type | Method and Description |
|---|---|
XmlElement |
XmlElement.attribute(String name,
String value) |
XmlElement |
XmlElement.child(XmlElement child) |
static XmlElement |
XmlElement.element(String name) |
XmlElement |
XmlElement.findChildForName(String name,
XmlElement _default) |
static XmlElement |
XmlElement.findChildForName(XmlElement element,
String name,
XmlElement _default) |
XmlElement |
XmlElement.text(String text) |
| Modifier and Type | Method and Description |
|---|---|
void |
XmlElement.appendChild(XmlElement child) |
XmlElement |
XmlElement.child(XmlElement child) |
XmlElement |
XmlElement.findChildForName(String name,
XmlElement _default) |
static XmlElement |
XmlElement.findChildForName(XmlElement element,
String name,
XmlElement _default) |
| Constructor and Description |
|---|
XmlElement(XmlElement parent,
String name,
Map<String,String> attributes) |
XmlElement(XmlElement parent,
String name,
Map<String,String> attributes,
List<XmlElement> children) |
XmlTextElement(XmlElement parent,
String text) |
| Constructor and Description |
|---|
XmlElement(XmlElement parent,
String name,
Map<String,String> attributes,
List<XmlElement> children) |
| Modifier and Type | Method and Description |
|---|---|
XmlElement |
DomBuilder.getRoot() |
| Modifier and Type | Method and Description |
|---|---|
default Object |
ObjectDeserializer.convert(XmlElement element)
Used in most cases when we have an Element and we need to convert it into an Object.
|
default <T> T |
ObjectDeserializer.convert(XmlElement element,
Class<T> clazz) |
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
Reflection.findAbstractType(XmlAbstractClass annotation,
XmlElement node) |
static Object |
Reflection.invokeFieldDeserializer(Field f,
XmlElement element) |
| Modifier and Type | Method and Description |
|---|---|
XmlElement |
XPathExpression.evaluateAny(XmlElement root) |
| Modifier and Type | Method and Description |
|---|---|
Set<XmlElement> |
XPathExpression.evaluate(XmlElement root) |
| Modifier and Type | Method and Description |
|---|---|
Set<XmlElement> |
XPathExpression.evaluate(XmlElement root) |
boolean |
Predicate.evaluate(XmlElement root) |
XmlElement |
XPathExpression.evaluateAny(XmlElement root) |
float |
XPathExpression.evaluateAnyFloat(XmlElement root) |
int |
XPathExpression.evaluateAnyInt(XmlElement root) |
Number |
XPathExpression.evaluateAnyNumber(XmlElement root) |
String |
XPathExpression.evaluateAnyString(XmlElement root) |
Set<Number> |
XPathExpression.evaluateAsNumbers(XmlElement root) |
Set<String> |
XPathExpression.evaluateAsStrings(XmlElement root) |
Copyright © 2019. All rights reserved.