Class CastorUtil

java.lang.Object
net.sf.jasperreports.castor.util.CastorUtil

public class CastorUtil extends Object
Deprecated.
To be removed.
Author:
Teodor Danciu (teodord@users.sourceforge.net)
  • Field Details

    • EXCEPTION_MESSAGE_KEY_MAPPINGS_LOADING_ERROR

      public static final String EXCEPTION_MESSAGE_KEY_MAPPINGS_LOADING_ERROR
      Deprecated.
      See Also:
  • Method Details

    • 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.
    • writeToString

      public String writeToString(Object object)
      Deprecated.
    • writeToFile

      public void writeToFile(Object object, String filename)
      Deprecated.
    • write

      public void write(Object object, OutputStream output)
      Deprecated.
    • write

      public void write(Object object, Writer writer)
      Deprecated.