Package armyc2.c2sd.renderer.utilities
Class XMLParser
java.lang.Object
armyc2.c2sd.renderer.utilities.XMLParser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetAttribute(Element elem, String attribName) Get the attribute from an element.static final StringgetAttributeValue(Node node, String str) static DocumentgetDomElement(String xml) from www.androidhive.info/2011/11/android-xml-parsing-tutorial/static final StringgetElementValue(Node elem) static String
-
Constructor Details
-
XMLParser
public XMLParser()
-
-
Method Details
-
getDomElement
from www.androidhive.info/2011/11/android-xml-parsing-tutorial/- Parameters:
xml-- Returns:
-
getElementValue
-
getAttributeValue
-
getValue
-
getAttribute
Get the attribute from an element. If not present returns ""- Parameters:
elem-attribName-- Returns:
-