org.objectweb.kilim.description
Class KILIM

java.lang.Object
  extended byorg.objectweb.kilim.description.KILIM

public abstract class KILIM
extends java.lang.Object

Author:
horn Abstract class introduced for grouping common kiilim constants.
See Also:
Port

Field Summary
static int ARRAY
          integer value identifying a array provider
static int BOOLEAN
          a primitive type
static int BYTE
          a primitive type
static int CHAR
          a primitive type
static int CLASS
          integer value identifying a class provider
static java.lang.String[] CLASS_NAME
          name of class wrappers for primitive types
static int CONSTRUCTOR
          integer value identifying a constructor
static int DOUBLE
          a primitive type
static java.util.Iterator EMPTY_ITERATOR
          return value for empty iterator
static java.util.LinkedList EMPTY_LIST
          return value for empty list
static int EVENT_SOURCE
          integer value identifying an event source
static int FLOAT
          a primitive type
static int GETTER
          integer value identifying a getter
static int INT
          a primitive type
static int LONG
          a primitive type
static int METHOD
          integer value identifying a method
static int NULL_ELEMENT
          integer value identifying a null element
static int OBJECT
          a primitive type
static int PORT
          integer value identifying a port
static int PRIVATE
          private status
static int PROPERTY
          integer value identifying a property
static int PROTECTED
          protected status
static int PROVIDER
          integer value identifying a provider
static int PUBLIC
          public status
static int REFERENCE
          integer value identifying a reference
static int SETTER
          integer value identifying a setter
static int SHORT
          a primitive type
static int STRING
          a primitive type
static int TRANSFORMER
          integer value identifying a transformer
static int UNDEFINED_STATUS
          undefined status
static int UNDEFINED_TYPE
          undefined status
private static int uniqueIndex
           
 
Constructor Summary
KILIM()
           
 
Method Summary
static java.lang.Class getClassFromName(java.lang.String name)
          returns the Class class corresponding to a type.
static int getUniqueIndex()
          generates a unique index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PORT

public static final int PORT
integer value identifying a port

See Also:
Constant Field Values

PROPERTY

public static final int PROPERTY
integer value identifying a property

See Also:
Constant Field Values

GETTER

public static final int GETTER
integer value identifying a getter

See Also:
Constant Field Values

SETTER

public static final int SETTER
integer value identifying a setter

See Also:
Constant Field Values

METHOD

public static final int METHOD
integer value identifying a method

See Also:
Constant Field Values

CONSTRUCTOR

public static final int CONSTRUCTOR
integer value identifying a constructor

See Also:
Constant Field Values

REFERENCE

public static final int REFERENCE
integer value identifying a reference

See Also:
Constant Field Values

CLASS

public static final int CLASS
integer value identifying a class provider

See Also:
Constant Field Values

ARRAY

public static final int ARRAY
integer value identifying a array provider

See Also:
Constant Field Values

EVENT_SOURCE

public static final int EVENT_SOURCE
integer value identifying an event source

See Also:
Constant Field Values

NULL_ELEMENT

public static final int NULL_ELEMENT
integer value identifying a null element

See Also:
Constant Field Values

PROVIDER

public static final int PROVIDER
integer value identifying a provider

See Also:
Constant Field Values

TRANSFORMER

public static final int TRANSFORMER
integer value identifying a transformer

See Also:
Constant Field Values

EMPTY_LIST

public static final java.util.LinkedList EMPTY_LIST
return value for empty list


EMPTY_ITERATOR

public static final java.util.Iterator EMPTY_ITERATOR
return value for empty iterator


PRIVATE

public static final int PRIVATE
private status

See Also:
Constant Field Values

PROTECTED

public static final int PROTECTED
protected status

See Also:
Constant Field Values

PUBLIC

public static final int PUBLIC
public status

See Also:
Constant Field Values

UNDEFINED_STATUS

public static final int UNDEFINED_STATUS
undefined status

See Also:
Constant Field Values

BOOLEAN

public static final int BOOLEAN
a primitive type

See Also:
Constant Field Values

CHAR

public static final int CHAR
a primitive type

See Also:
Constant Field Values

BYTE

public static final int BYTE
a primitive type

See Also:
Constant Field Values

SHORT

public static final int SHORT
a primitive type

See Also:
Constant Field Values

INT

public static final int INT
a primitive type

See Also:
Constant Field Values

LONG

public static final int LONG
a primitive type

See Also:
Constant Field Values

FLOAT

public static final int FLOAT
a primitive type

See Also:
Constant Field Values

DOUBLE

public static final int DOUBLE
a primitive type

See Also:
Constant Field Values

STRING

public static final int STRING
a primitive type

See Also:
Constant Field Values

OBJECT

public static final int OBJECT
a primitive type

See Also:
Constant Field Values

UNDEFINED_TYPE

public static final int UNDEFINED_TYPE
undefined status

See Also:
Constant Field Values

CLASS_NAME

public static final java.lang.String[] CLASS_NAME
name of class wrappers for primitive types


uniqueIndex

private static int uniqueIndex
Constructor Detail

KILIM

public KILIM()
Method Detail

getUniqueIndex

public static int getUniqueIndex()
generates a unique index. This method is used to generate unique names in Kilim (for unnamed inlined elements for examples): unique indexes are added as suffixes to predefined names.

Returns:
int

getClassFromName

public static java.lang.Class getClassFromName(java.lang.String name)
                                        throws java.lang.ClassNotFoundException
returns the Class class corresponding to a type. If it is a primitive type name, convert it to corresponding wrapper class.

Parameters:
name - : the name of the class.
Returns:
Class
Throws:
java.lang.ClassNotFoundException - :