public abstract class AbstractPartComponentXmlWriter extends Object implements PartComponentXmlWriter
ComponentsExtensionsRegistryFactory
Modifier and Type | Field and Description |
---|---|
protected JasperReportsContext |
jasperReportsContext |
static String |
PROPERTY_PART_COMPONENTS_PREFIX |
protected VersionComparator |
versionComparator |
Constructor and Description |
---|
AbstractPartComponentXmlWriter(JasperReportsContext jasperReportsContext) |
Modifier and Type | Method and Description |
---|---|
static String |
getVersion(JasperReportsContext jasperReportsContext,
JRPart part,
JRXmlWriter reportWriter) |
protected boolean |
isNewerVersionOrEqual(JRPart part,
JRXmlWriter reportWriter,
String oldVersion) |
protected boolean |
isOlderVersionThan(JRPart part,
JRXmlWriter reportWriter,
String version) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isToWrite, writeToXml
public static final String PROPERTY_PART_COMPONENTS_PREFIX
protected final JasperReportsContext jasperReportsContext
protected final VersionComparator versionComparator
public AbstractPartComponentXmlWriter(JasperReportsContext jasperReportsContext)
public static String getVersion(JasperReportsContext jasperReportsContext, JRPart part, JRXmlWriter reportWriter)
protected boolean isNewerVersionOrEqual(JRPart part, JRXmlWriter reportWriter, String oldVersion)
protected boolean isOlderVersionThan(JRPart part, JRXmlWriter reportWriter, String version)
Copyright © 2019 TIBCO Software Inc.. All rights reserved.