AdvancedMessageFormat.Part
public class GlyphNameFieldPart extends java.lang.Object implements AdvancedMessageFormat.Part
Modifier and Type | Class | Description |
---|---|---|
static class |
GlyphNameFieldPart.Factory |
Factory for
GlyphNameFieldPart . |
Constructor | Description |
---|---|
GlyphNameFieldPart(java.lang.String fieldName) |
Creates a new glyph name field part
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
isGenerated(java.util.Map params) |
Indicates whether there is any content that is generated by this message part.
|
java.lang.String |
toString() |
|
void |
write(java.lang.StringBuffer sb,
java.util.Map params) |
Writes the formatted part to a string buffer.
|
public GlyphNameFieldPart(java.lang.String fieldName)
fieldName
- the field namepublic boolean isGenerated(java.util.Map params)
isGenerated
in interface AdvancedMessageFormat.Part
params
- the parameters to work withpublic void write(java.lang.StringBuffer sb, java.util.Map params)
write
in interface AdvancedMessageFormat.Part
sb
- the target string bufferparams
- the parameters to work withpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.