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)

Field Summary
 
Fields inherited from interface org.apache.cocoon.components.elementprocessor.ElementProcessor
ROLE
 
Constructor Summary
EPCell()
          constructor
 
Method Summary
 void endProcessing()
          end processing -- pass their content up to their cell
protected  org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.Cell getCell()
          override of getCell()
 int getCellType()
           
 int getColumn()
           
 int getColumns()
           
 java.lang.String getContent()
           
 int getExpressionId()
           
 java.lang.String getFormat()
           
 int getRow()
           
 int getRows()
           
 void initialize(Attribute[] attributes, ElementProcessor parent)
          Override of Initialize() implementation
 
Methods inherited from class org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.BaseElementProcessor
acceptCharacters, acceptWhitespaceCharacters, 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
 

Constructor Detail

EPCell

public EPCell()
constructor

Method Detail

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, - NullPointerException
java.lang.NullPointerException
java.io.IOException

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

Specified by:
initialize in interface ElementProcessor
Overrides:
initialize in class BaseElementProcessor
Parameters:
attributes - the array of Attribute instances; may be empty, will never be null
parent - the parent ElementProcessor; may be null
Throws:
java.io.IOException - if anything is wrong

getContent

public java.lang.String getContent()

endProcessing

public void endProcessing()
                   throws java.io.IOException
end processing -- pass their content up to their cell

Specified by:
endProcessing in interface ElementProcessor
Overrides:
endProcessing in class BaseElementProcessor
Throws:
java.io.IOException

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.