Class CommonStyleReadHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
-
- org.pentaho.reporting.engine.classic.core.modules.parser.bundle.layout.CommonStyleReadHandler
-
- All Implemented Interfaces:
StyleReadHandler
,org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
public class CommonStyleReadHandler extends org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler implements StyleReadHandler
-
-
Constructor Summary
Constructors Constructor Description CommonStyleReadHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getObject()
Returns the object for this element or null, if this element does not create an object.ElementStyleSheet
getStyleSheet()
void
setStyleSheet(ElementStyleSheet styleSheet)
protected void
startParsing(Attributes attrs)
Starts parsing.-
Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
characters, deriveParseParameters, doneParsing, endElement, getHandlerForChild, getLocator, getRootHandler, getTagName, getUri, init, isSameNamespace, performExternalParsing, performExternalParsing, startElement
-
-
-
-
Method Detail
-
getStyleSheet
public ElementStyleSheet getStyleSheet()
-
setStyleSheet
public void setStyleSheet(ElementStyleSheet styleSheet)
- Specified by:
setStyleSheet
in interfaceStyleReadHandler
-
startParsing
protected void startParsing(Attributes attrs) throws SAXException
Starts parsing.- Overrides:
startParsing
in classorg.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
- Parameters:
attrs
- the attributes.- Throws:
SAXException
- if there is a parsing error.
-
getObject
public Object getObject() throws SAXException
Returns the object for this element or null, if this element does not create an object.- Specified by:
getObject
in interfaceorg.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
- Returns:
- the object.
- Throws:
SAXException
- if an parser error occured.
-
-