This project has retired. For details please refer to its
        
        Attic page.
      
org.apache.cocoon.components
Class ChainedConfiguration
java.lang.Object
   org.apache.cocoon.components.ChainedConfiguration
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:
- getAttributein interface- Configuration
 
- 
 
getAttribute
public String getAttribute(String arg0)
                    throws ConfigurationException
- 
- Specified by:
- getAttributein interface- Configuration
 
- 
- Throws:
- ConfigurationException
 
getAttributeAsBoolean
public boolean getAttributeAsBoolean(String arg0,
                                     boolean arg1)
- 
- Specified by:
- getAttributeAsBooleanin interface- Configuration
 
- 
 
getAttributeAsBoolean
public boolean getAttributeAsBoolean(String arg0)
                              throws ConfigurationException
- 
- Specified by:
- getAttributeAsBooleanin interface- Configuration
 
- 
- Throws:
- ConfigurationException
 
getAttributeAsFloat
public float getAttributeAsFloat(String arg0,
                                 float arg1)
- 
- Specified by:
- getAttributeAsFloatin interface- Configuration
 
- 
 
getAttributeAsFloat
public float getAttributeAsFloat(String arg0)
                          throws ConfigurationException
- 
- Specified by:
- getAttributeAsFloatin interface- Configuration
 
- 
- Throws:
- ConfigurationException
 
getAttributeAsInteger
public int getAttributeAsInteger(String arg0,
                                 int arg1)
- 
- Specified by:
- getAttributeAsIntegerin interface- Configuration
 
- 
 
getAttributeAsInteger
public int getAttributeAsInteger(String arg0)
                          throws ConfigurationException
- 
- Specified by:
- getAttributeAsIntegerin interface- Configuration
 
- 
- Throws:
- ConfigurationException
 
getAttributeAsLong
public long getAttributeAsLong(String arg0,
                               long arg1)
- 
- Specified by:
- getAttributeAsLongin interface- Configuration
 
- 
 
getAttributeAsLong
public long getAttributeAsLong(String arg0)
                        throws ConfigurationException
- 
- Specified by:
- getAttributeAsLongin interface- Configuration
 
- 
- Throws:
- ConfigurationException
 
getAttributeNames
public String[] getAttributeNames()
- 
- Specified by:
- getAttributeNamesin interface- Configuration
 
- 
 
getChild
public Configuration getChild(String arg0,
                              boolean arg1)
- 
- Specified by:
- getChildin interface- Configuration
 
- 
 
getChild
public Configuration getChild(String arg0)
- 
- Specified by:
- getChildin interface- Configuration
 
- 
 
getChildren
public Configuration[] getChildren()
- 
- Specified by:
- getChildrenin interface- Configuration
 
- 
 
getChildren
public Configuration[] getChildren(String arg0)
- 
- Specified by:
- getChildrenin interface- Configuration
 
- 
 
getLocation
public String getLocation()
- 
- Specified by:
- getLocationin interface- Configuration
 
- 
 
getName
public String getName()
- 
- Specified by:
- getNamein interface- Configuration
 
- 
 
getNamespace
public String getNamespace()
                    throws ConfigurationException
- 
- Specified by:
- getNamespacein interface- Configuration
 
- 
- Throws:
- ConfigurationException
 
getValue
public String getValue()
                throws ConfigurationException
- 
- Specified by:
- getValuein interface- Configuration
 
- 
- Throws:
- ConfigurationException
 
getValue
public String getValue(String arg0)
- 
- Specified by:
- getValuein interface- Configuration
 
- 
 
getValueAsBoolean
public boolean getValueAsBoolean()
                          throws ConfigurationException
- 
- Specified by:
- getValueAsBooleanin interface- Configuration
 
- 
- Throws:
- ConfigurationException
 
getValueAsBoolean
public boolean getValueAsBoolean(boolean arg0)
- 
- Specified by:
- getValueAsBooleanin interface- Configuration
 
- 
 
getValueAsFloat
public float getValueAsFloat()
                      throws ConfigurationException
- 
- Specified by:
- getValueAsFloatin interface- Configuration
 
- 
- Throws:
- ConfigurationException
 
getValueAsFloat
public float getValueAsFloat(float arg0)
- 
- Specified by:
- getValueAsFloatin interface- Configuration
 
- 
 
getValueAsInteger
public int getValueAsInteger()
                      throws ConfigurationException
- 
- Specified by:
- getValueAsIntegerin interface- Configuration
 
- 
- Throws:
- ConfigurationException
 
getValueAsInteger
public int getValueAsInteger(int arg0)
- 
- Specified by:
- getValueAsIntegerin interface- Configuration
 
- 
 
getValueAsLong
public long getValueAsLong()
                    throws ConfigurationException
- 
- Specified by:
- getValueAsLongin interface- Configuration
 
- 
- Throws:
- ConfigurationException
 
getValueAsLong
public long getValueAsLong(long arg0)
- 
- Specified by:
- getValueAsLongin interface- Configuration
 
- 
 
getAttributeAsDouble
public double getAttributeAsDouble(String name)
                            throws ConfigurationException
- 
- Specified by:
- getAttributeAsDoublein interface- Configuration
 
- 
- Throws:
- ConfigurationException
 
getValueAsDouble
public double getValueAsDouble()
                        throws ConfigurationException
- 
- Specified by:
- getValueAsDoublein interface- Configuration
 
- 
- Throws:
- ConfigurationException
 
getValueAsDouble
public double getValueAsDouble(double value)
- 
- Specified by:
- getValueAsDoublein interface- Configuration
 
- 
 
getAttributeAsDouble
public double getAttributeAsDouble(String name,
                                   double value)
- 
- Specified by:
- getAttributeAsDoublein interface- Configuration
 
- 
 
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.