|
JBoss Marshalling 1.3.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectTable
A lookup mechanism for predefined object references. Some marshallers can use this to correlate to known object instances.
Nested Class Summary | |
---|---|
static interface |
ObjectTable.Writer
The object writer for a specific object. |
Method Summary | |
---|---|
ObjectTable.Writer |
getObjectWriter(java.lang.Object object)
Determine whether the given object reference is a valid predefined reference. |
java.lang.Object |
readObject(Unmarshaller unmarshaller)
Read an instance from the stream. |
Method Detail |
---|
ObjectTable.Writer getObjectWriter(java.lang.Object object) throws java.io.IOException
object
- the candidate object
null
to use the default mechanism
java.io.IOException
- if an I/O error occursjava.lang.Object readObject(Unmarshaller unmarshaller) throws java.io.IOException, java.lang.ClassNotFoundException
getObjectWriter(Object)
method's Writer
instance, as defined above.
unmarshaller
- the unmarshaller to read from
java.io.IOException
- if an I/O error occurs
java.lang.ClassNotFoundException
- if a class could not be found
|
JBoss Marshalling 1.3.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |