Package armyc2.c2sd.renderer.utilities
Class XMLUtil
java.lang.Object
armyc2.c2sd.renderer.utilities.XMLUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeListgetItemList(Document document, String tag) This method returns the list of objects in a list form.static StringparseTagValue(Node node, String tag) This method parse the xml tag value.
-
Constructor Details
-
XMLUtil
public XMLUtil()
-
-
Method Details
-
getItemList
This method returns the list of objects in a list form.- Parameters:
document- the document to pull the list fromtag- the name of the element- Returns:
- the list of items
-
parseTagValue
This method parse the xml tag value.- Parameters:
node- the node to pull an element fromtag- the name of the element- Returns:
- the text content of the element
-