org.apache.cocoon.portal.layout.renderer.aspect.impl
Class AbstractCIncludeAspect

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.portal.layout.renderer.aspect.impl.AbstractAspect
          extended by org.apache.cocoon.portal.layout.renderer.aspect.impl.AbstractCIncludeAspect
All Implemented Interfaces:
Component, LogEnabled, Serviceable, ThreadSafe, RendererAspect
Direct Known Subclasses:
CIncludeCopletAspect, FrameAspect

public abstract class AbstractCIncludeAspect
extends AbstractAspect

Base class for aspect renderers that generate cinclude statements. Provides a single method for creating the cinclude tag.

Version:
CVS $Id: AbstractCIncludeAspect.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler, Volker Schmitt

Field Summary
protected static String ATTRIBUTE
           
protected static String ELEMENT
           
protected static String NAMESPACE
           
protected static String PREFIX
           
protected static String QELEMENT
           
 
Fields inherited from class org.apache.cocoon.portal.layout.renderer.aspect.impl.AbstractAspect
manager
 
Fields inherited from interface org.apache.cocoon.portal.layout.renderer.aspect.RendererAspect
ROLE
 
Constructor Summary
AbstractCIncludeAspect()
           
 
Method Summary
protected  void createCInclude(String source, ContentHandler handler)
          Create the cinclude statement.
 
Methods inherited from class org.apache.cocoon.portal.layout.renderer.aspect.impl.AbstractAspect
getAspectDescriptions, isRequired, prepareConfiguration, service, toSAX
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX

protected static final String PREFIX
See Also:
Constant Field Values

NAMESPACE

protected static final String NAMESPACE
See Also:
Constant Field Values

ELEMENT

protected static final String ELEMENT
See Also:
Constant Field Values

QELEMENT

protected static final String QELEMENT
See Also:
Constant Field Values

ATTRIBUTE

protected static final String ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

AbstractCIncludeAspect

public AbstractCIncludeAspect()
Method Detail

createCInclude

protected void createCInclude(String source,
                              ContentHandler handler)
                       throws SAXException
Create the cinclude statement.

Parameters:
source - attribute value for the cinclude tag
handler - SAX event handler
Throws:
SAXException


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