Package net.sf.jasperreports.util
Class CastorUtil
- java.lang.Object
-
- net.sf.jasperreports.util.CastorUtil
-
public class CastorUtil extends Object
Deprecated.To be removed.- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_MAPPINGS_LOADING_ERROR
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CastorUtil
getInstance(JasperReportsContext jasperReportsContext)
Deprecated.protected List<CastorMapping>
getMappings(String version)
Deprecated.protected String
getVersion(CastorMapping castorMapping)
Deprecated.protected Map<Object,org.exolab.castor.xml.XMLContext>
getXmlContextCache(String contextCacheKey)
Deprecated.protected boolean
isEligversionible(CastorMapping castorMapping, String targetVersion)
Deprecated.Object
read(InputStream is)
Deprecated.static Object
read(JasperReportsContext jasperReportsContext, InputStream is)
Deprecated.To be removed.void
write(Object object, OutputStream output)
Deprecated.void
write(Object object, Writer writer)
Deprecated.void
writeToFile(Object object, String filename)
Deprecated.String
writeToString(Object object)
Deprecated.
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_MAPPINGS_LOADING_ERROR
public static final String EXCEPTION_MESSAGE_KEY_MAPPINGS_LOADING_ERROR
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static CastorUtil getInstance(JasperReportsContext jasperReportsContext)
Deprecated.
-
read
public static Object read(JasperReportsContext jasperReportsContext, InputStream is)
Deprecated.To be removed.Convenience method called from main JasperReports library through reflection.
-
getXmlContextCache
protected Map<Object,org.exolab.castor.xml.XMLContext> getXmlContextCache(String contextCacheKey)
Deprecated.
-
getMappings
protected List<CastorMapping> getMappings(String version)
Deprecated.
-
isEligversionible
protected boolean isEligversionible(CastorMapping castorMapping, String targetVersion)
Deprecated.
-
getVersion
protected String getVersion(CastorMapping castorMapping)
Deprecated.
-
read
public Object read(InputStream is)
Deprecated.
-
write
public void write(Object object, OutputStream output)
Deprecated.
-
-