Package net.sf.jasperreports.parts
Class PartComponentsXmlWriter
java.lang.Object
net.sf.jasperreports.parts.AbstractPartComponentXmlWriter
net.sf.jasperreports.parts.PartComponentsXmlWriter
- All Implemented Interfaces:
PartComponentXmlWriter
XML writer for built-in part component implementations.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
Field Summary
Fields inherited from class net.sf.jasperreports.parts.AbstractPartComponentXmlWriter
jasperReportsContext, PROPERTY_PART_COMPONENTS_PREFIX, versionComparator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisToWrite(JRPart part, JRXmlWriter reportWriter) Specifies whether this component should be written out.protected voidwriteSubreport(JRPart part, JRXmlWriter reportWriter) voidwriteToXml(JRPart part, JRXmlWriter reportWriter) Outputs the XML representation of a component.Methods inherited from class net.sf.jasperreports.parts.AbstractPartComponentXmlWriter
getVersion, isNewerVersionOrEqual, isOlderVersionThan
-
Constructor Details
-
PartComponentsXmlWriter
-
-
Method Details
-
writeToXml
Description copied from interface:PartComponentXmlWriterOutputs the XML representation of a component.- Parameters:
part- the partreportWriter- the report writer to which output is to be written- Throws:
IOException- exceptions produced while writing to the output stream- See Also:
-
writeSubreport
- Throws:
IOException
-
isToWrite
Description copied from interface:PartComponentXmlWriterSpecifies whether this component should be written out. This is useful for versioning.
-