org.apache.yoko.rmi.impl
Class TypeDescriptor

java.lang.Object
  extended by org.apache.yoko.rmi.impl.ModelElement
      extended by org.apache.yoko.rmi.impl.TypeDescriptor
Direct Known Subclasses:
AnyDescriptor, RemoteDescriptor, SimpleDescriptor, ValueDescriptor

public abstract class TypeDescriptor
extends ModelElement


Field Summary
protected  Class _java_class
           
protected  String _repid
           
protected  TypeCode _type_code
           
protected  RemoteInterfaceDescriptor remoteDescriptor
           
 
Fields inherited from class org.apache.yoko.rmi.impl.ModelElement
idl_name, java_name, package_name, repository, type_name
 
Constructor Summary
protected TypeDescriptor(Class type, TypeRepository repository)
           
 
Method Summary
 boolean copyBetweenStates()
          Method copyBetweenStates.
 boolean copyWithinState()
          Method copyWithinState.
 Class getJavaClass()
           
 String getRepositoryID()
           
 String getRepositoryIDForArray()
           
 void init()
           
 boolean isCustomMarshalled()
           
abstract  Object read(InputStream in)
          Read an instance of this value from a CDR stream
abstract  void write(OutputStream out, Object val)
          Write an instance of this value to a CDR stream
 
Methods inherited from class org.apache.yoko.rmi.impl.ModelElement
getIDLName, getJavaName, getPackageName, getTypeName, getTypeRepository, setIDLName, setJavaName, setPackageName, setTypeName, setTypeRepository
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_java_class

protected Class _java_class

_repid

protected String _repid

remoteDescriptor

protected RemoteInterfaceDescriptor remoteDescriptor

_type_code

protected TypeCode _type_code
Constructor Detail

TypeDescriptor

protected TypeDescriptor(Class type,
                         TypeRepository repository)
Method Detail

getJavaClass

public Class getJavaClass()

getRepositoryIDForArray

public String getRepositoryIDForArray()

getRepositoryID

public String getRepositoryID()

read

public abstract Object read(InputStream in)
Read an instance of this value from a CDR stream


write

public abstract void write(OutputStream out,
                           Object val)
Write an instance of this value to a CDR stream


init

public void init()

isCustomMarshalled

public boolean isCustomMarshalled()

copyBetweenStates

public boolean copyBetweenStates()
Method copyBetweenStates.

Returns:
boolean

copyWithinState

public boolean copyWithinState()
Method copyWithinState.

Returns:
boolean


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.