com.java4less.rreport
Class XmlLayer
java.lang.Object
|
+--com.java4less.rreport.XmlLayer
- All Implemented Interfaces:
- ExportLayer
- public class XmlLayer
- extends java.lang.Object
- implements ExportLayer
Implementation of the ExportLayer used to create XML reports.
Field Summary |
boolean |
nestAreas
create xml nested elements for nested areas? |
Constructor Summary |
XmlLayer(int w,
int h,
java.lang.String sTitle)
|
Method Summary |
void |
close()
close Document |
java.lang.String |
getName()
get name of this layer |
java.lang.String |
getOutput()
returns csv output |
void |
ignoreArea(java.lang.String areaname)
set an area to be ignored, this area will not be exported to xml |
void |
newPage()
create a new page |
void |
print(RObject o,
double x,
double y,
java.lang.Object Value)
add object to the xml Document at the given position. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nestAreas
public boolean nestAreas
- create xml nested elements for nested areas?
XmlLayer
public XmlLayer(int w,
int h,
java.lang.String sTitle)
getName
public java.lang.String getName()
- get name of this layer
- Specified by:
getName
in interface ExportLayer
newPage
public void newPage()
throws java.lang.Exception
- create a new page
- Specified by:
newPage
in interface ExportLayer
close
public void close()
- close Document
- Specified by:
close
in interface ExportLayer
ignoreArea
public void ignoreArea(java.lang.String areaname)
- set an area to be ignored, this area will not be exported to xml
print
public void print(RObject o,
double x,
double y,
java.lang.Object Value)
- add object to the xml Document at the given position.
- Specified by:
print
in interface ExportLayer
getOutput
public java.lang.String getOutput()
- returns csv output