org.apache.cocoon.components
Class ChainedConfiguration
java.lang.Object
org.apache.cocoon.components.ChainedConfiguration
- All Implemented Interfaces:
- Configuration
public final class ChainedConfiguration
- extends Object
- implements Configuration
This configuration object is used for SitemapConfigurable
components. It 'extends' Configuration
by a parent.
- Since:
- 2.1
- Version:
- $Id: ChainedConfiguration.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Carsten Ziegeler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChainedConfiguration
public ChainedConfiguration(Configuration wrapped,
ChainedConfiguration parent)
- Constructor
getParent
public ChainedConfiguration getParent()
- Get the parent configuration
- Returns:
- the parent configuration or null.
getAttribute
public String getAttribute(String arg0,
String arg1)
- Specified by:
getAttribute
in interface Configuration
getAttribute
public String getAttribute(String arg0)
throws ConfigurationException
- Specified by:
getAttribute
in interface Configuration
- Throws:
ConfigurationException
getAttributeAsBoolean
public boolean getAttributeAsBoolean(String arg0,
boolean arg1)
- Specified by:
getAttributeAsBoolean
in interface Configuration
getAttributeAsBoolean
public boolean getAttributeAsBoolean(String arg0)
throws ConfigurationException
- Specified by:
getAttributeAsBoolean
in interface Configuration
- Throws:
ConfigurationException
getAttributeAsFloat
public float getAttributeAsFloat(String arg0,
float arg1)
- Specified by:
getAttributeAsFloat
in interface Configuration
getAttributeAsFloat
public float getAttributeAsFloat(String arg0)
throws ConfigurationException
- Specified by:
getAttributeAsFloat
in interface Configuration
- Throws:
ConfigurationException
getAttributeAsInteger
public int getAttributeAsInteger(String arg0,
int arg1)
- Specified by:
getAttributeAsInteger
in interface Configuration
getAttributeAsInteger
public int getAttributeAsInteger(String arg0)
throws ConfigurationException
- Specified by:
getAttributeAsInteger
in interface Configuration
- Throws:
ConfigurationException
getAttributeAsLong
public long getAttributeAsLong(String arg0,
long arg1)
- Specified by:
getAttributeAsLong
in interface Configuration
getAttributeAsLong
public long getAttributeAsLong(String arg0)
throws ConfigurationException
- Specified by:
getAttributeAsLong
in interface Configuration
- Throws:
ConfigurationException
getAttributeNames
public String[] getAttributeNames()
- Specified by:
getAttributeNames
in interface Configuration
getChild
public Configuration getChild(String arg0,
boolean arg1)
- Specified by:
getChild
in interface Configuration
getChild
public Configuration getChild(String arg0)
- Specified by:
getChild
in interface Configuration
getChildren
public Configuration[] getChildren()
- Specified by:
getChildren
in interface Configuration
getChildren
public Configuration[] getChildren(String arg0)
- Specified by:
getChildren
in interface Configuration
getLocation
public String getLocation()
- Specified by:
getLocation
in interface Configuration
getName
public String getName()
- Specified by:
getName
in interface Configuration
getNamespace
public String getNamespace()
throws ConfigurationException
- Specified by:
getNamespace
in interface Configuration
- Throws:
ConfigurationException
getValue
public String getValue()
throws ConfigurationException
- Specified by:
getValue
in interface Configuration
- Throws:
ConfigurationException
getValue
public String getValue(String arg0)
- Specified by:
getValue
in interface Configuration
getValueAsBoolean
public boolean getValueAsBoolean()
throws ConfigurationException
- Specified by:
getValueAsBoolean
in interface Configuration
- Throws:
ConfigurationException
getValueAsBoolean
public boolean getValueAsBoolean(boolean arg0)
- Specified by:
getValueAsBoolean
in interface Configuration
getValueAsFloat
public float getValueAsFloat()
throws ConfigurationException
- Specified by:
getValueAsFloat
in interface Configuration
- Throws:
ConfigurationException
getValueAsFloat
public float getValueAsFloat(float arg0)
- Specified by:
getValueAsFloat
in interface Configuration
getValueAsInteger
public int getValueAsInteger()
throws ConfigurationException
- Specified by:
getValueAsInteger
in interface Configuration
- Throws:
ConfigurationException
getValueAsInteger
public int getValueAsInteger(int arg0)
- Specified by:
getValueAsInteger
in interface Configuration
getValueAsLong
public long getValueAsLong()
throws ConfigurationException
- Specified by:
getValueAsLong
in interface Configuration
- Throws:
ConfigurationException
getValueAsLong
public long getValueAsLong(long arg0)
- Specified by:
getValueAsLong
in interface Configuration
getAttributeAsDouble
public double getAttributeAsDouble(String name)
throws ConfigurationException
- Specified by:
getAttributeAsDouble
in interface Configuration
- Throws:
ConfigurationException
getValueAsDouble
public double getValueAsDouble()
throws ConfigurationException
- Specified by:
getValueAsDouble
in interface Configuration
- Throws:
ConfigurationException
getValueAsDouble
public double getValueAsDouble(double value)
- Specified by:
getValueAsDouble
in interface Configuration
getAttributeAsDouble
public double getAttributeAsDouble(String name,
double value)
- Specified by:
getAttributeAsDouble
in interface Configuration
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.