Class FOPropertyMapping

java.lang.Object
org.apache.fop.fo.FOPropertyMapping
All Implemented Interfaces:
Constants

public final class FOPropertyMapping extends 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 Details

    • getGenericMappings

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

      public static int getPropertyId(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(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 String getPropertyName(int id)
      Returns the property name corresponding to the PR_* id
      Parameters:
      id - the property id in Constants
      Returns:
      the property name