JBoss Modular Service Kernel API 1.0.0.Beta4-SNAPSHOT

org.jboss.msc.translate
Interface Translator<I,O>

Type Parameters:
I - the input type
O - the output type
All Known Implementing Classes:
CastingTranslator, ConstructionTranslator, FieldTraversingTranslator, MethodTraversingTranslator

public interface Translator<I,O>

A mechanism for converting one value to another through various means.

Author:
David M. Lloyd

Method Summary
 O translate(I input)
          Translate an input value.
 

Method Detail

translate

O translate(I input)
            throws TranslationException
Translate an input value.

Parameters:
input - the input value
Returns:
the output value
Throws:
TranslationException - if the value could not be translated for some reason

JBoss Modular Service Kernel API 1.0.0.Beta4-SNAPSHOT

Copyright © 2010 JBoss, a division of Red Hat, Inc.