Package com.arjuna.ats.arjuna.state
Class OutputObjectState
java.lang.Object
com.arjuna.ats.arjuna.state.OutputBuffer
com.arjuna.ats.arjuna.state.OutputObjectState
OutputObjectState provides some additional methods to a
basic OutputBuffer.
- Since:
- JTS 1.0.
- Version:
- $Id: OutputObjectState.java 2342 2006-03-30 13:06:17Z $
- Author:
- Mark Little (mark@arjuna.com)
-
Field Summary
Fields inherited from class com.arjuna.ats.arjuna.state.OutputBuffer
_valid, ALIGNMENT, headerSize -
Constructor Summary
ConstructorsConstructorDescriptionOutputObjectState(Uid newUid, String tName) OutputObjectState(Uid newUid, String tName, byte[] buffer) OutputObjectState(InputObjectState copyFrom) OutputObjectState(OutputObjectState copyFrom) -
Method Summary
Modifier and TypeMethodDescriptionvoidcopy(OutputObjectState objstate) final booleannotempty()voidpackInto(OutputBuffer buff) Pack this buffer into that provided.voidprint(PrintWriter strm) Print out information about this instance.final intsize()final UidstateUid()toString()final Stringtype()Methods inherited from class com.arjuna.ats.arjuna.state.OutputBuffer
buffer, copy, length, packBoolean, packByte, packBytes, packChar, packDouble, packFloat, packInt, packLong, packShort, packString, packStringBytes, reset, rewrite, valid
-
Constructor Details
-
OutputObjectState
public OutputObjectState() -
OutputObjectState
-
OutputObjectState
-
OutputObjectState
-
OutputObjectState
-
-
Method Details
-
notempty
public final boolean notempty() -
size
public final int size() -
stateUid
-
type
-
print
Description copied from class:OutputBufferPrint out information about this instance.- Overrides:
printin classOutputBuffer
-
toString
-
copy
-
packInto
Description copied from class:OutputBufferPack this buffer into that provided. If the buffer is invalid then an IOException is thrown.- Overrides:
packIntoin classOutputBuffer- Throws:
IOException
-