Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Beta3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Beta3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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