Package com.biglybt.core.xml.util
Class XMLConverter
java.lang.Object
com.biglybt.core.xml.util.XMLConverter
Simple XML to Map converter that mimics output of JSONJava's XML.toJSONObject
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ADD_ATTRIBUTES_FIRST
private static final boolean ADD_ATTRIBUTES_FIRST- See Also:
-
-
Constructor Details
-
XMLConverter
public XMLConverter()
-
-
Method Details
-
xmlToMap
public static Map<String,Object> xmlToMap(byte[] bytes) throws IOException, SAXException, ParserConfigurationException -
xmlToMap
public static Map<String,Object> xmlToMap(InputStream inputStream) throws ParserConfigurationException, SAXException, IOException -
xmlToMap
-
xmlToMap
-
attributesToMap
-
addValueToMap
-
coerseString
-