uk.co.agena.minerva.model.querymodel
Class XmlHelper
java.lang.Object
uk.co.agena.minerva.model.querymodel.XmlHelper
public class XmlHelper
- extends java.lang.Object
Handles all the tedious XML parsing. Each XmlHelper handles a single
XML Node. It extracts all the attributes and single text elements of the
form TEXT. Sub-nodes are handled as more XmlHelpers.
Since multiple instances of the same TEXT can appear
in a node, they are held as a Vector in the hashtable and removed as they
are fetched.
- Author:
- hearty
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlHelper
public XmlHelper(java.lang.String filename)
XmlHelper
public XmlHelper(org.w3c.dom.Node node)
getValue
public java.lang.String getValue(java.lang.String key)
getBooleanValue
public boolean getBooleanValue(java.lang.String key)
getSubnodeName
public java.lang.String getSubnodeName(int index)
getsubnodecount
public int getsubnodecount()
getHelper
public XmlHelper getHelper(int index)
getHelper
public XmlHelper getHelper(java.lang.String name)
convertSpecialChars
public static java.lang.String convertSpecialChars(java.lang.String in)
Copyright © 2006 Agena Ltd. All Rights Reserved.