ilog.rules.xml.util

Interface IlrXmlDataTypeMapper

  • All Known Implementing Classes:
    IlrXmlDefaultDataTypeMapper


    public interface IlrXmlDataTypeMapper
    Determines how XML types and collection are mapped onto the XOM.
    • Method Detail

      • supportDynamicSimpleTyping

        boolean supportDynamicSimpleTyping(IlrType type)
        Determines if a dynamic simple field of the XOM could be mapped on a simple dynamic type and not directly on a Java type.
      • mapEnumerationAsStaticFields

        boolean mapEnumerationAsStaticFields(IlrType type)
        Determines if static fields are generated for representing simple type enumerations.
      • useDynamicSimpleType

        boolean useDynamicSimpleType()
        Deprecated. 
        Determines if a dynamic simple field of the XOM could be mapped on a simple dynamic type and not directly on a Java type.
      • mapFacetAsStaticMethod

        boolean mapFacetAsStaticMethod()
        Determines if static methods is generated for representing simple type facets.
      • useArrayCollection

        boolean useArrayCollection()
        Determines if collections are mapped on arrays. If true, the getCollectionMapper method is not invoked to determine the collection type.
      • getCollectionMapper

        IlrXmlDataTypeMapper.CollectionMapper getCollectionMapper(IlrType componentXomType)
        Gets the collection mapping that describes how the collection field of a schema should be mapped on Java type. This method is not called when the useArrayCollection is true.
        Parameters:
        componentXomType - The XOM type of the collection component.
        Returns:
        The collection mapper.

© Copyright IBM Corp. 1987, 2017