org.eclipse.higgins.iss
Interface IToken

All Known Subinterfaces:
IDisplayToken, IIdentityToken

public interface IToken


Method Summary
 Object getAs(Class objectClass)
          Gets a clone of the contained object, converted to the Class specified by objectClass
 List getSupportedClasses()
          Gets the List of the Classes supported by the underlying implementation
 

Method Detail

getSupportedClasses

List getSupportedClasses()
Gets the List of the Classes supported by the underlying implementation

Returns:
the List of the Classes supported by the underlying implementation

getAs

Object getAs(Class objectClass)
             throws Exception
Gets a clone of the contained object, converted to the Class specified by objectClass

Parameters:
objectClass - the class of the object to be returned
Returns:
a clone of the contained object, converted to the Class specified by objectClass
Throws:
Exception - when the Class specified by objectClass is not supported by the underlying implementation