|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jimm.datavision.Report
public class Report
A report holds data source information, accepts parameters from the user, runs a query, and uses a layout engine to format the output. It may contain many different sections, each of which can contain logic for surpressing itself.
Field Summary | |
---|---|
protected java.util.Collection |
aggregateFields
|
protected boolean |
askedForParameters
|
protected java.lang.String |
author
|
protected boolean |
caseSensitiveDatabaseNames
Flag for Database data sources. |
protected java.lang.String |
databasePassword
|
protected DataSource |
dataSource
|
protected Field |
defaultField
This field holds default format, border, and bounds values for all fields. |
protected java.lang.String |
description
|
protected SectionArea |
details
|
protected java.util.HashMap |
formulas
|
protected java.util.ArrayList |
groups
|
protected LayoutEngine |
layoutEngine
|
protected java.lang.String |
name
|
protected static double |
OUTPUT_DTD_VERSION
|
protected SectionArea |
pageFooters
|
protected SectionArea |
pageHeaders
|
protected PaperFormat |
paperFormat
|
protected java.util.TreeMap |
parameters
|
protected boolean |
parametersHaveValues
|
protected ParameterReader |
paramReader
|
protected boolean |
paramsSetManually
|
protected SectionArea |
reportFooters
|
protected SectionArea |
reportHeaders
|
protected DataCursor |
rset
|
protected Scripting |
scripting
|
protected Formula |
startFormula
|
protected java.util.HashMap |
subreports
|
protected java.lang.String |
title
|
protected java.util.HashMap |
usercols
|
static java.lang.String |
XML_ENCODING_ATTRIBUTE
The string to write at the top of an XML file in the XML decl. |
static java.lang.String |
XML_JAVA_ENCODING
The string to use when reading and writing XML files. |
Constructor Summary | |
---|---|
Report()
Constructs an empty report. |
Method Summary | |
---|---|
void |
add(java.lang.Object obj)
Figure out what obj is and add it. |
void |
addFormula(Formula f)
|
void |
addGroup(Group g)
|
void |
addParameter(Parameter p)
|
void |
addSubreport(Subreport sub)
|
void |
addUserColumn(UserColumn uc)
|
protected void |
askForDataSourceFile()
Asks the user for a data source file if necessary. |
protected void |
askForParameters()
Asks the user for parameter values. |
void |
askForPassword(Database db)
Sets a database's user name and password. |
boolean |
caseSensitiveDatabaseNames()
Returns the value of the caseSensitiveDatabaseNames flag. |
protected void |
collectAggregateFields()
Collects all aggregate fields and lets each one initialize itself. |
protected java.util.List |
collectUsedParameters()
Returns a list of all the parameters actually used in the report. |
java.lang.Object |
columnValue(Selectable selectable)
Returns the current value of the specified selectable. |
boolean |
contains(Field f)
Returns true if the specified field exists within this
report. |
boolean |
contains(Section s)
Returns true if this report contains the specified section. |
boolean |
containsReferenceTo(Field f)
Returns true if the specified field exists within this
report either directly (as a field) or indirectly (as a formula used
by a aggregate, parameter, user column, or another formula). |
boolean |
containsReferenceTo(Formula f)
Returns true if the specified formula exists within this
report either directly (as a formula field) or indirectly (as a formula
used by a aggregate or by another formula). |
boolean |
containsReferenceTo(Parameter p)
Returns true if the specified parameter exists within this
report either directly (as a parameter field) or indirectly (as a
parameter used by a aggregate or by another parameter or in the query's
where clause). |
boolean |
containsReferenceTo(UserColumn uc)
Returns true if the specified user column exists within
this report either directly (as a user column field) or indirectly
(inside a aggregate or formula). |
int |
countGroups()
|
SectionArea |
details()
|
java.lang.Object |
eval(java.lang.String language,
java.lang.String evalString,
java.lang.String displayName)
Evaluates an evalString using language and returns the results. |
void |
evaluateFormulasIn(Section s)
Evalues the formulas in the specified section. |
Column |
findColumn(java.lang.String id)
Given an id (a column name), returns the column that has that id. |
Field |
findField(java.lang.Object id)
Given an id, returns the field that has that id. |
Formula |
findFormula(java.lang.Object id)
Returns the formula with the specified id or null
if one is not found. |
Formula |
findFormulaByName(java.lang.String name)
Returns the formula with the specified name or null
if one is not found. |
Group |
findGroup(Section section)
Returns the group associated with the specified section, or null if there isn't one. |
Group |
findGroup(Selectable selectable)
Returns the group associated with the specified column, or null if there isn't one. |
Parameter |
findParameter(java.lang.Object id)
Returns the parameter with the specified id or null if one is
not found. |
Parameter |
findParameterByName(java.lang.String name)
Returns the parameter with the specified name or null
if one is not found. |
Selectable |
findSelectable(java.lang.Object id,
java.lang.String type)
|
Subreport |
findSubreport(java.lang.Object id)
Returns the subreport with the specified id or null
if one is not found. |
UserColumn |
findUserColumn(java.lang.Object id)
Returns the user column with the specified id or null
if one is not found. |
UserColumn |
findUserColumnByName(java.lang.String name)
Returns the user column with the specified name or null
if one is not found. |
SectionArea |
footers()
|
java.util.Iterator |
formulas()
|
java.lang.Long |
generateNewFormulaId()
Generates and returns a new unique formula id number. |
protected java.lang.Long |
generateNewId(java.util.Iterator iter)
Generates and returns a new unique id number. |
java.lang.Long |
generateNewParameterId()
Generates and returns a new unique parameter id number. |
java.lang.Long |
generateNewSubreportId()
Generates and returns a new unique user column id number. |
java.lang.Long |
generateNewUserColumnId()
Generates and returns a new unique user column id number. |
java.util.AbstractList |
getAggregateFieldsFor(Field field)
Collects all aggregate fields that are aggregating the specified field. |
java.lang.String |
getAuthor()
|
DataCursor |
getCurrentRow()
Returns the current row of data. |
DataSource |
getDataSource()
|
Field |
getDefaultField()
Returns the field that holds default format, border, and bounds values for all fields. |
java.lang.String |
getDescription()
|
protected java.awt.Frame |
getDesignFrame()
Returns the Frame associated with the design window for
this report; may be null . |
Section |
getFirstSectionByArea(int area)
Returns the first section in the list of the specified type. |
java.lang.String |
getName()
Returns the name. |
PaperFormat |
getPaperFormat()
|
java.lang.Object |
getParameterValue(java.lang.Object paramId)
Returns the value of the specified parameter. |
Scripting |
getScripting()
|
SectionArea |
getSectionArea(int area)
Returns the section area corresponding to area, but only if area is not group header or group footer. |
ReportSectionLoc |
getSectionLocation(Section s)
Returns a structure useful only by this report for re-inserting a section. |
Formula |
getStartFormula()
Returns the report's start formula; may be null . |
java.lang.String |
getTitle()
|
java.util.Iterator |
groups()
|
java.util.Iterator |
groupsReversed()
Returns an iterator over the groups in reverse order. |
boolean |
hasDataSource()
|
boolean |
hasFields()
Returns true if this report contains some field anywhere. |
boolean |
hasGroups()
|
boolean |
hasParameterFields()
Returns true if this report contains some parameter field
anywhere. |
SectionArea |
headers()
|
void |
initializeSections()
|
Group |
innermostGroup()
Returns the last (innermost) group in the report, or null
if there are no groups. |
Section |
insertSectionBelow(Section goBelowThis)
Creates and returns a new section below the specified one. |
Section |
insertSectionBelow(Section section,
Section goBelowThis)
Inserts a (possibly newly created) section below the specified one. |
boolean |
isInsideGroup(Section section)
Returns true if the specified section is contained in
any group. |
boolean |
isOneOfAKind(Section s)
Returns true if the specified section is the only section
of its kind; that is, the only section in the collection in which it
is contained. |
boolean |
isUsedBySomeGroup(Selectable g)
Returns true if the specified data source column is a
group column. |
SectionArea |
pageFooters()
|
SectionArea |
pageHeaders()
|
int |
pageNumber()
Returns the current page number. |
java.util.Iterator |
parameters()
|
void |
parametersSetManually(boolean val)
Lets the caller tell the report to ask for parameters (val is false , the default value) or to not ask (val is
true ). |
protected void |
processResultRow()
Processes a single data source row. |
void |
read(java.io.File f)
Reads an XML file and builds the contents of this report. |
void |
read(org.xml.sax.InputSource in)
Reads an XML stream using a org.xml.sax.InputSource and
builds the contents of this report. |
void |
reinsertSection(ReportSectionLoc loc)
Reinserts a section based on the location information previously retrieved by a call to getSectionLocation(jimm.datavision.Section) . |
void |
reloadColumns()
Tells this report to reload all references to column objects. |
void |
remove(java.lang.Object obj)
Figure out what obj is and remove it. |
void |
removeAllGroups()
|
void |
removeField(Field f)
|
void |
removeFormula(Formula f)
|
void |
removeGroup(Group g)
|
void |
removeParameter(Parameter p)
|
void |
removeSection(Section s)
Removes the specified section. |
void |
removeSubreport(Subreport sub)
|
void |
removeUserColumn(UserColumn uc)
|
protected void |
resetCachedValues()
Tells each formula that it should re-evaluate. |
int |
rowNumber()
Returns the current data row number. |
void |
run()
Spawns a new thread that runs the report, using the layout engine to generate output. |
void |
runReport()
Runs the data source's query and hands rows to the layout engine. |
Section |
sectionContaining(Field f)
Returns the section containing the specified field, or null
if the field is not in the report. |
void |
setAuthor(java.lang.String newAuthor)
|
void |
setCaseSensitiveDatabaseNames(boolean val)
Sets the value of caseSensitiveDatabaseNames. |
void |
setDatabaseConnection(java.sql.Connection conn)
Sets the database connection. |
void |
setDatabasePassword(java.lang.String pwd)
Sets the database password. |
void |
setDataSource(DataSource newDataSource)
Sets the data source. |
void |
setDescription(java.lang.String newDescription)
|
void |
setLayoutEngine(LayoutEngine layoutEngine)
Sets the layout engine to use. |
void |
setName(java.lang.String newName)
Sets the name. |
void |
setPaperFormat(PaperFormat newPaperFormat)
|
void |
setParameterXMLInput(java.io.File f)
Remembers name of parameter XML file. |
void |
setParameterXMLInput(org.xml.sax.InputSource in)
Remembers an input source and reads parameter values from it later. |
void |
setStartFormula(Formula newStartFormula)
|
void |
setTitle(java.lang.String newTitle)
|
java.util.Iterator |
subreports()
|
protected void |
updateAggregates()
Updates each aggregate field. |
protected void |
updateGroupCounters()
Lets each group update its line counter. |
protected void |
updateGroups()
Updates each group's value based on the current value of the column each group uses. |
java.util.Iterator |
userColumns()
|
java.lang.Object |
value(java.lang.String labelOrId)
Returns the value of the object ( Column , Formula ,
Parameter , UserColumn , or SpecialField )
identified by labelOrId. |
void |
withFieldsDo(FieldWalker f)
Iterates over all fields in the report, passing the section to the specified FieldWalker . |
void |
withSectionsDo(SectionWalker s)
Iterates over all sections in the report, passing the section to the specified SectionWalker . |
protected void |
writeComment(XMLWriter out)
|
protected void |
writeDescription(XMLWriter out)
|
void |
writeFile(java.lang.String fileName)
Writes the contents of this report as an XML file. |
protected void |
writePage(XMLWriter out)
|
protected void |
writeReport(XMLWriter out)
|
protected void |
writeStartFormula(XMLWriter out)
|
void |
writeXML(XMLWriter out)
Writes the contents of this report as an XML file. |
protected void |
writeXMLDecl(XMLWriter out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String XML_JAVA_ENCODING
public static final java.lang.String XML_ENCODING_ATTRIBUTE
protected static final double OUTPUT_DTD_VERSION
protected java.lang.String name
protected java.lang.String title
protected java.lang.String author
protected java.lang.String description
protected Formula startFormula
protected DataSource dataSource
protected java.util.HashMap formulas
protected java.util.TreeMap parameters
protected java.util.HashMap usercols
protected java.util.HashMap subreports
protected java.util.ArrayList groups
protected SectionArea reportHeaders
protected SectionArea reportFooters
protected SectionArea pageHeaders
protected SectionArea pageFooters
protected SectionArea details
protected DataCursor rset
protected LayoutEngine layoutEngine
protected PaperFormat paperFormat
protected java.util.Collection aggregateFields
protected java.lang.String databasePassword
protected boolean askedForParameters
protected boolean parametersHaveValues
protected boolean paramsSetManually
protected ParameterReader paramReader
protected boolean caseSensitiveDatabaseNames
protected Scripting scripting
protected Field defaultField
Constructor Detail |
---|
public Report()
Method Detail |
---|
public void initializeSections()
public void setLayoutEngine(LayoutEngine layoutEngine)
layoutEngine
- a layout engineprotected java.lang.Long generateNewId(java.util.Iterator iter)
Identity
objects whose
identifiers must be Long
objects.
iter
- an iterator over a collection if Identity
objects whose identifiers must be Long
s
Long
public java.lang.Long generateNewFormulaId()
public java.lang.Long generateNewParameterId()
public java.lang.Long generateNewUserColumnId()
public java.lang.Long generateNewSubreportId()
public Field findField(java.lang.Object id)
null
.
null
if no field with the specified
id existspublic java.lang.String getName()
Nameable
getName
in interface Nameable
public void setName(java.lang.String newName)
Nameable
setName
in interface Nameable
newName
- the new namepublic java.lang.String getTitle()
public void setTitle(java.lang.String newTitle)
public java.lang.String getAuthor()
public void setAuthor(java.lang.String newAuthor)
public java.lang.String getDescription()
public void setDescription(java.lang.String newDescription)
public Formula getStartFormula()
null
.
null
public void setStartFormula(Formula newStartFormula)
public Scripting getScripting()
public java.lang.Object eval(java.lang.String language, java.lang.String evalString, java.lang.String displayName) throws org.apache.bsf.BSFException
Formula.evaluate(jimm.datavision.field.Field)
after it has created the
evalString.
language
- the language to useevalString
- the string to evaluatedisplayName
- a name (for example, a formula name) to display with
error messages
org.apache.bsf.BSFException
public java.lang.Object value(java.lang.String labelOrId)
Column
, Formula
,
Parameter
, UserColumn
, or SpecialField
)
identified by labelOrId.
labelOrId
- the label or id of apublic Field getDefaultField()
public DataSource getDataSource()
public boolean hasDataSource()
public void setDataSource(DataSource newDataSource)
ReportReader.database(org.xml.sax.Attributes)
, ReportReader.charSepSource(org.xml.sax.Attributes)
, or user code.
If we already have a data source (for example, someone has called setDatabaseConnection(java.sql.Connection)
), the existing data source will be stomped on. Both
ReportReader.database(org.xml.sax.Attributes)
and ReportReader.charSepSource(org.xml.sax.Attributes)
call
hasDataSource()
to check first.
newDataSource
- a new data sourcepublic void setDatabaseConnection(java.sql.Connection conn) throws java.sql.SQLException
Note: this connection will not be closed when the report finishes or even if the database object's connection is reset.
conn
- a database connection
java.sql.SQLException
public boolean caseSensitiveDatabaseNames()
true
.
true
if all mixed-case names should be quoted when
appropriatepublic void setCaseSensitiveDatabaseNames(boolean val)
public void reloadColumns()
Database.reset(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public Column findColumn(java.lang.String id)
null
. Calls
DataSource.findColumn(java.lang.Object)
.
null
if no column with the specified
id existspublic PaperFormat getPaperFormat()
public void setPaperFormat(PaperFormat newPaperFormat)
public void add(java.lang.Object obj)
public void remove(java.lang.Object obj)
public Parameter findParameter(java.lang.Object id)
null
if one is
not found. Note: don't use this method if you need a parameter's
value. That value is supplied by the user. Call getParameterValue(java.lang.Object)
instead, which asks the user to supply the value.
id
- the parameter id
null
if one is not foundpublic Parameter findParameterByName(java.lang.String name)
null
if one is not found.
name
- the name string
null
if one is not
foundpublic void addParameter(Parameter p)
public void removeParameter(Parameter p)
public java.util.Iterator parameters()
public Formula findFormula(java.lang.Object id)
null
if one is not found.
id
- the formula id
null
if one is not foundpublic Formula findFormulaByName(java.lang.String name)
null
if one is not found.
name
- the name string
null
if one is not foundpublic void addFormula(Formula f)
public void removeFormula(Formula f)
public java.util.Iterator formulas()
public UserColumn findUserColumn(java.lang.Object id)
null
if one is not found.
id
- the user column id
null
if one
is not foundpublic UserColumn findUserColumnByName(java.lang.String name)
null
if one is not found.
name
- the name string
null
if one
is not foundpublic void addUserColumn(UserColumn uc)
public void removeUserColumn(UserColumn uc)
public java.util.Iterator userColumns()
public Subreport findSubreport(java.lang.Object id)
null
if one is not found.
id
- the subreport id
null
if one is not foundpublic void addSubreport(Subreport sub)
public void removeSubreport(Subreport sub)
public java.util.Iterator subreports()
public Selectable findSelectable(java.lang.Object id, java.lang.String type)
public SectionArea getSectionArea(int area)
area
- one of the SectionArea.*
constants
public boolean contains(Section s)
true
if this report contains the specified section.
true
if this report contains the specified sectionpublic Section getFirstSectionByArea(int area)
GROUP_HEADER
or GROUP_FOOTER
, return
(a) null
if there are no groups in the report or
(b) the first header or footer of the first group.
Used by FieldClipping
when trying to paste
a field into either some other report or the same report if the original
section is no longer in that report.
null
public ReportSectionLoc getSectionLocation(Section s)
reinsertSection(jimm.datavision.ReportSectionLoc)
. Used by
DeleteSectionCommand
.
We assume that s is contained within some SectionArea
.
s
- the section in question
public void reinsertSection(ReportSectionLoc loc)
getSectionLocation(jimm.datavision.Section)
. Used by DeleteSectionCommand
.
loc
- a section locatctionpublic SectionArea headers()
public SectionArea footers()
public SectionArea pageHeaders()
public SectionArea pageFooters()
public SectionArea details()
public void addGroup(Group g)
public void removeGroup(Group g)
public void removeAllGroups()
public java.util.Iterator groups()
public int countGroups()
public boolean hasGroups()
public Group innermostGroup()
null
if there are no groups.
null
if there are no groups.public java.util.Iterator groupsReversed()
public void removeField(Field f)
public boolean contains(Field f)
true
if the specified field exists within this
report.
f
- a field
true
if the specified field exists within this
reportpublic Section sectionContaining(Field f)
null
if the field is not in the report.
f
- a field
null
if the field is not in the reportpublic boolean containsReferenceTo(Field f)
true
if the specified field exists within this
report either directly (as a field) or indirectly (as a formula used
by a aggregate, parameter, user column, or another formula).
f
- a field
true
if the specified field exists within this
reportpublic boolean containsReferenceTo(Formula f)
true
if the specified formula exists within this
report either directly (as a formula field) or indirectly (as a formula
used by a aggregate or by another formula). This is not the same as
answering the question, "Does this report contain this formula?" because
we want to know if the visual portion of the report or some other formula
accesses the specified formula.
f
- a formula
true
if the specified parameter exists within some
visual element of the report or within some formulapublic boolean containsReferenceTo(UserColumn uc)
true
if the specified user column exists within
this report either directly (as a user column field) or indirectly
(inside a aggregate or formula). This is not the same as answering the
question, "Does this report contain this user column?" because we want
to know if the visual portion of the report or some formula accesses the
specified user column.
uc
- a user column
true
if the specified parameter exists within some
visual element of the report or within some formulapublic boolean containsReferenceTo(Parameter p)
true
if the specified parameter exists within this
report either directly (as a parameter field) or indirectly (as a
parameter used by a aggregate or by another parameter or in the query's
where clause). This is not the same as answering the question, "Does
this report contain this parameter?" because we want to know if the
visual portion of the report or some formula accesses the specified
parameter.
p
- a parameter
true
if the specified parameter exists within some
visual element of the report or within some formula or within the
query's where clauseprotected java.util.List collectUsedParameters()
public Group findGroup(Selectable selectable)
null
if there isn't one.
selectable
- a selectable field
null
if there isn't onepublic Group findGroup(Section section)
null
if there isn't one.
section
- a section
null
if there isn't onepublic boolean isInsideGroup(Section section)
true
if the specified section is contained in
any group. The section may be either a header or a footer section.
section
- a section
true
if the section is within some grouppublic boolean isUsedBySomeGroup(Selectable g)
true
if the specified data source column is a
group column.
true
if the specified data source column is a
group columnpublic Section insertSectionBelow(Section goBelowThis)
goBelowThis
- a section
public Section insertSectionBelow(Section section, Section goBelowThis)
section
- the section to insertgoBelowThis
- section goes below this one;
public void removeSection(Section s)
s
- a sectionpublic boolean hasFields()
true
if this report contains some field anywhere.
Useful when the GUI is enabling menu items, for example.
true
if this report contains some field anywherepublic boolean hasParameterFields()
true
if this report contains some parameter field
anywhere. This doesn't determine if any parameters have been created,
but rather if any of the parameters are actually used in the report.
This method is not used by DataVision, but is useful for apps embedding DataVision that want to answer the question, "Do I have to read in a parameter XML file?"
true
if this report contains some parameter field
anywherepublic boolean isOneOfAKind(Section s)
true
if the specified section is the only section
of its kind; that is, the only section in the collection in which it
is contained.
s
- a report section
true
if this section is a lonerpublic void setDatabasePassword(java.lang.String pwd)
public void askForPassword(Database db)
Database.initializeConnection()
. If we already have the password, give it to
the database. If we don't, ask the user for both the user name (supplied to
us) and the password and give them to the database.
db
- the databasepublic java.lang.Object getParameterValue(java.lang.Object paramId)
paramId
- a parameter idpublic void parametersSetManually(boolean val)
false
, the default value) or to not ask (val is
true
). Call this method with val =
true
when you set the parameters in your Java code manually.
protected void askForParameters() throws UserCancellationException
UserCancellationException
.
UserCancellationException
protected void askForDataSourceFile() throws UserCancellationException, java.io.FileNotFoundException
UserCancellationException
.
UserCancellationException
- If the user cancels.
java.io.FileNotFoundException
- If the source file can't be found.public void run()
runReport()
.
You may ask why this method is called run
and it runs another
method called runReport
when the normal convention is for a
thread to run a Runnable
object that has a run
method.
The reason is purely historical. This method started non-threaded, and I
don't want anyone else who relies on this method to have to change their
code.
runReport()
public void runReport()
run()
, which spawns a new thread in which this
method is run. If you want to run a report, decide if you want it to run in
a separate thread or not. If so, call run
. If not, use this
method.
protected java.awt.Frame getDesignFrame()
Frame
associated with the design window for
this report; may be null
.
Frame
; may be null
protected void processResultRow() throws java.sql.SQLException
next
method of the result set has already been called.
java.sql.SQLException
protected void resetCachedValues()
public void evaluateFormulasIn(Section s)
s
- a sectionpublic java.lang.Object columnValue(Selectable selectable)
public int pageNumber()
public int rowNumber()
public DataCursor getCurrentRow()
public void withSectionsDo(SectionWalker s)
SectionWalker
. The sections are visited in the
order in which they will be displayed.
s
- a section walkerpublic void withFieldsDo(FieldWalker f)
FieldWalker
.
f
- a field walkerprotected void collectAggregateFields()
public java.util.AbstractList getAggregateFieldsFor(Field field)
field
- a field
protected void updateAggregates()
protected void updateGroups()
protected void updateGroupCounters()
public void setParameterXMLInput(java.io.File f)
f
- an XML filepublic void setParameterXMLInput(org.xml.sax.InputSource in)
in
- the input sourcepublic void read(java.io.File f) throws java.lang.Exception
ReportReader
.
f
- a report XML file
java.lang.Exception
public void read(org.xml.sax.InputSource in) throws java.lang.Exception
org.xml.sax.InputSource
and
builds the contents of this report. Uses a ReportReader
.
To specify a URL, use new InputSource("http://...")
.
in
- a reader
java.lang.Exception
ReportReader.read(org.xml.sax.InputSource)
public void writeFile(java.lang.String fileName)
fileName
- a file name stringpublic void writeXML(XMLWriter out)
writeXML
in interface Writeable
out
- an indent writerprotected void writeXMLDecl(XMLWriter out)
protected void writeComment(XMLWriter out)
protected void writeReport(XMLWriter out)
protected void writeDescription(XMLWriter out)
protected void writeStartFormula(XMLWriter out)
protected void writePage(XMLWriter out)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |