ilog.rules.xml.util

Class IlrXmlCollectionMapperFactory

  • java.lang.Object
    • ilog.rules.xml.util.IlrXmlCollectionMapperFactory


  • public class IlrXmlCollectionMapperFactory
    extends java.lang.Object
    This class is the default implementation of an XML data type mapper.
    • Constructor Detail

      • IlrXmlCollectionMapperFactory

        public IlrXmlCollectionMapperFactory()
    • Method Detail

      • createCollectionMapper

        public static IlrXmlDataTypeMapper.CollectionMapper createCollectionMapper(java.lang.Class collectionClass,
                                                                   IlrObjectModel model)
        Creates a collection mapper knowing its implementation class.
        Parameters:
        collectionClass - The implementation class of the collection.
        model - The model for which this mapper is used.
        Returns:
        The mapper. It may be null if the chosen mapper is not known.
      • createArrayMapper

        public static IlrXmlDataTypeMapper.CollectionMapper createArrayMapper(IlrClass collectionXomType,
                                                              java.lang.Class compWrapperType)
        Creates a collection mapper knowing its implementation class.
        Parameters:
        collectionXomType - The XOM type of the collection.
        compWrapperType - The wrapper type for which this mapper is used.
        Returns:
        The mapper. It may be null if the choosen mapper is not known

© Copyright IBM Corp. 1987, 2017