Package net.sf.jasperreports.parts
Class AbstractPartComponentXmlWriter
- java.lang.Object
-
- net.sf.jasperreports.parts.AbstractPartComponentXmlWriter
-
- All Implemented Interfaces:
PartComponentXmlWriter
- Direct Known Subclasses:
PartComponentsXmlWriter
public abstract class AbstractPartComponentXmlWriter extends java.lang.Object implements PartComponentXmlWriter
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
ComponentsExtensionsRegistryFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected JasperReportsContext
jasperReportsContext
static java.lang.String
PROPERTY_PART_COMPONENTS_PREFIX
protected VersionComparator
versionComparator
-
Constructor Summary
Constructors Constructor Description AbstractPartComponentXmlWriter(JasperReportsContext jasperReportsContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getVersion(JasperReportsContext jasperReportsContext, JRPart part, JRXmlWriter reportWriter)
protected boolean
isNewerVersionOrEqual(JRPart part, JRXmlWriter reportWriter, java.lang.String oldVersion)
protected boolean
isOlderVersionThan(JRPart part, JRXmlWriter reportWriter, java.lang.String version)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.engine.part.PartComponentXmlWriter
isToWrite, writeToXml
-
-
-
-
Field Detail
-
PROPERTY_PART_COMPONENTS_PREFIX
public static final java.lang.String PROPERTY_PART_COMPONENTS_PREFIX
- See Also:
- Constant Field Values
-
jasperReportsContext
protected final JasperReportsContext jasperReportsContext
-
versionComparator
protected final VersionComparator versionComparator
-
-
Constructor Detail
-
AbstractPartComponentXmlWriter
public AbstractPartComponentXmlWriter(JasperReportsContext jasperReportsContext)
-
-
Method Detail
-
getVersion
public static java.lang.String getVersion(JasperReportsContext jasperReportsContext, JRPart part, JRXmlWriter reportWriter)
-
isNewerVersionOrEqual
protected boolean isNewerVersionOrEqual(JRPart part, JRXmlWriter reportWriter, java.lang.String oldVersion)
-
isOlderVersionThan
protected boolean isOlderVersionThan(JRPart part, JRXmlWriter reportWriter, java.lang.String version)
-
-