Class XMLUtil

java.lang.Object
armyc2.c2sd.renderer.utilities.XMLUtil

public class XMLUtil extends Object
  • Constructor Details

  • Method Details

    • getItemList

      public static NodeList getItemList(Document document, String tag)
      This method returns the list of objects in a list form.
      Parameters:
      document - the document to pull the list from
      tag - the name of the element
      Returns:
      the list of items
    • parseTagValue

      public static String parseTagValue(Node node, String tag)
      This method parse the xml tag value.
      Parameters:
      node - the node to pull an element from
      tag - the name of the element
      Returns:
      the text content of the element