Package org.apache.fop.events
Class EventFormatter.LookupFieldPart
- java.lang.Object
-
- org.apache.fop.events.EventFormatter.LookupFieldPart
-
- All Implemented Interfaces:
AdvancedMessageFormat.Part
- Enclosing class:
- EventFormatter
private static class EventFormatter.LookupFieldPart extends java.lang.Object implements AdvancedMessageFormat.Part
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringfieldName
-
Constructor Summary
Constructors Constructor Description LookupFieldPart(java.lang.String fieldName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.StringgetKey(java.util.Map params)booleanisGenerated(java.util.Map params)Indicates whether there is any content that is generated by this message part.java.lang.StringtoString()voidwrite(java.lang.StringBuffer sb, java.util.Map params)Writes the formatted part to a string buffer.
-
-
-
Method Detail
-
isGenerated
public boolean isGenerated(java.util.Map params)
Description copied from interface:AdvancedMessageFormat.PartIndicates 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
-
write
public void write(java.lang.StringBuffer sb, java.util.Map params)Description copied from interface:AdvancedMessageFormat.PartWrites the formatted part to a string buffer.- Specified by:
writein interfaceAdvancedMessageFormat.Part- Parameters:
sb- the target string bufferparams- the parameters to work with
-
getKey
private java.lang.String getKey(java.util.Map params)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-