se.unlogic.standardutils.settings
Class XMLSettingNode
java.lang.Object
se.unlogic.standardutils.settings.XMLSettingNode
- All Implemented Interfaces:
- SettingNode
public class XMLSettingNode
- extends Object
- implements SettingNode
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLSettingNode
public XMLSettingNode(String path)
throws SAXException,
IOException,
ParserConfigurationException
- Throws:
SAXException
IOException
ParserConfigurationException
XMLSettingNode
public XMLSettingNode(Document doc)
XMLSettingNode
public XMLSettingNode(Element element)
XMLSettingNode
public XMLSettingNode(File configurationFile)
throws SAXException,
IOException,
ParserConfigurationException
- Throws:
SAXException
IOException
ParserConfigurationException
getBoolean
public Boolean getBoolean(String expression)
- Specified by:
getBoolean in interface SettingNode
getPrimitiveBoolean
public boolean getPrimitiveBoolean(String expression)
- Specified by:
getPrimitiveBoolean in interface SettingNode
getDouble
public Double getDouble(String expression)
- Specified by:
getDouble in interface SettingNode
getDoubles
public List<Double> getDoubles(String expression)
- Specified by:
getDoubles in interface SettingNode
getInt
public int getInt(String expression)
- Specified by:
getInt in interface SettingNode
getInteger
public Integer getInteger(String expression)
- Specified by:
getInteger in interface SettingNode
getIntegers
public List<Integer> getIntegers(String expression)
- Specified by:
getIntegers in interface SettingNode
getLong
public Long getLong(String expression)
- Specified by:
getLong in interface SettingNode
getLongs
public List<Long> getLongs(String expression)
- Specified by:
getLongs in interface SettingNode
getSetting
public XMLSettingNode getSetting(String expression)
- Specified by:
getSetting in interface SettingNode
getSettings
public List<XMLSettingNode> getSettings(String expression)
- Specified by:
getSettings in interface SettingNode
getString
public String getString(String expression)
- Specified by:
getString in interface SettingNode
getStrings
public List<String> getStrings(String expression)
- Specified by:
getStrings in interface SettingNode
getElementName
public String getElementName()
Copyright © 2011. All Rights Reserved.