org.granite.messaging.amf.io.util.externalizer
Interface Externalizer

All Known Implementing Classes:
BigDecimalExternalizer, BigIntegerExternalizer, DefaultExternalizer, EnumExternalizer, LongExternalizer, MathContextExternalizer

public interface Externalizer

Author:
Franck WOLFF

Method Summary
 int accept(Class<?> clazz)
           
 void configure(XMap properties)
           
 List<Property> findOrderedFields(Class<?> clazz)
           
 Object newInstance(String type, ObjectInput in)
           
 void readExternal(Object o, ObjectInput in)
           
 void writeExternal(Object o, ObjectOutput out)
           
 

Method Detail

configure

void configure(XMap properties)

newInstance

Object newInstance(String type,
                   ObjectInput in)
                   throws IOException,
                          ClassNotFoundException,
                          InstantiationException,
                          InvocationTargetException,
                          IllegalAccessException
Throws:
IOException
ClassNotFoundException
InstantiationException
InvocationTargetException
IllegalAccessException

readExternal

void readExternal(Object o,
                  ObjectInput in)
                  throws IOException,
                         ClassNotFoundException,
                         IllegalAccessException
Throws:
IOException
ClassNotFoundException
IllegalAccessException

writeExternal

void writeExternal(Object o,
                   ObjectOutput out)
                   throws IOException,
                          IllegalAccessException
Throws:
IOException
IllegalAccessException

findOrderedFields

List<Property> findOrderedFields(Class<?> clazz)

accept

int accept(Class<?> clazz)