Package org.mmbase.datatypes.processors

Plugins into set- and getValue methods on Node (Setting and getting Fields).

See:
          Description

Interface Summary
CommitProcessor If the processor defined for the field is of this type, then the CommitProcessor.commit(org.mmbase.bridge.Node, org.mmbase.bridge.Field) method will be called on commit of the Node.
ParameterizedCommitProcessorFactory A parameterized commitprocessor factory creates CommitProcessors, using Parameters.
ParameterizedProcessorFactory A parameterized commitprocessor factory creates Processors, using Parameters.
Processor Interface for doing field processing.
 

Class Summary
ChainedCommitProcessor Chains a bunch of other processors into one new processor.
ChainedProcessor Chains a bunch of other processors into one new processor.
CharTransformerProcessor A processor based on a chartransformer (works only for Strings).
CharTransformerProcessorFactory Wraps a ParameterizedTransformerFactory (it must produces CharTransformer), to be a ParameterizedProcessorFactory.
ChecksumProcessorFactory See ChecksumFactory.
CopyProcessor The Processor that does nothing.
CreationTimeGuesser Get-processor for 'created' field.
Creator This processor can be used as a 'set' processor on a (datetime) field.
EmptyCommitProcessor The CommitProcessor that does nothing.
FileNameProcessor Some browers provide directory information (IE on Windows), and FileItem.getName() still includes that.
FormatDateTime This can be used as getProcessor for String on DateTime fields.
FormatFileSize A processor that gets a number as a file-size, that is, rounded with kbytes and Mb's and so on.
IgnoreEmptyProcessor 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 If this processor is used on a certain field, that you can effectively set the value only once (until the commit of the node).
LastModified This processor can be used as a 'commit' processor on a (datetime) field.
LastModifiedProcessorFactory 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 This processor can be used as a 'commit' processor on a string field.
NodeNumber If value is a node, returns it's number (as a String)
Readonly This processor can be used as a 'set' processor on a field.
 

Package org.mmbase.datatypes.processors Description

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.

Since:
MMBase-1.7
See Also:
Node


MMBase build 1.8.1.20060716