org.gwe.utils
Class BaseXMLParser
java.lang.Object
org.gwe.utils.BaseXMLParser
public class BaseXMLParser
- extends java.lang.Object
- Since:
- May 28, 2008
- Author:
- Marco Ruiz
Field Summary |
protected org.w3c.dom.Document |
dom
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dom
protected org.w3c.dom.Document dom
BaseXMLParser
public BaseXMLParser(java.lang.String filename)
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
processNodeList
public static <RET_TYPE> RET_TYPE processNodeList(org.w3c.dom.NodeList nl,
BaseXMLParser.XMLProcessor<RET_TYPE> processor,
RET_TYPE result)
getTextValue
protected java.lang.String getTextValue(org.w3c.dom.Element ele,
java.lang.String tagName)
getIntValue
protected int getIntValue(org.w3c.dom.Element ele,
java.lang.String tagName)
Copyright © 2007-2009. All Rights Reserved.