org.jfree.report.modules.parser.simple.readhandlers
Class AbstractTextElementReadHandler

java.lang.Object
  |
  +--org.jfree.xml.parser.AbstractXmlReadHandler
        |
        +--org.jfree.report.modules.parser.base.AbstractPropertyXmlReadHandler
              |
              +--org.jfree.report.modules.parser.simple.readhandlers.AbstractElementReadHandler
                    |
                    +--org.jfree.report.modules.parser.simple.readhandlers.AbstractTextElementReadHandler
Direct Known Subclasses:
LabelReadHandler, MessageFieldReadHandler, ResourceLabelReadHandler, ResourceMessageReadHandler, StringFieldReadHandler

public abstract class AbstractTextElementReadHandler
extends AbstractElementReadHandler


Field Summary
static java.lang.String RESERVED_LITERAL_ATT
          A constant defining the name of the reserved-literal attribute.
static java.lang.String TRIM_TEXT_CONTENT_ATT
          A constant defining the name of the trim-text-content attribute.
static java.lang.String WRAP_TEXT
           
 
Fields inherited from class org.jfree.report.modules.parser.simple.readhandlers.AbstractElementReadHandler
ALIGNMENT_ATT, COLOR_ATT, FIELDNAME_ATT, FONT_NAME_ATT, FONT_SIZE_ATT, FONT_STYLE_ATT, FS_BOLD, FS_EMBEDDED, FS_ENCODING, FS_ITALIC, FS_STRIKETHR, FS_UNDERLINE, FUNCTIONNAME_ATT, LINEHEIGHT, NAME_ATT, NULLSTRING_ATT, STYLE_CLASS_ATT, VALIGNMENT_ATT
 
Fields inherited from class org.jfree.report.modules.parser.base.AbstractPropertyXmlReadHandler
CLOSE_TAG_COMMENT, OPEN_TAG_COMMENT
 
Constructor Summary
AbstractTextElementReadHandler()
           
 
Method Summary
protected  ElementFactory getElementFactory()
           
protected abstract  TextElementFactory getTextElementFactory()
           
protected  void startParsing(PropertyAttributes atts)
          Starts parsing.
 
Methods inherited from class org.jfree.report.modules.parser.simple.readhandlers.AbstractElementReadHandler
doneParsing, getElementPosition, getObject, storeComments
 
Methods inherited from class org.jfree.report.modules.parser.base.AbstractPropertyXmlReadHandler
defaultStoreComments, getBuilderHints, getHandlerForChild, getHandlerForChild, getPreCloseTagComments, getPreOpenTagComments, startParsing, storeCloseComments
 
Methods inherited from class org.jfree.xml.parser.AbstractXmlReadHandler
characters, endElement, getRootHandler, getTagName, init, startElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESERVED_LITERAL_ATT

public static final java.lang.String RESERVED_LITERAL_ATT
A constant defining the name of the reserved-literal attribute.

TRIM_TEXT_CONTENT_ATT

public static final java.lang.String TRIM_TEXT_CONTENT_ATT
A constant defining the name of the trim-text-content attribute.

WRAP_TEXT

public static final java.lang.String WRAP_TEXT
Constructor Detail

AbstractTextElementReadHandler

public AbstractTextElementReadHandler()
Method Detail

getTextElementFactory

protected abstract TextElementFactory getTextElementFactory()

getElementFactory

protected final ElementFactory getElementFactory()
Overrides:
getElementFactory in class AbstractElementReadHandler

startParsing

protected void startParsing(PropertyAttributes atts)
                     throws org.xml.sax.SAXException,
                            org.jfree.xml.parser.XmlReaderException
Starts parsing.
Overrides:
startParsing in class AbstractElementReadHandler
Parameters:
atts - the attributes.
Throws:
org.xml.sax.SAXException - if there is a parsing error.