Class HexFieldPart

java.lang.Object
org.apache.fop.util.text.HexFieldPart
All Implemented Interfaces:
org.apache.fop.util.text.AdvancedMessageFormat.Part

public class HexFieldPart extends Object implements org.apache.fop.util.text.AdvancedMessageFormat.Part
Function formatting a number or character to a hex value.
  • Constructor Details

    • HexFieldPart

      public HexFieldPart(String fieldName)
      Creates a new hex field part
      Parameters:
      fieldName - the field name
  • Method Details

    • isGenerated

      public boolean isGenerated(Map params)
      Specified by:
      isGenerated in interface org.apache.fop.util.text.AdvancedMessageFormat.Part
    • write

      public void write(StringBuffer sb, Map params)
      Specified by:
      write in interface org.apache.fop.util.text.AdvancedMessageFormat.Part
    • toString

      public String toString()
      Overrides:
      toString in class Object