org.apache.cocoon.components
Class PropertyAwareSAXConfigurationHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.apache.avalon.framework.configuration.SAXConfigurationHandler
          extended by org.apache.cocoon.components.PropertyAwareSAXConfigurationHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class PropertyAwareSAXConfigurationHandler
extends SAXConfigurationHandler

Property Aware SAX Configuration Handler. This component extends the SAXConfigurationHandler by creating configurations that can contain placeholders for System Properties.

Version:
SVN $Id: PropertyAwareSAXConfigurationHandler.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Constructor Summary
PropertyAwareSAXConfigurationHandler(Settings settings, Logger logger)
          Constructor
 
Method Summary
protected  DefaultConfiguration createConfiguration(String localName, String location)
          Create a new PropertyAwareConfiguration with the specified local name and location.
 
Methods inherited from class org.apache.avalon.framework.configuration.SAXConfigurationHandler
characters, clear, endElement, error, fatalError, getConfiguration, getLocationString, setDocumentLocator, startElement, warning
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyAwareSAXConfigurationHandler

public PropertyAwareSAXConfigurationHandler(Settings settings,
                                            Logger logger)
Constructor

Parameters:
settings - The Settings to use when processing the configuration
Method Detail

createConfiguration

protected DefaultConfiguration createConfiguration(String localName,
                                                   String location)
Create a new PropertyAwareConfiguration with the specified local name and location.

Overrides:
createConfiguration in class SAXConfigurationHandler
Parameters:
localName - a String value
location - a String value
Returns:
a DefaultConfiguration value


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.