Package org.mapfish.print.processor
Class PdfConfigurationProcessor.Update
java.lang.Object
org.mapfish.print.processor.PdfConfigurationProcessor.Update
- All Implemented Interfaces:
 ConfigurationObject
- Enclosing class:
 PdfConfigurationProcessor
public static final class PdfConfigurationProcessor.Update
extends Object
implements ConfigurationObject
The object that defines how to update the 
PDFConfig (see !updatePdfConfig processor).
 [[examples=updatePdfMetadata]]- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidThe replacement format.voidsetValueKey(String valueKey) The key to use to look up the value in the values object.voidvalidate(List<Throwable> validationErrors, Configuration configuration) validate that the configuration was correct. 
- 
Constructor Details
- 
Update
public Update()Default constructor. 
 - 
 - 
Method Details
- 
validate
Description copied from interface:ConfigurationObjectvalidate that the configuration was correct.- Specified by:
 validatein interfaceConfigurationObject- Parameters:
 validationErrors- a list to add any detected errors to.configuration- the containing configuration
 - 
setValueKey
The key to use to look up the value in the values object. It can be a path that can reach into nested objects.Examples 1 a simple lookup key: "key" Example 2 a path. First part (before .) is the lookup key, the second part is the field name to load: "key.fieldName"
- Parameters:
 valueKey- the path or key for retrieving the value
 - 
setFormat
The replacement format. It is a printf style format. The documentation is in the Formatter class (just google/bing java.util.Formatter).Example: "Report for %s"
- Parameters:
 format- the update format. There can only be a single value.
 
 -