se.unlogic.standardutils.settings
Class XMLSettingNode

java.lang.Object
  extended by se.unlogic.standardutils.settings.XMLSettingNode
All Implemented Interfaces:
SettingNode

public class XMLSettingNode
extends Object
implements SettingNode


Constructor Summary
XMLSettingNode(Document doc)
           
XMLSettingNode(Element element)
           
XMLSettingNode(File configurationFile)
           
XMLSettingNode(String path)
           
 
Method Summary
 Boolean getBoolean(String expression)
           
 Double getDouble(String expression)
           
 List<Double> getDoubles(String expression)
           
 String getElementName()
           
 int getInt(String expression)
           
 Integer getInteger(String expression)
           
 List<Integer> getIntegers(String expression)
           
 Long getLong(String expression)
           
 List<Long> getLongs(String expression)
           
 boolean getPrimitiveBoolean(String expression)
           
 XMLSettingNode getSetting(String expression)
           
 List<XMLSettingNode> getSettings(String expression)
           
 String getString(String expression)
           
 List<String> getStrings(String expression)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.