org.apache.cocoon.components
Class PropertyAwareNamespacedSAXConfigurationHandler

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

public class PropertyAwareNamespacedSAXConfigurationHandler
extends NamespacedSAXConfigurationHandler

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

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

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

Constructor Detail

PropertyAwareNamespacedSAXConfigurationHandler

public PropertyAwareNamespacedSAXConfigurationHandler(Settings settings,
                                                      Logger logger)
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

createConfiguration

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

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


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