org.pentaho.reporting.engine.classic.core.modules.parser.simple.readhandlers
Class AbstractElementReadHandler

java.lang.Object
  extended by org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
      extended by org.pentaho.reporting.engine.classic.core.modules.parser.base.common.AbstractPropertyXmlReadHandler
          extended by org.pentaho.reporting.engine.classic.core.modules.parser.simple.readhandlers.AbstractElementReadHandler
All Implemented Interfaces:
ReportElementReadHandler, org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
Direct Known Subclasses:
AbstractImageElementReadHandler, AbstractShapeElementReadHandler, AbstractTextElementReadHandler, AnchorFieldReadHandler, ComponentFieldReadHandler, DrawableFieldReadHandler, DrawableRefReadHandler, DrawableURLFieldReadHandler

public abstract class AbstractElementReadHandler
extends AbstractPropertyXmlReadHandler
implements ReportElementReadHandler


Field Summary
static String ALIGNMENT_ATT
          Literal text for an XML attribute.
static String COLOR_ATT
          Literal text for an XML attribute.
static String FIELDNAME_ATT
          Literal text for an XML attribute.
static String FONT_NAME_ATT
          Literal text for an XML attribute.
static String FONT_SIZE_ATT
          Literal text for an XML attribute.
static String FONT_STYLE_ATT
          Literal text for an XML attribute.
static String FS_BOLD
          Literal text for an XML attribute value.
static String FS_EMBEDDED
          Literal text for an XML attribute value.
static String FS_ENCODING
          Literal text for an XML attribute value.
static String FS_ITALIC
          Literal text for an XML attribute value.
static String FS_STRIKETHR
          Literal text for an XML attribute value.
static String FS_UNDERLINE
          Literal text for an XML attribute value.
static String FUNCTIONNAME_ATT
          Literal text for an XML attribute.
static String LINEHEIGHT
          Literal text for an XML attribute value.
static String NAME_ATT
          Literal text for an XML attribute.
static String NULLSTRING_ATT
          Literal text for an XML attribute.
static String STYLE_CLASS_ATT
           
static String VALIGNMENT_ATT
          Literal text for an XML attribute.
 
Method Summary
 Element getElement()
           
 Object getObject()
          Returns the object for this element or null, if this element does not create an object.
 
Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
characters, endElement, getLocator, getRootHandler, getTagName, getUri, init, startElement
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
characters, endElement, init, startElement
 

Field Detail

FONT_NAME_ATT

public static final String FONT_NAME_ATT
Literal text for an XML attribute.

See Also:
Constant Field Values

FONT_STYLE_ATT

public static final String FONT_STYLE_ATT
Literal text for an XML attribute.

See Also:
Constant Field Values

FONT_SIZE_ATT

public static final String FONT_SIZE_ATT
Literal text for an XML attribute.

See Also:
Constant Field Values

FS_BOLD

public static final String FS_BOLD
Literal text for an XML attribute value.

See Also:
Constant Field Values

FS_ITALIC

public static final String FS_ITALIC
Literal text for an XML attribute value.

See Also:
Constant Field Values

FS_UNDERLINE

public static final String FS_UNDERLINE
Literal text for an XML attribute value.

See Also:
Constant Field Values

FS_STRIKETHR

public static final String FS_STRIKETHR
Literal text for an XML attribute value.

See Also:
Constant Field Values

FS_EMBEDDED

public static final String FS_EMBEDDED
Literal text for an XML attribute value.

See Also:
Constant Field Values

FS_ENCODING

public static final String FS_ENCODING
Literal text for an XML attribute value.

See Also:
Constant Field Values

LINEHEIGHT

public static final String LINEHEIGHT
Literal text for an XML attribute value.

See Also:
Constant Field Values

NAME_ATT

public static final String NAME_ATT
Literal text for an XML attribute.

See Also:
Constant Field Values

ALIGNMENT_ATT

public static final String ALIGNMENT_ATT
Literal text for an XML attribute.

See Also:
Constant Field Values

VALIGNMENT_ATT

public static final String VALIGNMENT_ATT
Literal text for an XML attribute.

See Also:
Constant Field Values

COLOR_ATT

public static final String COLOR_ATT
Literal text for an XML attribute.

See Also:
Constant Field Values

FIELDNAME_ATT

public static final String FIELDNAME_ATT
Literal text for an XML attribute.

See Also:
Constant Field Values

FUNCTIONNAME_ATT

public static final String FUNCTIONNAME_ATT
Literal text for an XML attribute.

See Also:
Constant Field Values

NULLSTRING_ATT

public static final String NULLSTRING_ATT
Literal text for an XML attribute.

See Also:
Constant Field Values

STYLE_CLASS_ATT

public static final String STYLE_CLASS_ATT
See Also:
Constant Field Values
Method Detail

getElement

public Element getElement()

getObject

public Object getObject()
Returns the object for this element or null, if this element does not create an object.

Specified by:
getObject in interface org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
Returns:
the object.