|
JBoss Marshalling 1.3.0.CR9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.marshalling.AbstractExternalizer
public abstract class AbstractExternalizer

An externalizer base class which handles object creation in a default fashion.
| Constructor Summary | |
|---|---|
AbstractExternalizer()
|
|
| Method Summary | |
|---|---|
Object |
createExternal(Class<?> subjectType,
ObjectInput input,
Creator defaultCreator)
Create an instance of a type using the provided creator. |
void |
readExternal(Object subject,
ObjectInput input)
Read the external representation of an object. |
void |
writeExternal(Object subject,
ObjectOutput output)
Write the external representation of an object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractExternalizer()
| Method Detail |
|---|
public Object createExternal(Class<?> subjectType,
ObjectInput input,
Creator defaultCreator)
throws IOException,
ClassNotFoundException
createExternal in interface ExternalizersubjectType - the type to createinput - the object inputdefaultCreator - the creator
IOException - if an I/O error occurs
ClassNotFoundException - if the class could not be located
public void writeExternal(Object subject,
ObjectOutput output)
throws IOException
writeExternal in interface Externalizersubject - the object to externalizeoutput - the output
IOException - if an error occurs
public void readExternal(Object subject,
ObjectInput input)
throws IOException,
ClassNotFoundException
readExternal in interface Externalizersubject - the object to readinput - the input
IOException - if an error occurs
ClassNotFoundException - if a class could not be found during read
|
JBoss Marshalling 1.3.0.CR9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||