|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.jfree.xml.writer.XMLWriterSupport
|
+--org.jfree.report.modules.parser.extwriter.AbstractXMLDefinitionWriter
A base class for writer classes for the JFreeReport XML report files.
| Field Summary | |
static java.lang.String |
BAND_TAG
The 'band' tag. |
static java.lang.String |
BASIC_KEY_TAG
The 'basic-key' tag name. |
static java.lang.String |
BASIC_OBJECT_TAG
The text for the 'basic-object' tag. |
static java.lang.String |
BOTTOMMARGIN_ATT
Literal text for an XML attribute. |
static java.lang.String |
CLASS_ATTRIBUTE
The class attribute name. |
static java.lang.String |
COMPOUND_KEY_TAG
The 'compound-key' tag name. |
static java.lang.String |
COMPOUND_OBJECT_TAG
The text for the 'compound-object' tag. |
static java.lang.String |
CONFIGURATION_TAG
The 'configuration' tag name. |
static java.lang.String |
DATADEFINITION_FACTORY_TAG
The 'datadefinition-factory' tag name. |
static java.lang.String |
DATAFACTORY_TAG
The 'default page format' tag name. |
static java.lang.String |
DATASOURCE_FACTORY_HINT
A constant defining a datasource factory parser hint. |
static java.lang.String |
DATASOURCE_FACTORY_TAG
The 'datasource-factory' tag name. |
static java.lang.String |
DATASOURCE_TAG
The datasource tag name. |
static java.lang.String |
ELEMENT_FACTORY_HINT
A constant defining a element factory parser hint. |
static java.lang.String |
ELEMENT_FACTORY_TAG
The 'element-factory' tag name. |
static java.lang.String |
ELEMENT_TAG
The 'element' tag. |
static java.lang.String |
EXPRESSION_TAG
The name of the expression tag. |
static java.lang.String |
EXTENDS_TAG
The 'extends' tag name. |
static java.lang.String |
FIELD_TAG
The 'field' tag name. |
static java.lang.String |
FIELDS_TAG
The 'fields' tag name. |
static java.lang.String |
FUNCTION_TAG
The name of the function tag. |
static java.lang.String |
FUNCTIONS_TAG
The functions tag name. |
static java.lang.String |
GROUP_FOOTER_TAG
The 'group-footer' tag name. |
static java.lang.String |
GROUP_HEADER_TAG
The 'group-header' tag name. |
static java.lang.String |
GROUP_TAG
The 'group' tag name. |
static java.lang.String |
GROUPS_TAG
The 'groups' tag name. |
static java.lang.String |
HEIGHT_ATT
Literal text for an XML attribute. |
static java.lang.String |
ITEMBAND_TAG
The 'itemband' tag name. |
static java.lang.String |
LEFTMARGIN_ATT
Literal text for an XML attribute. |
static java.lang.String |
NAME_ATTR
The 'name' attribute text. |
static java.lang.String |
OBJECT_FACTORY_HINT
A constant defining an object factory parser hint. |
static java.lang.String |
OBJECT_FACTORY_TAG
The 'object-factory' tag name. |
static java.lang.String |
ORIENTATION_ATT
Literal text for an XML attribute. |
static java.lang.String |
ORIENTATION_LANDSCAPE_VAL
Literal text for an XML attribute. |
static java.lang.String |
ORIENTATION_PORTRAIT_VAL
Literal text for an XML attribute. |
static java.lang.String |
ORIENTATION_REVERSE_LANDSCAPE_VAL
Literal text for an XML attribute. |
static java.lang.String |
OUTPUT_TARGET_TAG
The 'output-config' tag name. |
protected static java.lang.String |
PAGE_DEFINITION_TAG
|
static java.lang.String |
PAGE_FOOTER_TAG
The 'page-footer' tag name. |
static java.lang.String |
PAGE_HEADER_TAG
The 'page-header' tag name. |
protected static java.lang.String |
PAGE_TAG
|
static java.lang.String |
PAGEFORMAT_ATT
Literal text for an XML attribute. |
static java.lang.String |
PARSER_CONFIG_TAG
The parser config tag name. |
static java.lang.String |
PROPERTIES_TAG
The properties tag name. |
static java.lang.String |
PROPERTY_REF_TAG
The name of the 'property-ref' tag. |
static java.lang.String |
PROPERTY_TAG
The 'property' tag name. |
static java.lang.String |
REPORT_CONFIG_TAG
The report config tag name. |
static java.lang.String |
REPORT_DEFINITION_TAG
the document element tag for the extended report format. |
static java.lang.String |
REPORT_DESCRIPTION_TAG
The report description tag name. |
static java.lang.String |
REPORT_FOOTER_TAG
The 'report-footer' tag name. |
static java.lang.String |
REPORT_HEADER_TAG
The 'report-header' tag name. |
static java.lang.String |
RIGHTMARGIN_ATT
Literal text for an XML attribute. |
protected static java.lang.String |
SIMPLE_PAGE_DEFINITION_TAG
|
static java.lang.String |
STYLE_TAG
The 'style' tag name. |
static java.lang.String |
STYLEKEY_FACTORY_HINT
A constant defining a style key factory parser hint. |
static java.lang.String |
STYLEKEY_FACTORY_TAG
The 'stylekey-factory' tag name. |
static java.lang.String |
STYLES_TAG
The styles tag name. |
static java.lang.String |
TEMPLATE_FACTORY_HINT
A constant defining a template factory parser hint. |
static java.lang.String |
TEMPLATE_FACTORY_TAG
The 'template-factory' tag name. |
static java.lang.String |
TEMPLATE_TAG
The template tag. |
static java.lang.String |
TEMPLATES_TAG
The templates tag name. |
static java.lang.String |
TOPMARGIN_ATT
Literal text for an XML attribute. |
static java.lang.String |
WATERMARK_TAG
The 'watermark' tag name. |
static java.lang.String |
WIDTH_ATT
Literal text for an XML attribute. |
| Fields inherited from class org.jfree.xml.writer.XMLWriterSupport |
CLOSE,
CLOSE_TAG_DECREASE,
INDENT_ONLY,
OPEN,
OPEN_TAG_INCREASE |
| Constructor Summary | |
AbstractXMLDefinitionWriter(ReportWriter reportWriter,
int indentLevel)
Creates a new writer. |
|
| Method Summary | |
static org.jfree.xml.writer.SafeTagList |
getDefaultSafeTags()
Returns the tags that can safely extend over several lines in the XML definition. |
protected JFreeReport |
getReport()
Returns the report. |
protected ReportWriter |
getReportWriter()
Returns the report writer. |
static java.lang.String |
normalize(java.lang.String s)
Normalises a string, replacing certain characters with their escape sequences so that the XML text is not corrupted. |
abstract void |
write(java.io.Writer writer)
Writes the report definition portion. |
protected void |
writeComment(java.io.Writer writer,
CommentHintPath path,
java.lang.String hintName)
Reads a comment from the given comment hint path and hint name and Writes that comment to the xml stream. |
protected void |
writeComment(java.io.Writer writer,
java.lang.String comment)
Writes the given comment. |
| Methods inherited from class org.jfree.xml.writer.XMLWriterSupport |
allowLineBreak,
decreaseIndent,
endBlock,
getIndentLevel,
getLineSeparator,
getSafeTags,
increaseIndent,
indent,
startBlock,
writeCloseTag,
writeTag,
writeTag,
writeTag,
writeTag |
| 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 REPORT_DEFINITION_TAG
public static final java.lang.String PARSER_CONFIG_TAG
public static final java.lang.String REPORT_CONFIG_TAG
public static final java.lang.String STYLES_TAG
public static final java.lang.String TEMPLATES_TAG
public static final java.lang.String REPORT_DESCRIPTION_TAG
public static final java.lang.String FUNCTIONS_TAG
public static final java.lang.String BAND_TAG
public static final java.lang.String ELEMENT_TAG
public static final java.lang.String COMPOUND_OBJECT_TAG
public static final java.lang.String BASIC_OBJECT_TAG
public static final java.lang.String DATASOURCE_TAG
public static final java.lang.String PROPERTIES_TAG
public static final java.lang.String FUNCTION_TAG
public static final java.lang.String EXPRESSION_TAG
public static final java.lang.String PROPERTY_REF_TAG
public static final java.lang.String FIELDS_TAG
public static final java.lang.String FIELD_TAG
public static final java.lang.String GROUP_HEADER_TAG
public static final java.lang.String GROUP_FOOTER_TAG
public static final java.lang.String GROUP_TAG
public static final java.lang.String STYLEKEY_FACTORY_TAG
public static final java.lang.String TEMPLATE_FACTORY_TAG
public static final java.lang.String OBJECT_FACTORY_TAG
public static final java.lang.String DATADEFINITION_FACTORY_TAG
public static final java.lang.String DATASOURCE_FACTORY_TAG
public static final java.lang.String ELEMENT_FACTORY_TAG
public static final java.lang.String CLASS_ATTRIBUTE
public static final java.lang.String DATAFACTORY_TAG
public static final java.lang.String CONFIGURATION_TAG
public static final java.lang.String OUTPUT_TARGET_TAG
public static final java.lang.String PAGEFORMAT_ATT
public static final java.lang.String LEFTMARGIN_ATT
public static final java.lang.String RIGHTMARGIN_ATT
public static final java.lang.String TOPMARGIN_ATT
public static final java.lang.String BOTTOMMARGIN_ATT
public static final java.lang.String WIDTH_ATT
public static final java.lang.String HEIGHT_ATT
public static final java.lang.String ORIENTATION_ATT
public static final java.lang.String ORIENTATION_PORTRAIT_VAL
public static final java.lang.String ORIENTATION_LANDSCAPE_VAL
public static final java.lang.String ORIENTATION_REVERSE_LANDSCAPE_VAL
public static final java.lang.String STYLEKEY_FACTORY_HINT
public static final java.lang.String OBJECT_FACTORY_HINT
public static final java.lang.String DATASOURCE_FACTORY_HINT
public static final java.lang.String TEMPLATE_FACTORY_HINT
public static final java.lang.String ELEMENT_FACTORY_HINT
public static final java.lang.String REPORT_HEADER_TAG
public static final java.lang.String REPORT_FOOTER_TAG
public static final java.lang.String PAGE_HEADER_TAG
public static final java.lang.String PAGE_FOOTER_TAG
public static final java.lang.String ITEMBAND_TAG
public static final java.lang.String GROUPS_TAG
public static final java.lang.String WATERMARK_TAG
public static final java.lang.String STYLE_TAG
public static final java.lang.String COMPOUND_KEY_TAG
public static final java.lang.String BASIC_KEY_TAG
public static final java.lang.String EXTENDS_TAG
public static final java.lang.String TEMPLATE_TAG
public static final java.lang.String PROPERTY_TAG
public static final java.lang.String NAME_ATTR
protected static final java.lang.String PAGE_DEFINITION_TAG
protected static final java.lang.String SIMPLE_PAGE_DEFINITION_TAG
protected static final java.lang.String PAGE_TAG
| Constructor Detail |
public AbstractXMLDefinitionWriter(ReportWriter reportWriter,
int indentLevel)
reportWriter - the report writer.indentLevel - the current indention level.| Method Detail |
public static org.jfree.xml.writer.SafeTagList getDefaultSafeTags()
protected ReportWriter getReportWriter()
protected JFreeReport getReport()
public static java.lang.String normalize(java.lang.String s)
s - the string.
protected void writeComment(java.io.Writer writer,
java.lang.String comment)
throws java.io.IOException
writer - the writer that should receive the content.comment - the xml comment that should be written.
protected void writeComment(java.io.Writer writer,
CommentHintPath path,
java.lang.String hintName)
throws java.io.IOException
writer - the writer that should receive the contentpath - the comment hint path that points to the commenthintName - the hint name used to store the comment
public abstract void write(java.io.Writer writer)
throws java.io.IOException,
ReportWriterException
writer - the writer.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||