ilog.rules.dvs.excel.migration

Class IlrConversionContext

  • java.lang.Object
    • ilog.rules.dvs.excel.migration.IlrConversionContext


  • public class IlrConversionContext
    extends java.lang.Object
    Provides context for the conversion of the customer object Model (XOM, BOM, or XML) into the Excel 2003 format (flat or tabbed).
    See Also:
    IlrBOM2DVSConverter
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected static com.ibm.rules.res.message.internal.LocalizedMessageHelper MESSAGE_HELPER 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Object convert(org.w3c.dom.Element xmlTree, IlrBOMTypeDescriptor expectedBomType, java.util.List<IlrError> exceptionHandler)
      Does the classical reading using registered converters.
      IlrBusinessObjectModelServices getDvsBomService()
      Returns the business object model service attached to the written Excel 2003 scenario file.
      IlrExcel2003InlinedTypeManager getInlinedTypeManager()
      Returns the inline type manager attached to the written Excel 2003 scenario file.
      java.lang.Object readBOMObject(org.w3c.dom.Element xmlTree, java.lang.String type, java.util.List<IlrError> exceptionHandler)
      BOM serialization reading using the current context.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MESSAGE_HELPER

        protected static final com.ibm.rules.res.message.internal.LocalizedMessageHelper MESSAGE_HELPER
    • Method Detail

      • getDvsBomService

        public IlrBusinessObjectModelServices getDvsBomService()
        Returns the business object model service attached to the written Excel 2003 scenario file.
        Returns:
        The business object model service attached to the written Excel 2003 scenario file.
      • getInlinedTypeManager

        public IlrExcel2003InlinedTypeManager getInlinedTypeManager()
        Returns the inline type manager attached to the written Excel 2003 scenario file.
        Returns:
        The inline type manager attached to the written Excel 2003 scenario file.
      • readBOMObject

        public java.lang.Object readBOMObject(org.w3c.dom.Element xmlTree,
                                     java.lang.String type,
                                     java.util.List<IlrError> exceptionHandler)
        BOM serialization reading using the current context.
        Parameters:
        xmlTree - The XML structure to read.
        type - The attempted type of the resulting object.
        exceptionHandler - List to attached error, which may occur during the translation.
        Returns:
        The resulting object.
      • convert

        public java.lang.Object convert(org.w3c.dom.Element xmlTree,
                               IlrBOMTypeDescriptor expectedBomType,
                               java.util.List<IlrError> exceptionHandler)
        Does the classical reading using registered converters.
        Parameters:
        xmlTree - The XML structure to read.
        expectedBomType - The attempted type of the resulting object.
        exceptionHandler - List to attached error, which may occur during the translation.
        Returns:
        The resulting object.

© Copyright IBM Corp. 1987, 2017