ModeShape Distribution 3.2.0.Final

org.infinispan.schematic.document
Interface Document.ValueTransformer

All Known Implementing Classes:
DocumentTransformer.PropertiesTransformer, DocumentTransformer.SystemPropertiesTransformer
Enclosing interface:
Document

public static interface Document.ValueTransformer

A component that can transform field values, via Document.with(ValueTransformer). Implementations do not need to worry about Document values, since the transformer is never called on such values.


Method Summary
 Object transform(String name, Object value)
          Transform the supplied field value.
 

Method Detail

transform

Object transform(String name,
                 Object value)
Transform the supplied field value.

Parameters:
name - the name of the field; never null
value - the existing value for the field
Returns:
the transformed value; never null but may be the same value object if no transformation should be made

ModeShape Distribution 3.2.0.Final

Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.