Package com.github.underscore.lodash
Class Xml
- java.lang.Object
-
- com.github.underscore.lodash.Xml
-
public final class Xml extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Xml.FromType
static class
Xml.XmlArray
static class
Xml.XmlObject
static class
Xml.XmlStringBuilder
static class
Xml.XmlStringBuilderText
static class
Xml.XmlStringBuilderWithoutHeader
static class
Xml.XmlStringBuilderWithoutRoot
static class
Xml.XmlValue
-
Constructor Summary
Constructors Constructor Description Xml()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
formatXml(String xml)
static String
formatXml(String xml, Xml.XmlStringBuilder.Step identStep)
static Object
fromXml(String xml)
static Object
fromXml(String xml, Xml.FromType fromType)
static Object
fromXmlMakeArrays(String xml)
static Object
fromXmlWithElementMapper(String xml, BiFunction<Object,Set<String>,String> elementMapper)
static Object
fromXmlWithoutAttributes(String xml)
static Object
fromXmlWithoutNamespaces(String xml)
static Object
fromXmlWithoutNamespacesAndAttributes(String xml)
protected static String
getDoctypeValue(String xml)
static String
toXml(Collection collection)
static String
toXml(Collection collection, Xml.XmlStringBuilder.Step identStep)
static String
toXml(Map map)
static String
toXml(Map map, Xml.XmlStringBuilder.Step identStep)
-
-
-
Method Detail
-
toXml
public static String toXml(Collection collection, Xml.XmlStringBuilder.Step identStep)
-
toXml
public static String toXml(Collection collection)
-
toXml
public static String toXml(Map map, Xml.XmlStringBuilder.Step identStep)
-
fromXml
public static Object fromXml(String xml, Xml.FromType fromType)
-
fromXmlWithElementMapper
public static Object fromXmlWithElementMapper(String xml, BiFunction<Object,Set<String>,String> elementMapper)
-
fromXmlWithoutNamespacesAndAttributes
public static Object fromXmlWithoutNamespacesAndAttributes(String xml)
-
formatXml
public static String formatXml(String xml, Xml.XmlStringBuilder.Step identStep)
-
-