|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The context interface for the implementation package. This interface is used to create objects that are used in the implementation namespace.
| Field Summary | |
static XArchTypeMetadata |
TYPE_METADATA
|
| Method Summary | |
IImplementation |
createImplementation()
Create an IImplementation object in this namespace. |
IInterfaceTypeImpl |
createInterfaceTypeImpl()
Create an IInterfaceTypeImpl object in this namespace. |
IVariantComponentTypeImpl |
createVariantComponentTypeImpl()
Create an IVariantComponentTypeImpl object in this namespace. |
IVariantConnectorTypeImpl |
createVariantConnectorTypeImpl()
Create an IVariantConnectorTypeImpl object in this namespace. |
IInterfaceTypeImpl |
promoteToInterfaceTypeImpl(IInterfaceType value)
Promote an object of type edu.uci.isr.xarch.types.IInterfaceType
to one of type IInterfaceTypeImpl. |
IVariantComponentTypeImpl |
promoteToVariantComponentTypeImpl(IVariantComponentType value)
Promote an object of type edu.uci.isr.xarch.variants.IVariantComponentType
to one of type IVariantComponentTypeImpl. |
IVariantConnectorTypeImpl |
promoteToVariantConnectorTypeImpl(IVariantConnectorType value)
Promote an object of type edu.uci.isr.xarch.variants.IVariantConnectorType
to one of type IVariantConnectorTypeImpl. |
IImplementation |
recontextualizeImplementation(IImplementation value)
Brings an IImplementation object created in another context into this context. |
IInterfaceTypeImpl |
recontextualizeInterfaceTypeImpl(IInterfaceTypeImpl value)
Brings an IInterfaceTypeImpl object created in another context into this context. |
IVariantComponentTypeImpl |
recontextualizeVariantComponentTypeImpl(IVariantComponentTypeImpl value)
Brings an IVariantComponentTypeImpl object created in another context into this context. |
IVariantConnectorTypeImpl |
recontextualizeVariantConnectorTypeImpl(IVariantConnectorTypeImpl value)
Brings an IVariantConnectorTypeImpl object created in another context into this context. |
| Methods inherited from interface edu.uci.isr.xarch.IXArchContext |
getTypeMetadata, getXArch |
| Field Detail |
public static final XArchTypeMetadata TYPE_METADATA
| Method Detail |
public IImplementation createImplementation()
public IImplementation recontextualizeImplementation(IImplementation value)
value - Object to recontextualize.
value object in this namespace.public IVariantComponentTypeImpl createVariantComponentTypeImpl()
public IVariantComponentTypeImpl recontextualizeVariantComponentTypeImpl(IVariantComponentTypeImpl value)
value - Object to recontextualize.
value object in this namespace.public IVariantComponentTypeImpl promoteToVariantComponentTypeImpl(IVariantComponentType value)
edu.uci.isr.xarch.variants.IVariantComponentType
to one of type IVariantComponentTypeImpl. xArch APIs
are structured in such a way that a regular cast is not possible
to change interface types, so casting must be done through these
promotion functions. If the edu.uci.isr.xarch.variants.IVariantComponentType
object wraps a DOM element that is the base type, then the
xsi:type of the base element is promoted. Otherwise,
it is left unchanged.
This function also emits an XArchEvent with type
PROMOTE_TYPE. The source for this events is the pre-promoted
IXArchElement object (should no longer be used), and the
target is the post-promotion object. The target name is
the name of the interface class that was the target of the
promotion.
value - Object to promote.
public IVariantConnectorTypeImpl createVariantConnectorTypeImpl()
public IVariantConnectorTypeImpl recontextualizeVariantConnectorTypeImpl(IVariantConnectorTypeImpl value)
value - Object to recontextualize.
value object in this namespace.public IVariantConnectorTypeImpl promoteToVariantConnectorTypeImpl(IVariantConnectorType value)
edu.uci.isr.xarch.variants.IVariantConnectorType
to one of type IVariantConnectorTypeImpl. xArch APIs
are structured in such a way that a regular cast is not possible
to change interface types, so casting must be done through these
promotion functions. If the edu.uci.isr.xarch.variants.IVariantConnectorType
object wraps a DOM element that is the base type, then the
xsi:type of the base element is promoted. Otherwise,
it is left unchanged.
This function also emits an XArchEvent with type
PROMOTE_TYPE. The source for this events is the pre-promoted
IXArchElement object (should no longer be used), and the
target is the post-promotion object. The target name is
the name of the interface class that was the target of the
promotion.
value - Object to promote.
public IInterfaceTypeImpl createInterfaceTypeImpl()
public IInterfaceTypeImpl recontextualizeInterfaceTypeImpl(IInterfaceTypeImpl value)
value - Object to recontextualize.
value object in this namespace.public IInterfaceTypeImpl promoteToInterfaceTypeImpl(IInterfaceType value)
edu.uci.isr.xarch.types.IInterfaceType
to one of type IInterfaceTypeImpl. xArch APIs
are structured in such a way that a regular cast is not possible
to change interface types, so casting must be done through these
promotion functions. If the edu.uci.isr.xarch.types.IInterfaceType
object wraps a DOM element that is the base type, then the
xsi:type of the base element is promoted. Otherwise,
it is left unchanged.
This function also emits an XArchEvent with type
PROMOTE_TYPE. The source for this events is the pre-promoted
IXArchElement object (should no longer be used), and the
target is the post-promotion object. The target name is
the name of the interface class that was the target of the
promotion.
value - Object to promote.
|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||