org.apache.cocoon.core.container.spring.avalon
Class SitemapElementParser

java.lang.Object
  extended byorg.apache.cocoon.spring.configurator.impl.AbstractElementParser
      extended byorg.apache.cocoon.core.container.spring.avalon.BridgeElementParser
          extended byorg.apache.cocoon.core.container.spring.avalon.SitemapElementParser
All Implemented Interfaces:
BeanDefinitionParser

public class SitemapElementParser
extends BridgeElementParser

Since:
2.2
Version:
$Id: SitemapElementParser.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
 
Fields inherited from class org.apache.cocoon.core.container.spring.avalon.BridgeElementParser
DEFAULT_COCOON_XCONF_LOCATION
 
Fields inherited from class org.apache.cocoon.spring.configurator.impl.AbstractElementParser
logger
 
Constructor Summary
SitemapElementParser()
           
 
Method Summary
protected  void addContext(Element element, BeanDefinitionRegistry registry)
           
protected  void addLogger(BeanDefinitionRegistry registry, String loggerCategory)
          Add the logger bean.
 void createComponents(Element element, ConfigurationInfo info, BeanDefinitionRegistry registry, BeanDefinitionReader reader, ResourceLoader resourceLoader)
           
protected  String getConfigurationLocation()
           
protected  ConfigurationInfo readConfiguration(String location, ResourceLoader resourceLoader)
           
 
Methods inherited from class org.apache.cocoon.core.container.spring.avalon.BridgeElementParser
createConfig, parse, prepareSelector, registerComponentInfo
 
Methods inherited from class org.apache.cocoon.spring.configurator.impl.AbstractElementParser
addComponent, addComponent, createBeanDefinition, createBeanDefinition, getAttributeValue, getChildElements, register, register, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SitemapElementParser

public SitemapElementParser()
Method Detail

createComponents

public void createComponents(Element element,
                             ConfigurationInfo info,
                             BeanDefinitionRegistry registry,
                             BeanDefinitionReader reader,
                             ResourceLoader resourceLoader)
                      throws Exception
Overrides:
createComponents in class BridgeElementParser
Parameters:
element - Can be null.
info - ConfigurationInfo.
registry - BeanDefinitionRegistry.
reader - Can be null.
resourceLoader - ResourceLoader.
Throws:
Exception - from called components.
See Also:
BridgeElementParser.createComponents(org.w3c.dom.Element, org.apache.cocoon.core.container.spring.avalon.ConfigurationInfo, org.springframework.beans.factory.support.BeanDefinitionRegistry, org.springframework.beans.factory.support.BeanDefinitionReader, org.springframework.core.io.ResourceLoader)

addContext

protected void addContext(Element element,
                          BeanDefinitionRegistry registry)
Overrides:
addContext in class BridgeElementParser
See Also:
BridgeElementParser.addContext(Element, BeanDefinitionRegistry)

addLogger

protected void addLogger(BeanDefinitionRegistry registry,
                         String loggerCategory)
Add the logger bean.

Overrides:
addLogger in class BridgeElementParser
Parameters:
registry - The bean registry.
loggerCategory - The optional category for the logger.

readConfiguration

protected ConfigurationInfo readConfiguration(String location,
                                              ResourceLoader resourceLoader)
                                       throws Exception
Overrides:
readConfiguration in class BridgeElementParser
Throws:
Exception
See Also:
BridgeElementParser.readConfiguration(String, ResourceLoader)

getConfigurationLocation

protected String getConfigurationLocation()
Overrides:
getConfigurationLocation in class BridgeElementParser


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.