Class FOPropertyMapping

  • All Implemented Interfaces:
    Constants

    public final class FOPropertyMapping
    extends java.lang.Object
    implements Constants
    This class creates and returns an array of Property.Maker instances indexed by the PR_* propId from Constants.java. TODO Check multi-threading safety of the statics below
    • Method Detail

      • getGenericMappings

        public static PropertyMaker[] getGenericMappings()
        Return the array of Makers.
        Returns:
        the maker array.
      • getPropertyId

        public static int getPropertyId​(java.lang.String name)
        Return the propId for a property name.
        Parameters:
        name - the property name
        Returns:
        a propId that matches the property name.
      • getSubPropertyId

        public static int getSubPropertyId​(java.lang.String name)
        Return the subpropId for a subproperty name.
        Parameters:
        name - the subproperty name.
        Returns:
        a subpropId that matches the subproperty name.
      • getPropertyName

        public static java.lang.String getPropertyName​(int id)
        Returns the property name corresponding to the PR_* id
        Parameters:
        id - the property id in Constants
        Returns:
        the property name