Interface Configuration

All Known Implementing Classes:
DefaultConfiguration

public interface Configuration
  • Method Details

    • getChild

      Configuration getChild​(java.lang.String key)
    • getChild

      Configuration getChild​(java.lang.String key, boolean required)
    • getChildren

      Configuration[] getChildren​(java.lang.String key)
    • getAttributeNames

      java.lang.String[] getAttributeNames()
    • getAttribute

      java.lang.String getAttribute​(java.lang.String key) throws ConfigurationException
      Throws:
      ConfigurationException
    • getAttribute

      java.lang.String getAttribute​(java.lang.String key, java.lang.String defaultValue)
    • getAttributeAsBoolean

      boolean getAttributeAsBoolean​(java.lang.String key, boolean defaultValue)
    • getAttributeAsFloat

      float getAttributeAsFloat​(java.lang.String key) throws ConfigurationException
      Throws:
      ConfigurationException
    • getAttributeAsFloat

      float getAttributeAsFloat​(java.lang.String key, float defaultValue)
    • getAttributeAsInteger

      int getAttributeAsInteger​(java.lang.String key, int defaultValue)
    • getValue

      java.lang.String getValue() throws ConfigurationException
      Throws:
      ConfigurationException
    • getValue

      java.lang.String getValue​(java.lang.String defaultValue)
    • getValueAsBoolean

      boolean getValueAsBoolean() throws ConfigurationException
      Throws:
      ConfigurationException
    • getValueAsBoolean

      boolean getValueAsBoolean​(boolean defaultValue)
    • getValueAsInteger

      int getValueAsInteger() throws ConfigurationException
      Throws:
      ConfigurationException
    • getValueAsInteger

      int getValueAsInteger​(int defaultValue)
    • getValueAsFloat

      float getValueAsFloat() throws ConfigurationException
      Throws:
      ConfigurationException
    • getValueAsFloat

      float getValueAsFloat​(float defaultValue)
    • getLocation

      java.lang.String getLocation()