org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements
Class EPCell
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLoggable
|
+--org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.BaseElementProcessor
|
+--org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.EPCell
- All Implemented Interfaces:
- org.apache.avalon.framework.component.Component, ElementProcessor, org.apache.avalon.framework.logger.Loggable, POIFSElementProcessor
- public class EPCell
- extends BaseElementProcessor
implementation of ElementProcessor to handle the "Cell" tag
This element has several attributes and may contain other elements.
- Author:
- Marc Johnson (marc_johnson27591@hotmail.com)
Constructor Summary |
EPCell()
constructor |
Methods inherited from class org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.BaseElementProcessor |
acceptCharacters, acceptWhitespaceCharacters, endProcessing, getAncestor, getAttributes, getData, getFilesystem, getParent, getSheet, getValue, getWorkbook, setFilesystem |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EPCell
public EPCell()
- constructor
getColumn
public int getColumn()
throws java.io.IOException
- Returns:
- column
- Throws:
java.io.IOException
-
getRow
public int getRow()
throws java.io.IOException
- Returns:
- row
- Throws:
java.io.IOException
-
getExpressionId
public int getExpressionId()
throws java.io.IOException,
java.lang.NullPointerException
- Returns:
- expression id
- Throws:
java.io.IOException
- java.lang.NullPointerException
-
getColumns
public int getColumns()
throws java.io.IOException,
java.lang.NullPointerException
- Returns:
- columns
- Throws:
java.io.IOException
- java.lang.NullPointerException
-
getRows
public int getRows()
throws java.io.IOException,
java.lang.NullPointerException
- Returns:
- rows
- Throws:
java.io.IOException
- java.lang.NullPointerException
-
getCellType
public int getCellType()
throws java.io.IOException,
java.lang.NullPointerException
- Returns:
- cell type as a public member of CellType
- Throws:
IOException,
- NullPointerExceptionjava.lang.NullPointerException
-
getFormat
public java.lang.String getFormat()
throws java.io.IOException
- Returns:
- format string; null if no such attribute
- Throws:
java.io.IOException
-
initialize
public void initialize(Attribute[] attributes,
ElementProcessor parent)
throws java.io.IOException
- Override of Initialize() implementation
- 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:
java.io.IOException
- if anything is wrong
getCell
protected org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.Cell getCell()
- override of getCell()
- Overrides:
getCell
in class BaseElementProcessor
- Returns:
- the cell
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.