public interface ClassTable
Modifier and Type | Interface and Description |
---|---|
static interface |
ClassTable.Writer
The class writer for a specific class.
|
Modifier and Type | Method and Description |
---|---|
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.
|
ClassTable.Writer getClassWriter(java.lang.Class<?> clazz) throws java.io.IOException
clazz
- the candidate classnull
to use the default mechanismjava.io.IOException
- if an I/O error occursjava.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 fromjava.io.IOException
- if an I/O error occursjava.lang.ClassNotFoundException
- if a class could not be foundCopyright © 2011 JBoss, a division of Red Hat, Inc.