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 classXml.FromTypestatic classXml.XmlArraystatic classXml.XmlObjectstatic classXml.XmlStringBuilderstatic classXml.XmlStringBuilderTextstatic classXml.XmlStringBuilderWithoutHeaderstatic classXml.XmlStringBuilderWithoutRootstatic classXml.XmlValue
-
Constructor Summary
Constructors Constructor Description Xml()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringformatXml(String xml)static StringformatXml(String xml, Xml.XmlStringBuilder.Step identStep)static ObjectfromXml(String xml)static ObjectfromXml(String xml, Xml.FromType fromType)static ObjectfromXmlMakeArrays(String xml)static ObjectfromXmlWithElementMapper(String xml, BiFunction<Object,Set<String>,String> elementMapper)static ObjectfromXmlWithoutAttributes(String xml)static ObjectfromXmlWithoutNamespaces(String xml)static ObjectfromXmlWithoutNamespacesAndAttributes(String xml)protected static StringgetDoctypeValue(String xml)static StringtoXml(Collection collection)static StringtoXml(Collection collection, Xml.XmlStringBuilder.Step identStep)static StringtoXml(Map map)static StringtoXml(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)
-
-