|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A ITransrepresentor (transreptor for short) generates a new IURRepresentation containing an alternate aspect to another that implements a different aspect. Transrepresentations should not change the symatics of the data in the representation just is representation.
Method Summary | |
ModuleDefinition |
getModule()
|
boolean |
supports(IURRepresentation aFrom,
Class aTo)
Returns true if the given representation can be transrepresented using this transreptor to the given interface |
IURRepresentation |
transrepresent(IURRepresentation aFrom,
URRequest aRequest)
Transrepresent the given Representation |
Methods inherited from interface com.ten60.netkernel.urii.IURComponent |
destroy, initialise |
Method Detail |
public ModuleDefinition getModule()
public boolean supports(IURRepresentation aFrom, Class aTo)
aFrom
- the representation to transrepresentaTo
- the interface we want a new aspect to implementpublic IURRepresentation transrepresent(IURRepresentation aFrom, URRequest aRequest) throws NetKernelException
aFrom
- the representation to transrepresentaRequest
- the request which necessitated this transrepresentation
NetKernelException
- throw if the transrepresentation fails for any reason
|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |