public abstract class AbstractElementReadHandler extends AbstractPropertyXmlReadHandler implements ReportElementReadHandler
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractElementReadHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
doneParsing()
Done parsing.
|
Element |
getElement() |
protected abstract ElementFactory |
getElementFactory() |
protected XmlReadHandler |
getHandlerForChild(String uri,
String tagName,
PropertyAttributes attrs) |
Object |
getObject()
Returns the object for this element or null, if this element does not create an object.
|
protected void |
handleInheritedStyle(String styleClass) |
protected void |
startParsing(PropertyAttributes atts)
Starts parsing.
|
getHandlerForChild, startParsing
characters, deriveParseParameters, endElement, getLocator, getRootHandler, getTagName, getUri, init, isSameNamespace, performExternalParsing, performExternalParsing, startElement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
characters, endElement, init, startElement
public static final String FONT_NAME_ATT
public static final String FONT_STYLE_ATT
public static final String FONT_SIZE_ATT
public static final String FS_BOLD
public static final String FS_ITALIC
public static final String FS_UNDERLINE
public static final String FS_STRIKETHR
public static final String FS_EMBEDDED
public static final String FS_ENCODING
public static final String LINEHEIGHT
public static final String NAME_ATT
public static final String ALIGNMENT_ATT
public static final String VALIGNMENT_ATT
public static final String COLOR_ATT
public static final String FIELDNAME_ATT
public static final String FUNCTIONNAME_ATT
public static final String NULLSTRING_ATT
public static final String STYLE_CLASS_ATT
protected abstract ElementFactory getElementFactory()
protected void startParsing(PropertyAttributes atts) throws SAXException
startParsing
in class AbstractPropertyXmlReadHandler
atts
- the attributes.SAXException
- if there is a parsing error.protected XmlReadHandler getHandlerForChild(String uri, String tagName, PropertyAttributes attrs) throws SAXException
getHandlerForChild
in class AbstractPropertyXmlReadHandler
SAXException
protected void doneParsing() throws SAXException
doneParsing
in class AbstractXmlReadHandler
SAXException
- if there is a parsing error.protected void handleInheritedStyle(String styleClass)
public Element getElement()
public Object getObject()
getObject
in interface XmlReadHandler
Copyright © 2017 Hitachi Vantara. All rights reserved.