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

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

public class JFreeReportReadHandler
extends AbstractPropertyXmlReadHandler

 <!ELEMENT report   (configuration?, reportheader?, reportfooter?, pageheader?,
 pagefooter?, watermark?, groups?, items?, functions?)>
 <!ATTLIST report
   width          CDATA           #IMPLIED
   height         CDATA           #IMPLIED
   name           CDATA           #IMPLIED
   pageformat     %pageFormats;   #IMPLIED
   orientation    (%orientations;) "portrait"
   leftmargin     CDATA           #IMPLIED
   rightmargin    CDATA           #IMPLIED
   topmargin      CDATA           #IMPLIED
   bottommargin   CDATA           #IMPLIED
 >
 


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
JFreeReportReadHandler()
           
 
Method Summary
 Object getObject()
          Returns the object for this element.
 void init(org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler rootHandler, String uri, String tagName)
          Initialises the handler.
 
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
 

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

JFreeReportReadHandler

public JFreeReportReadHandler()
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.

getObject

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

Returns:
the object.