org.mmbase.datatypes.processors |
org.mmbase.datatypes.processors
Plugins into set- and getValue methods on Node (Setting and getting Fields).
In this directory the framework for putting functionality there is implemented. The basic
agent is 'ValueIntercepter' which reads an XML and provides the set- and get-Value
implemntation with the specified 'Processor'.
When functionality is added to a certain field type then a Processor must be implemented and turned on in
datatypes.xml or the builder xml.
Processors can be parameterized in two ways. Using a {@link ParameterizedProcessorFactory} or
{@link ParameterizedCommitProcessorFactory} or simply by using bean-like setting on the instance.
Both ways are recognized in builder xml's.
@since MMBase-1.7
@see org.mmbase.bridge.Node
|
Java Source File Name | Type | Comment |
Age.java | Class | The set- and get- processors implemented in this file can be used to make a virtual 'age' field. |
ChainedCommitProcessor.java | Class | Chains a bunch of other processors into one new processor. |
ChainedProcessor.java | Class | Chains a bunch of other processors into one new processor. |
CharTransformerProcessor.java | Class | A processor based on a chartransformer (works only for Strings). |
CharTransformerProcessorFactory.java | Class | Wraps a
org.mmbase.util.transformers.ParameterizedTransformerFactory (it must produces
CharTransformer), to be a ParameterizedProcessorFactory. |
ChecksumGetProcessorFactory.java | Class | See
org.mmbase.util.transformers.ChecksumFactory . |
ChecksumProcessorFactory.java | Class | See
org.mmbase.util.transformers.ChecksumFactory . |
CommitProcessor.java | Interface | If the processor defined for the field is of this type, then the
CommitProcessor.commit method will be called
on commit of the Node. |
ContextProcessor.java | Class | |
CopyProcessor.java | Class | The Processor that does nothing. |
CreationTimeGuesser.java | Class | Get-processor for 'created' field. |
Creator.java | Class | This processor can be used as a 'set' processor on a (datetime) field. |
Duration.java | Class | Formats a long with hour:minutes:seconds. |
EmptyCommitProcessor.java | Class | The CommitProcessor that does nothing. |
FileNameProcessor.java | Class | Some browers provide directory information (IE on Windows), and
org.apache.commons.fileupload.FileItem.getName still includes that. |
FormatDateTime.java | Class | This can be used as getProcessor for String on DateTime fields. |
FormatFileSize.java | Class | A processor that gets a number as a file-size, that is, rounded with kbytes and Mb's and so on. |
FormatQuantity.java | Class | A processor that gets a number as a file-size, that is, rounded with kbytes and Mb's and so on. |
FunctionValueIfEmptyCommitProcessor.java | Class | If this commit-processor is configured on a field, then on commit of the node, the value of a
certain function (on the same node), is set into the field, if the field is empty. |
IgnoreEmptyProcessor.java | Class | If you use this processor for a field, then setting it to an empty value will be ignored (the
previous value will remain intact). |
IgnoreIfChangedProcessor.java | Class | If this processor is used on a certain field, then you can effectively set the value only once
(until the commit of the node). |
Ip.java | Class | This processor can be used as a 'commit' processor on a string field. |
LastModified.java | Class | This processor can be used as a 'commit' processor on a (datetime) field. |
LastModifiedProcessorFactory.java | Class | This factory creates processors which don't actually change the value, but only have a
side-effect, namely updating another field with the current time. |
LastModifier.java | Class | This processor can be used as a 'commit' processor on a string field. |
NodeNumber.java | Class | |
ParameterizedCommitProcessorFactory.java | Interface | A parameterized commitprocessor factory creates
CommitProcessor s, using
Parameters . |
ParameterizedProcessorFactory.java | Interface | A parameterized commitprocessor factory creates
Processor s, using
Parameters . |
PosrelCommitProcessor.java | Class | Used as 'commitprocessor' on the 'pos' field of a posrel object, this guesses a nice default if
you left the value empty on commit. |
Processor.java | Interface | Interface for doing field processing. |
Readonly.java | Class | This processor can be used as a 'set' processor on a field. |