Class RootLevelBandReadHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
-
- org.pentaho.reporting.engine.classic.core.modules.parser.base.common.AbstractPropertyXmlReadHandler
-
- org.pentaho.reporting.engine.classic.core.modules.parser.simple.readhandlers.AbstractElementReadHandler
-
- org.pentaho.reporting.engine.classic.core.modules.parser.simple.readhandlers.AbstractTextElementReadHandler
-
- org.pentaho.reporting.engine.classic.core.modules.parser.simple.readhandlers.BandReadHandler
-
- org.pentaho.reporting.engine.classic.core.modules.parser.simple.readhandlers.RootLevelBandReadHandler
-
- All Implemented Interfaces:
ReportElementReadHandler
,org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
- Direct Known Subclasses:
GroupFooterReadHandler
,GroupHeaderReadHandler
,PageBandReadHandler
,ReportFooterReadHandler
,ReportHeaderReadHandler
,WatermarkReadHandler
public class RootLevelBandReadHandler extends BandReadHandler
-
-
Field Summary
Fields Modifier and Type Field Description static String
ALIGNMENT_ATT
Literal text for an XML attribute.static String
FIXED_POSITION_ATTRIBUTE
Literal text for an XML attribute.static String
HEIGHT_ATTRIBUTE
Literal text for an XML attribute.static String
PAGEBREAK_AFTER_ATTRIBUTE
Literal text for an XML attribute.static String
PAGEBREAK_BEFORE_ATTR
Literal text for an XML attribute.static String
VALIGNMENT_ATT
Literal text for an XML attribute.-
Fields inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.simple.readhandlers.BandReadHandler
ANCHOR_FIELD_TAG, BAND_TAG, COMPONENTFIELD_TAG, DATE_FIELD_TAG, DRAWABLE_FIELD_TAG, IMAGEFIELD_TAG, IMAGEREF_TAG, IMAGEURLFIELD_TAG, LABEL_TAG, LINE_TAG, MESSAGE_FIELD_TAG, NUMBER_FIELD_TAG, RECTANGLE_TAG, RESOURCEFIELD_TAG, RESOURCELABEL_TAG, RESOURCEMESSAGE_TAG, ROUND_RECTANGLE_TAG, SHAPE_FIELD_TAG, STRING_FIELD_TAG
-
Fields inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.simple.readhandlers.AbstractTextElementReadHandler
EXCEL_WRAP_TEXT, RESERVED_LITERAL_ATT, TRIM_TEXT_CONTENT_ATT
-
Fields inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.simple.readhandlers.AbstractElementReadHandler
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
-
-
Constructor Summary
Constructors Constructor Description RootLevelBandReadHandler(Band band)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doneParsing()
Done parsing.protected org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
getHandlerForChild(String uri, String tagName, PropertyAttributes atts)
Returns the handler for a child element.protected boolean
isManualBreakAllowed()
protected void
startParsing(PropertyAttributes attr)
Starts parsing.-
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.simple.readhandlers.BandReadHandler
getBand, getObject, getTextElementFactory
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.simple.readhandlers.AbstractTextElementReadHandler
getElementFactory
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.simple.readhandlers.AbstractElementReadHandler
getElement, handleInheritedStyle
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.parser.base.common.AbstractPropertyXmlReadHandler
getHandlerForChild, startParsing
-
Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
characters, deriveParseParameters, endElement, getLocator, getRootHandler, getTagName, getUri, init, isSameNamespace, performExternalParsing, performExternalParsing, startElement
-
-
-
-
Field Detail
-
FIXED_POSITION_ATTRIBUTE
public static final String FIXED_POSITION_ATTRIBUTE
Literal text for an XML attribute.- See Also:
- Constant Field Values
-
PAGEBREAK_BEFORE_ATTR
public static final String PAGEBREAK_BEFORE_ATTR
Literal text for an XML attribute.- See Also:
- Constant Field Values
-
HEIGHT_ATTRIBUTE
public static final String HEIGHT_ATTRIBUTE
Literal text for an XML attribute.- See Also:
- Constant Field Values
-
PAGEBREAK_AFTER_ATTRIBUTE
public static final String PAGEBREAK_AFTER_ATTRIBUTE
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
-
-
Constructor Detail
-
RootLevelBandReadHandler
public RootLevelBandReadHandler(Band band)
-
-
Method Detail
-
startParsing
protected void startParsing(PropertyAttributes attr) throws SAXException
Starts parsing.- Overrides:
startParsing
in classBandReadHandler
- Parameters:
attr
- the attributes.- Throws:
SAXException
- if there is a parsing error.
-
getHandlerForChild
protected org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler getHandlerForChild(String uri, String tagName, PropertyAttributes atts) throws SAXException
Returns the handler for a child element.- Overrides:
getHandlerForChild
in classBandReadHandler
- Parameters:
tagName
- the tag name.atts
- the attributes.- Returns:
- the handler or null, if the tagname is invalid.
- Throws:
SAXException
- if there is a parsing error.
-
isManualBreakAllowed
protected boolean isManualBreakAllowed()
-
doneParsing
protected void doneParsing() throws SAXException
Done parsing.- Overrides:
doneParsing
in classBandReadHandler
- Throws:
SAXException
- if there is a parsing error.
-
-