Marshalling API version 1.0.0.GA

org.jboss.marshalling
Interface ExternalizerFactory


public interface ExternalizerFactory

A factory for locating custom externalizers.


Method Summary
 Externalizer getExternalizer(Object instance)
          Look up a custom externalizer for a given object instance.
 

Method Detail

getExternalizer

Externalizer getExternalizer(Object instance)
Look up a custom externalizer for a given object instance. If no such externalizer exists, returns null.

Parameters:
instance - the instance to be externalized
Returns:
the externalizer, or null if there is none

Marshalling API version 1.0.0.GA

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