|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ClassTable
A lookup mechanism for predefined classes. Some marshallers can use this to avoid sending lengthy class descriptor information.
| Nested Class Summary | |
|---|---|
static interface |
ClassTable.Writer
The class writer for a specific class. |
| Method Summary | |
|---|---|
ClassTable.Writer |
getClassWriter(java.lang.Class<?> clazz)
Determine whether the given class reference is a valid predefined reference. |
java.lang.Class<?> |
readClass(Unmarshaller unmarshaller)
Read a class from the stream. |
| Method Detail |
|---|
ClassTable.Writer getClassWriter(java.lang.Class<?> clazz)
throws java.io.IOException
clazz - the candidate class
null to use the default mechanism
java.io.IOException - if an I/O error occurs
java.lang.Class<?> readClass(Unmarshaller unmarshaller)
throws java.io.IOException,
java.lang.ClassNotFoundException
getClassWriter(Class) 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||