org.apache.yoko.rmi.impl
Class ValueDescriptor
java.lang.Object
org.apache.yoko.rmi.impl.ModelElement
org.apache.yoko.rmi.impl.TypeDescriptor
org.apache.yoko.rmi.impl.ValueDescriptor
- Direct Known Subclasses:
- AbstractObjectDescriptor, ArrayDescriptor, ClassDescriptor, DateValueDescriptor, ExceptionDescriptor, FVDValueDescriptor, IDLEntityDescriptor, RMIStubDescriptor, StringDescriptor
public class ValueDescriptor
- extends TypeDescriptor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_is_externalizable
protected boolean _is_externalizable
_is_serializable
protected boolean _is_serializable
_write_replace_method
protected Method _write_replace_method
_read_resolve_method
protected Method _read_resolve_method
_constructor
protected Constructor _constructor
_write_object_method
protected Method _write_object_method
_read_object_method
protected Method _read_object_method
_serial_version_uid_field
protected Field _serial_version_uid_field
_super_descriptor
protected ValueDescriptor _super_descriptor
_fields
protected FieldDescriptor[] _fields
_object_deserializer
protected org.apache.yoko.rmi.impl.ValueDescriptor.ObjectDeserializer _object_deserializer
_is_immutable_value
protected boolean _is_immutable_value
_is_rmi_stub
protected boolean _is_rmi_stub
_hash_code
protected long _hash_code
_value_members
protected ValueMember[] _value_members
getRepositoryID
public String getRepositoryID()
- Overrides:
getRepositoryID
in class TypeDescriptor
init
public void init()
- Overrides:
init
in class TypeDescriptor
init0
public void init0()
read
public Object read(InputStream in)
- Read an instance of this value from a CDR stream
- Specified by:
read
in class TypeDescriptor
write
public void write(OutputStream out,
Object value)
- Write an instance of this value to a CDR stream
- Specified by:
write
in class TypeDescriptor
isCustomMarshalled
public boolean isCustomMarshalled()
- Overrides:
isCustomMarshalled
in class TypeDescriptor
writeReplace
public Serializable writeReplace(Serializable val)
readResolve
public Serializable readResolve(Serializable val)
writeValue
public void writeValue(OutputStream out,
Serializable value)
defaultWriteValue
protected void defaultWriteValue(org.apache.yoko.rmi.impl.ObjectWriter writer,
Serializable val)
throws IOException
- Throws:
IOException
writeValue
protected void writeValue(org.apache.yoko.rmi.impl.ObjectWriter writer,
Serializable val)
throws IOException
- Throws:
IOException
createBlankInstance
public Serializable createBlankInstance()
readValue
public Serializable readValue(InputStream in,
Map offsetMap,
Integer offset)
defaultReadValue
protected void defaultReadValue(ObjectReader reader,
Serializable value)
throws IOException
- Throws:
IOException
readValue
protected void readValue(ObjectReader reader,
Serializable value)
throws IOException
- This methods reads the fields of a single class slice.
- Throws:
IOException
computeHashCode
protected long computeHashCode()
copyWithinState
public boolean copyWithinState()
- Description copied from class:
TypeDescriptor
- Method copyWithinState.
- Overrides:
copyWithinState
in class TypeDescriptor
- Returns:
- boolean
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.