|
Marshalling API version 1.0.0.Beta1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.InputStream
java.io.ObjectInputStream
org.jboss.marshalling.MarshallerObjectInputStream
public abstract class MarshallerObjectInputStream

A marshaller's object input stream. Used by marshallers for compatibility with Java serialization. Instances of
this class may be passed in to the overriden serialization methods for a class implementing Serializable.
This class is not part of the marshalling API; rather it is intended for marshaller implementors to make it easier to develop Java serialization-compatible marshallers.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.io.ObjectInputStream |
|---|
ObjectInputStream.GetField |
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
protected |
MarshallerObjectInputStream(Unmarshaller input)
Construct a new instance which delegates to the given unmarshaller. |
| Method Summary | |
|---|---|
int |
available()
|
void |
close()
|
abstract void |
defaultReadObject()
|
protected boolean |
enableResolveObject(boolean enable)
|
void |
mark(int readlimit)
|
boolean |
markSupported()
|
int |
read()
|
int |
read(byte[] buf)
|
int |
read(byte[] buf,
int off,
int len)
|
boolean |
readBoolean()
|
byte |
readByte()
|
char |
readChar()
|
protected ObjectStreamClass |
readClassDescriptor()
|
double |
readDouble()
|
abstract ObjectInputStream.GetField |
readFields()
|
float |
readFloat()
|
void |
readFully(byte[] buf)
|
void |
readFully(byte[] buf,
int off,
int len)
|
int |
readInt()
|
String |
readLine()
Deprecated. |
long |
readLong()
|
protected Object |
readObjectOverride()
|
short |
readShort()
|
protected void |
readStreamHeader()
|
Object |
readUnshared()
|
int |
readUnsignedByte()
|
int |
readUnsignedShort()
|
String |
readUTF()
|
abstract void |
registerValidation(ObjectInputValidation obj,
int prio)
|
void |
reset()
|
protected Class<?> |
resolveClass(ObjectStreamClass desc)
|
protected Object |
resolveObject(Object obj)
|
protected Class<?> |
resolveProxyClass(String[] interfaces)
|
long |
skip(long n)
|
int |
skipBytes(int len)
|
| Methods inherited from class java.io.ObjectInputStream |
|---|
readObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected MarshallerObjectInputStream(Unmarshaller input)
throws IOException,
SecurityException
input - the delegate unmarshaller
IOException - if an I/O error occurs
SecurityException - if the caller does not have permission to construct an instance of this class| Method Detail |
|---|
protected Object readObjectOverride()
throws IOException,
ClassNotFoundException
readObjectOverride in class ObjectInputStreamIOException
ClassNotFoundException
public Object readUnshared()
throws IOException,
ClassNotFoundException
readUnshared in class ObjectInputStreamIOException
ClassNotFoundException
public int read()
throws IOException
read in interface ObjectInputread in class ObjectInputStreamIOException
public int read(byte[] buf)
throws IOException
read in interface ObjectInputread in class InputStreamIOException
public int read(byte[] buf,
int off,
int len)
throws IOException
read in interface ObjectInputread in class ObjectInputStreamIOException
public int available()
throws IOException
available in interface ObjectInputavailable in class ObjectInputStreamIOException
public boolean readBoolean()
throws IOException
readBoolean in interface DataInputreadBoolean in class ObjectInputStreamIOException
public byte readByte()
throws IOException
readByte in interface DataInputreadByte in class ObjectInputStreamIOException
public int readUnsignedByte()
throws IOException
readUnsignedByte in interface DataInputreadUnsignedByte in class ObjectInputStreamIOException
public char readChar()
throws IOException
readChar in interface DataInputreadChar in class ObjectInputStreamIOException
public short readShort()
throws IOException
readShort in interface DataInputreadShort in class ObjectInputStreamIOException
public int readUnsignedShort()
throws IOException
readUnsignedShort in interface DataInputreadUnsignedShort in class ObjectInputStreamIOException
public int readInt()
throws IOException
readInt in interface DataInputreadInt in class ObjectInputStreamIOException
public long readLong()
throws IOException
readLong in interface DataInputreadLong in class ObjectInputStreamIOException
public float readFloat()
throws IOException
readFloat in interface DataInputreadFloat in class ObjectInputStreamIOException
public double readDouble()
throws IOException
readDouble in interface DataInputreadDouble in class ObjectInputStreamIOException
public void readFully(byte[] buf)
throws IOException
readFully in interface DataInputreadFully in class ObjectInputStreamIOException
public void readFully(byte[] buf,
int off,
int len)
throws IOException
readFully in interface DataInputreadFully in class ObjectInputStreamIOException
public int skipBytes(int len)
throws IOException
skipBytes in interface DataInputskipBytes in class ObjectInputStreamIOException
@Deprecated
public String readLine()
throws IOException
readLine in interface DataInputreadLine in class ObjectInputStreamIOException
public String readUTF()
throws IOException
readUTF in interface DataInputreadUTF in class ObjectInputStreamIOException
public long skip(long n)
throws IOException
skip in interface ObjectInputskip in class InputStreamIOExceptionpublic final void mark(int readlimit)
mark in class InputStream
public final void reset()
throws IOException
reset in class InputStreamIOExceptionpublic final boolean markSupported()
markSupported in class InputStream
public final void close()
throws IllegalStateException
close in interface Closeableclose in interface ObjectInputclose in class ObjectInputStreamIllegalStateException
protected final Class<?> resolveClass(ObjectStreamClass desc)
throws IllegalStateException
resolveClass in class ObjectInputStreamIllegalStateException
protected final Class<?> resolveProxyClass(String[] interfaces)
throws IllegalStateException
resolveProxyClass in class ObjectInputStreamIllegalStateException
protected final Object resolveObject(Object obj)
throws IllegalStateException
resolveObject in class ObjectInputStreamIllegalStateException
protected final boolean enableResolveObject(boolean enable)
throws IllegalStateException
enableResolveObject in class ObjectInputStreamIllegalStateException
protected final void readStreamHeader()
throws IllegalStateException
readStreamHeader in class ObjectInputStreamIllegalStateException
protected final ObjectStreamClass readClassDescriptor()
throws IllegalStateException
readClassDescriptor in class ObjectInputStreamIllegalStateException
public abstract void defaultReadObject()
throws IOException,
ClassNotFoundException
defaultReadObject in class ObjectInputStreamIOException
ClassNotFoundException
public abstract ObjectInputStream.GetField readFields()
throws IOException,
ClassNotFoundException
readFields in class ObjectInputStreamIOException
ClassNotFoundException
public abstract void registerValidation(ObjectInputValidation obj,
int prio)
throws NotActiveException,
InvalidObjectException
registerValidation in class ObjectInputStreamNotActiveException
InvalidObjectException
|
Marshalling API version 1.0.0.Beta1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||