org.jboss.xb.binding.sunday.unmarshalling
Interface ValueAdapter

All Known Implementing Classes:
EnumValueAdapter

public interface ValueAdapter

Version:
$Revision: 2913 $
Author:
Alexey Loubyansky

Field Summary
static ValueAdapter NOOP
           
 
Method Summary
 Object cast(Object o, Class<?> c)
          An implementation should make sure that an object past in as the first parameter can be set as a value of a field that is of a type passed in as the second parameter
 

Field Detail

NOOP

static final ValueAdapter NOOP
Method Detail

cast

Object cast(Object o,
            Class<?> c)
An implementation should make sure that an object past in as the first parameter can be set as a value of a field that is of a type passed in as the second parameter

Parameters:
o -
c -
Returns:


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