Package org.apache.fop.util.text
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 java.lang.Object implements org.apache.fop.util.text.AdvancedMessageFormat.Part
Function formatting a number or character to a hex value.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HexFieldPart.Factory
Factory forHexFieldPart
.
-
Constructor Summary
Constructors Constructor Description HexFieldPart(java.lang.String fieldName)
Creates a new hex field part
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isGenerated(java.util.Map params)
java.lang.String
toString()
void
write(java.lang.StringBuffer sb, java.util.Map params)
-
-
-
Method Detail
-
isGenerated
public boolean isGenerated(java.util.Map params)
- Specified by:
isGenerated
in interfaceorg.apache.fop.util.text.AdvancedMessageFormat.Part
-
write
public void write(java.lang.StringBuffer sb, java.util.Map params)
- Specified by:
write
in interfaceorg.apache.fop.util.text.AdvancedMessageFormat.Part
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-