org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements
Class EPCols
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.BaseElementProcessor
org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.EPCols
- All Implemented Interfaces:
- Component, LogEnabled, ElementProcessor, POIFSElementProcessor
public class EPCols
- extends BaseElementProcessor
No-op implementation of ElementProcessor to handle the "Cols" tag
This element has an attribute (DefaultSizePts) and is a container
element
- Version:
- CVS $Id: EPCols.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Marc Johnson (marc_johnson27591@hotmail.com)
Constructor Summary |
EPCols()
constructor |
Methods inherited from class org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.BaseElementProcessor |
acceptCharacters, acceptWhitespaceCharacters, endProcessing, getAncestor, getAttributes, getCell, getData, getFilesystem, getParent, getSheet, getValue, getWorkbook, setFilesystem |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EPCols
public EPCols()
- constructor
getDefaultSizePts
public double getDefaultSizePts()
throws IOException,
NullPointerException
- get the default size of columns, in points
- Returns:
- size in points
- Throws:
IOException
- if the attribute is malformed
NullPointerException
- if the attribute is missing
initialize
public void initialize(Attribute[] attributes,
ElementProcessor parent)
throws IOException
- Override of Initialize() implementation
- Specified by:
initialize
in interface ElementProcessor
- Overrides:
initialize
in class BaseElementProcessor
- Parameters:
attributes
- the array of Attribute instances; may be empty, will
never be nullparent
- the parent ElementProcessor; may be null
- Throws:
IOException
- if anything is wrong
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.