This project has retired. For details please refer to its
Attic page .
ImageDirectoryGenerator (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.generation
Class ImageDirectoryGenerator
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: Poolable , Recyclable , Disposable , Component , LogEnabled , Serviceable , CacheableProcessingComponent , Generator , SitemapModelComponent , XMLProducer
public final class ImageDirectoryGenerator extends DirectoryGenerator
Version:
CVS $Id: ImageDirectoryGenerator.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Donald A. Ball Jr. , Torsten Curdt
Fields inherited from class org.apache.cocoon.generation.DirectoryGenerator
attributes , cacheKeyParList , DATE_ATTR_NAME , dateFormatter , depth , DIR_NODE_NAME , directorySource , excludeRE , FILE_NODE_NAME , FILENAME_ATTR_NAME , includeRE , isRequestedDirectory , LASTMOD_ATTR_NAME , PREFIX , refreshDelay , reverse , rootRE , SIZE_ATTR_NAME , sort , URI , validity
Fields inherited from interface org.apache.cocoon.generation.Generator
ROLE
Method Summary
protected void
setNodeAttributes (File path)
Extends the setNodeAttributes
method from the
DirectoryGenerator
by adding width, height and comment attributes
if the path is a GIF or a JPEG file.
Methods inherited from class org.apache.cocoon.generation.DirectoryGenerator
addAncestorPath , addPath , endNode , generate , getAncestors , getKey , getValidity , isExcluded , isIncluded , isRoot , recycle , setup , startNode
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
IMAGE_WIDTH_ATTR_NAME
protected static final String IMAGE_WIDTH_ATTR_NAME
See Also: Constant Field Values
IMAGE_HEIGHT_ATTR_NAME
protected static final String IMAGE_HEIGHT_ATTR_NAME
See Also: Constant Field Values
IMAGE_COMMENT_ATTR_NAME
protected static final String IMAGE_COMMENT_ATTR_NAME
See Also: Constant Field Values
ImageDirectoryGenerator
public ImageDirectoryGenerator ()
setNodeAttributes
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.
Overrides: setNodeAttributes
in class DirectoryGenerator
Parameters: path
- the file/directory to use when setting attributes
Throws:
SAXException
- if an error occurs while setting the attributes
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.