org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements
Class EPTop

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.BaseElementProcessor
          extended by org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.EPTop
All Implemented Interfaces:
Component, LogEnabled, ElementProcessor, POIFSElementProcessor

public class EPTop
extends BaseElementProcessor

No-op implementation of ElementProcessor to handle the "Top" tag This element has two attributes and no content. This element is not used in HSSFSerializer 1.0

Version:
CVS $Id: EPTop.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Marc Johnson (marc_johnson27591@hotmail.com), Andrew C. Oliver (acoliver2@users.sourceforge.net)

Field Summary
 
Fields inherited from interface org.apache.cocoon.components.elementprocessor.ElementProcessor
ROLE
 
Constructor Summary
EPTop()
          constructor
 
Method Summary
 ColorCode getColor()
           
 int getStyle()
           
 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, endProcessing, getAncestor, getAttributes, getCell, getData, getFilesystem, getParent, getSheet, getValue, getWorkbook, setFilesystem
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPTop

public EPTop()
constructor

Method Detail

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 null
parent - the parent ElementProcessor; may be null
Throws:
IOException - if anything is wrong

getStyle

public int getStyle()
             throws IOException
Returns:
style as an int from BorderStyle
Throws:
IOException

getColor

public ColorCode getColor()
                   throws IOException
Returns:
color (may be null)
Throws:
IOException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.