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

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.SimpleSubReportReadHandler
All Implemented Interfaces:
SubReportReadHandler, org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler

public class SimpleSubReportReadHandler
extends AbstractPropertyXmlReadHandler
implements SubReportReadHandler

Creation-Date: Dec 18, 2006, 1:09:51 PM

Author:
Thomas Morgner

Field Summary
static String BOTTOMMARGIN_ATT
          Literal text for an XML attribute.
static String HEIGHT_ATT
          Literal text for an XML attribute.
static String LEFTMARGIN_ATT
          Literal text for an XML attribute.
static String NAME_ATT
          Literal text for an XML attribute.
static String ORIENTATION_ATT
          Literal text for an XML attribute.
static String ORIENTATION_LANDSCAPE_VAL
          Literal text for an XML attribute.
static String ORIENTATION_PORTRAIT_VAL
          Literal text for an XML attribute.
static String ORIENTATION_REVERSE_LANDSCAPE_VAL
          Literal text for an XML attribute.
static String PAGEFORMAT_ATT
          Literal text for an XML attribute.
static String PAGESPAN_ATT
          Literal text for an XML attribute.
static String REPORT_TAG
          Literal text for an XML report element.
static String RIGHTMARGIN_ATT
          Literal text for an XML attribute.
static String TOPMARGIN_ATT
          Literal text for an XML attribute.
static String UNIT_ATT
          Literal text for an XML attribute.
static String WIDTH_ATT
          Literal text for an XML attribute.
 
Constructor Summary
SimpleSubReportReadHandler()
           
 
Method Summary
 Object getObject()
          Returns the object for this element.
 SubReport getSubReport()
           
 void init(org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler rootHandler, String uri, String tagName)
          Initialises the handler.
 boolean isDisableRootTagWarning()
           
 void setDisableRootTagWarning(boolean disableWarning)
           
 
Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
characters, endElement, getLocator, getRootHandler, getTagName, getUri, 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, startElement
 

Field Detail

REPORT_TAG

public static final String REPORT_TAG
Literal text for an XML report element.

See Also:
Constant Field Values

NAME_ATT

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

See Also:
Constant Field Values

PAGEFORMAT_ATT

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

See Also:
Constant Field Values

PAGESPAN_ATT

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

See Also:
Constant Field Values

UNIT_ATT

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

See Also:
Constant Field Values

LEFTMARGIN_ATT

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

See Also:
Constant Field Values

RIGHTMARGIN_ATT

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

See Also:
Constant Field Values

TOPMARGIN_ATT

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

See Also:
Constant Field Values

BOTTOMMARGIN_ATT

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

See Also:
Constant Field Values

WIDTH_ATT

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

See Also:
Constant Field Values

HEIGHT_ATT

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

See Also:
Constant Field Values

ORIENTATION_ATT

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

See Also:
Constant Field Values

ORIENTATION_PORTRAIT_VAL

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

See Also:
Constant Field Values

ORIENTATION_LANDSCAPE_VAL

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

See Also:
Constant Field Values

ORIENTATION_REVERSE_LANDSCAPE_VAL

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

See Also:
Constant Field Values
Constructor Detail

SimpleSubReportReadHandler

public SimpleSubReportReadHandler()
Method Detail

init

public void init(org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler rootHandler,
                 String uri,
                 String tagName)
Initialises the handler.

Specified by:
init in interface org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
Overrides:
init in class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
Parameters:
rootHandler - the root handler.
tagName - the tag name.

setDisableRootTagWarning

public void setDisableRootTagWarning(boolean disableWarning)
Specified by:
setDisableRootTagWarning in interface SubReportReadHandler

isDisableRootTagWarning

public boolean isDisableRootTagWarning()

getObject

public Object getObject()
Returns the object for this element.

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

getSubReport

public SubReport getSubReport()
Specified by:
getSubReport in interface SubReportReadHandler