Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » generation » [javadoc | source]
org.apache.cocoon.generation
public final class: ImageDirectoryGenerator [javadoc | source]
java.lang.Object
   org.apache.avalon.framework.logger.AbstractLogEnabled
      org.apache.cocoon.xml.AbstractXMLProducer
         org.apache.cocoon.generation.AbstractGenerator
            org.apache.cocoon.generation.ServiceableGenerator
               org.apache.cocoon.generation.DirectoryGenerator
                  org.apache.cocoon.generation.ImageDirectoryGenerator

All Implemented Interfaces:
    CacheableProcessingComponent, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.service.Serviceable, Generator, org.apache.avalon.excalibur.pool.Recyclable, XMLProducer

Field Summary
protected static final  String IMAGE_WIDTH_ATTR_NAME     
protected static final  String IMAGE_HEIGHT_ATTR_NAME     
protected static final  String IMAGE_COMMENT_ATTR_NAME     
Fields inherited from org.apache.cocoon.generation.DirectoryGenerator:
URI,  PREFIX,  DIR_NODE_NAME,  FILE_NODE_NAME,  FILENAME_ATTR_NAME,  LASTMOD_ATTR_NAME,  DATE_ATTR_NAME,  SIZE_ATTR_NAME,  validity,  attributes,  cacheKeyParList,  depth,  dateFormatter,  refreshDelay,  sort,  reverse,  rootRE,  includeRE,  excludeRE,  isRequestedDirectory,  directorySource
Fields inherited from org.apache.cocoon.generation.ServiceableGenerator:
manager
Fields inherited from org.apache.cocoon.generation.AbstractGenerator:
resolver,  objectModel,  parameters,  source
Fields inherited from org.apache.cocoon.xml.AbstractXMLProducer:
EMPTY_CONTENT_HANDLER,  xmlConsumer,  contentHandler,  lexicalHandler
Method from org.apache.cocoon.generation.ImageDirectoryGenerator Summary:
setNodeAttributes
Methods from org.apache.cocoon.generation.DirectoryGenerator:
addAncestorPath,   addPath,   endNode,   generate,   getAncestors,   getKey,   getValidity,   isExcluded,   isIncluded,   isRoot,   recycle,   setNodeAttributes,   setup,   startNode
Methods from org.apache.cocoon.generation.ServiceableGenerator:
dispose,   service
Methods from org.apache.cocoon.generation.AbstractGenerator:
recycle,   setup
Methods from org.apache.cocoon.xml.AbstractXMLProducer:
recycle,   setConsumer,   setContentHandler,   setLexicalHandler
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.generation.ImageDirectoryGenerator Detail:
 protected  void setNodeAttributes(File path) throws SAXException 
    Extends the setNodeAttributes method from the DirectoryGenerator by adding width, height and comment attributes if the path is a GIF or a JPEG file.