Package org.apache.fop.util.text
Class GlyphNameFieldPart
java.lang.Object
org.apache.fop.util.text.GlyphNameFieldPart
- All Implemented Interfaces:
AdvancedMessageFormat.Part
Function formatting a character to a glyph name.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate StringgetGlyphName(Object obj) booleanisGenerated(Map params) Indicates whether there is any content that is generated by this message part.toString()voidwrite(StringBuffer sb, Map params) Writes the formatted part to a string buffer.
-
Field Details
-
fieldName
-
-
Constructor Details
-
GlyphNameFieldPart
Creates a new glyph name field part- Parameters:
fieldName- the field name
-
-
Method Details
-
isGenerated
Indicates whether there is any content that is generated by this message part.- Specified by:
isGeneratedin interfaceAdvancedMessageFormat.Part- Parameters:
params- the parameters to work with- Returns:
- true if the part has content
-
getGlyphName
-
write
Writes the formatted part to a string buffer.- Specified by:
writein interfaceAdvancedMessageFormat.Part- Parameters:
sb- the target string bufferparams- the parameters to work with
-
toString
-