|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.impl.fostore.ObjectTranscriber.AbstractTranscriber
org.apache.jdo.impl.fostore.ObjectTranscriber.ArrayTranscriber
org.apache.jdo.impl.fostore.ObjectTranscriber.IntArrayTranscriber
Constructor Summary | |
(package private) |
ObjectTranscriber.IntArrayTranscriber()
|
Method Summary | |
(package private) java.lang.Object |
fetch(java.io.DataInput in,
java.lang.Object owner,
int fieldNum)
Fetches the entire array by delegating to fetchElements. |
(package private) java.lang.Object |
fetchElements(java.io.DataInput in,
int length)
Creates an array of some type and returns it, after reading in all the array's element's values. |
protected int |
getFieldNum()
|
protected java.lang.Object |
getOwner()
|
(package private) void |
skip(java.io.DataInput in)
Skips the entire array by delegating to skipElements. |
(package private) void |
skipElements(java.io.DataInput in,
int length)
Skips an array of some type after skipping all the array's element's values. |
(package private) void |
store(java.lang.Object value,
FOStoreOutput out)
Stores the entire array by delegating the storing of each element to the storeElement method, which is implemented by a subclass. |
(package private) void |
storeElement(java.lang.Object value,
FOStoreOutput out,
int index)
Stores a single element of an array. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
ObjectTranscriber.IntArrayTranscriber()
Method Detail |
void storeElement(java.lang.Object value, FOStoreOutput out, int index) throws java.io.IOException, java.lang.IllegalArgumentException, java.lang.ArrayIndexOutOfBoundsException
ObjectTranscriber.ArrayTranscriber
storeElement
in class ObjectTranscriber.ArrayTranscriber
value
- An array of some type. The type of the array is
conditional on the class which is implementing this method.out
- Where the value should be storedindex
- Index into the value which should be stored.
java.io.IOException
java.lang.IllegalArgumentException
java.lang.ArrayIndexOutOfBoundsException
java.lang.Object fetchElements(java.io.DataInput in, int length) throws java.io.IOException
ObjectTranscriber.ArrayTranscriber
fetchElements
in class ObjectTranscriber.ArrayTranscriber
in
- Place from where the array's values should be readlength
- Length of the array to create.
java.io.IOException
void skipElements(java.io.DataInput in, int length) throws java.io.IOException
ObjectTranscriber.ArrayTranscriber
skipElements
in class ObjectTranscriber.ArrayTranscriber
in
- Place from where the array's values should be readlength
- Length of the array.
java.io.IOException
protected java.lang.Object getOwner()
protected int getFieldNum()
final void store(java.lang.Object value, FOStoreOutput out) throws java.io.IOException
store
in class ObjectTranscriber.AbstractTranscriber
java.io.IOException
final java.lang.Object fetch(java.io.DataInput in, java.lang.Object owner, int fieldNum) throws java.lang.Exception
fetch
in class ObjectTranscriber.AbstractTranscriber
java.lang.Exception
final void skip(java.io.DataInput in) throws java.io.IOException
skip
in class ObjectTranscriber.AbstractTranscriber
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |