Package org.docx4j.org.apache.fop.events
Class EventFormatter.LookupFieldPartFactory
java.lang.Object
org.docx4j.org.apache.fop.events.EventFormatter.LookupFieldPartFactory
- All Implemented Interfaces:
AdvancedMessageFormat.PartFactory
- Enclosing class:
- EventFormatter
public static class EventFormatter.LookupFieldPartFactory extends java.lang.Object implements AdvancedMessageFormat.PartFactory
PartFactory for lookups.
-
Constructor Summary
Constructors Constructor Description LookupFieldPartFactory() -
Method Summary
Modifier and Type Method Description java.lang.StringgetFormat()Returns the name of the message part format.AdvancedMessageFormat.PartnewPart(java.lang.String fieldName, java.lang.String values)Creates a new part by parsing the values parameter to configure the part.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LookupFieldPartFactory
public LookupFieldPartFactory()
-
-
Method Details
-
newPart
Creates a new part by parsing the values parameter to configure the part.- Specified by:
newPartin interfaceAdvancedMessageFormat.PartFactory- Parameters:
fieldName- the field namevalues- the unparsed parameter values- Returns:
- the new message part
-
getFormat
public java.lang.String getFormat()Returns the name of the message part format.- Specified by:
getFormatin interfaceAdvancedMessageFormat.PartFactory- Returns:
- the name of the message part format
-