net.sf.jradius.server.config
Class XMLConfiguration

java.lang.Object
  extended by org.apache.commons.configuration.AbstractConfiguration
      extended by org.apache.commons.configuration.HierarchicalConfiguration
          extended by org.apache.commons.configuration.XMLConfiguration
              extended by org.apache.commons.configuration.HierarchicalXMLConfiguration
                  extended by net.sf.jradius.server.config.XMLConfiguration
All Implemented Interfaces:
org.apache.commons.configuration.Configuration, org.apache.commons.configuration.FileConfiguration

public class XMLConfiguration
extends org.apache.commons.configuration.HierarchicalXMLConfiguration

JRadius XML Configuration Parser.

Author:
David Bird

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.commons.configuration.HierarchicalConfiguration
org.apache.commons.configuration.HierarchicalConfiguration.BuilderVisitor, org.apache.commons.configuration.HierarchicalConfiguration.Node, org.apache.commons.configuration.HierarchicalConfiguration.NodeVisitor
 
Field Summary
 
Fields inherited from class org.apache.commons.configuration.AbstractConfiguration
END_TOKEN, START_TOKEN
 
Method Summary
 boolean getConfigBoolean(java.lang.String key)
           
 boolean getConfigBoolean(java.lang.String key, boolean def)
           
 int getConfigInt(java.lang.String key)
           
 int getConfigInt(java.lang.String key, int def)
           
 java.lang.String getConfigString(java.lang.String key)
           
 java.lang.String getConfigString(java.lang.String key, java.lang.String def)
           
 
Methods inherited from class org.apache.commons.configuration.XMLConfiguration
addPropertyDirect, clearProperty, clearTree, createDocument, createNode, getBasePath, getDocument, getEncoding, getFile, getFileName, getReloadingStrategy, getRootElementName, getURL, initProperties, isAutoSave, load, load, load, load, load, load, load, reload, save, save, save, save, save, save, save, setAutoSave, setBasePath, setEncoding, setFile, setFileName, setProperty, setReloadingStrategy, setRootElementName, setURL
 
Methods inherited from class org.apache.commons.configuration.HierarchicalConfiguration
addNodes, clearNode, containsKey, createAddPath, fetchAddNode, fetchNodeList, findLastPathNode, findPropertyNodes, getKeys, getKeys, getMaxIndex, getProperty, getRoot, isEmpty, nodeDefined, removeNode, setRoot, subset
 
Methods inherited from class org.apache.commons.configuration.AbstractConfiguration
addProperty, clear, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDelimiter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getList, getList, getLong, getLong, getLong, getProperties, getProperties, getShort, getShort, getShort, getString, getString, getStringArray, interpolate, interpolateHelper, isThrowExceptionOnMissing, resolveContainerStore, setDelimiter, setThrowExceptionOnMissing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.commons.configuration.Configuration
addProperty, clear, containsKey, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getKeys, getKeys, getList, getList, getLong, getLong, getLong, getProperties, getProperty, getShort, getShort, getShort, getString, getString, getStringArray, isEmpty, subset
 

Method Detail

getConfigString

public java.lang.String getConfigString(java.lang.String key,
                                        java.lang.String def)

getConfigString

public java.lang.String getConfigString(java.lang.String key)

getConfigBoolean

public boolean getConfigBoolean(java.lang.String key,
                                boolean def)

getConfigBoolean

public boolean getConfigBoolean(java.lang.String key)

getConfigInt

public int getConfigInt(java.lang.String key,
                        int def)

getConfigInt

public int getConfigInt(java.lang.String key)


Copyright © 2006 The JRadius Project, All Rights Reserved.