|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uci.isr.xarch.menage.MenageContext
The context object for the menage package. This object is used to create objects that are used in the menage namespace.
| Field Summary | |
protected static String |
DEFAULT_ELT_NAME
|
protected Document |
doc
|
protected IXArch |
xArch
|
| Fields inherited from interface edu.uci.isr.xarch.menage.IMenageContext |
TYPE_METADATA |
| Constructor Summary | |
MenageContext(IXArch xArch)
Create a new MenageContext for the given IXArch object. |
|
| Method Summary | |
protected Element |
createElement(String name)
|
IOptionalComponentPosition |
createOptionalComponentPosition()
Create an IOptionalComponentPosition object in this namespace. |
IOptionalConnectorPosition |
createOptionalConnectorPosition()
Create an IOptionalConnectorPosition object in this namespace. |
IOptionalInterfacePosition |
createOptionalInterfacePosition()
Create an IOptionalInterfacePosition object in this namespace. |
IOptionalSignaturePosition |
createOptionalSignaturePosition()
Create an IOptionalSignaturePosition object in this namespace. |
IPosition |
createPosition()
Create an IPosition object in this namespace. |
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IXArch |
getXArch()
Get the IXArch object that
this context is based upon. |
IOptionalComponentPosition |
promoteToOptionalComponentPosition(IOptionalComponent value)
Promote an object of type edu.uci.isr.xarch.options.IOptionalComponent
to one of type IOptionalComponentPosition. |
IOptionalConnectorPosition |
promoteToOptionalConnectorPosition(IOptionalConnector value)
Promote an object of type edu.uci.isr.xarch.options.IOptionalConnector
to one of type IOptionalConnectorPosition. |
IOptionalInterfacePosition |
promoteToOptionalInterfacePosition(IOptionalInterface value)
Promote an object of type edu.uci.isr.xarch.options.IOptionalInterface
to one of type IOptionalInterfacePosition. |
IOptionalSignaturePosition |
promoteToOptionalSignaturePosition(IOptionalSignature value)
Promote an object of type edu.uci.isr.xarch.options.IOptionalSignature
to one of type IOptionalSignaturePosition. |
IOptionalComponentPosition |
recontextualizeOptionalComponentPosition(IOptionalComponentPosition value)
Brings an IOptionalComponentPosition object created in another context into this context. |
IOptionalConnectorPosition |
recontextualizeOptionalConnectorPosition(IOptionalConnectorPosition value)
Brings an IOptionalConnectorPosition object created in another context into this context. |
IOptionalInterfacePosition |
recontextualizeOptionalInterfacePosition(IOptionalInterfacePosition value)
Brings an IOptionalInterfacePosition object created in another context into this context. |
IOptionalSignaturePosition |
recontextualizeOptionalSignaturePosition(IOptionalSignaturePosition value)
Brings an IOptionalSignaturePosition object created in another context into this context. |
IPosition |
recontextualizePosition(IPosition value)
Brings an IPosition object created in another context into this context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final String DEFAULT_ELT_NAME
protected Document doc
protected IXArch xArch
| Constructor Detail |
public MenageContext(IXArch xArch)
xArch - XArch object to contextualize in this namespace.| Method Detail |
public IXArch getXArch()
IXArchContextIXArch object that
this context is based upon.
getXArch in interface IXArchContextIXArch object upon which
this context is based.protected Element createElement(String name)
public XArchTypeMetadata getTypeMetadata()
IXArchContextxsi:type of this element.
getTypeMetadata in interface IXArchContextxsi:type of this element.public IPosition createPosition()
createPosition in interface IMenageContextpublic IPosition recontextualizePosition(IPosition value)
recontextualizePosition in interface IMenageContextvalue - Object to recontextualize.
value object in this namespace.public IOptionalComponentPosition createOptionalComponentPosition()
createOptionalComponentPosition in interface IMenageContextpublic IOptionalComponentPosition recontextualizeOptionalComponentPosition(IOptionalComponentPosition value)
recontextualizeOptionalComponentPosition in interface IMenageContextvalue - Object to recontextualize.
value object in this namespace.public IOptionalComponentPosition promoteToOptionalComponentPosition(IOptionalComponent value)
edu.uci.isr.xarch.options.IOptionalComponent
to one of type IOptionalComponentPosition. 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.options.IOptionalComponent
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.
promoteToOptionalComponentPosition in interface IMenageContextvalue - Object to promote.
public IOptionalConnectorPosition createOptionalConnectorPosition()
createOptionalConnectorPosition in interface IMenageContextpublic IOptionalConnectorPosition recontextualizeOptionalConnectorPosition(IOptionalConnectorPosition value)
recontextualizeOptionalConnectorPosition in interface IMenageContextvalue - Object to recontextualize.
value object in this namespace.public IOptionalConnectorPosition promoteToOptionalConnectorPosition(IOptionalConnector value)
edu.uci.isr.xarch.options.IOptionalConnector
to one of type IOptionalConnectorPosition. 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.options.IOptionalConnector
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.
promoteToOptionalConnectorPosition in interface IMenageContextvalue - Object to promote.
public IOptionalInterfacePosition createOptionalInterfacePosition()
createOptionalInterfacePosition in interface IMenageContextpublic IOptionalInterfacePosition recontextualizeOptionalInterfacePosition(IOptionalInterfacePosition value)
recontextualizeOptionalInterfacePosition in interface IMenageContextvalue - Object to recontextualize.
value object in this namespace.public IOptionalInterfacePosition promoteToOptionalInterfacePosition(IOptionalInterface value)
edu.uci.isr.xarch.options.IOptionalInterface
to one of type IOptionalInterfacePosition. 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.options.IOptionalInterface
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.
promoteToOptionalInterfacePosition in interface IMenageContextvalue - Object to promote.
public IOptionalSignaturePosition createOptionalSignaturePosition()
createOptionalSignaturePosition in interface IMenageContextpublic IOptionalSignaturePosition recontextualizeOptionalSignaturePosition(IOptionalSignaturePosition value)
recontextualizeOptionalSignaturePosition in interface IMenageContextvalue - Object to recontextualize.
value object in this namespace.public IOptionalSignaturePosition promoteToOptionalSignaturePosition(IOptionalSignature value)
edu.uci.isr.xarch.options.IOptionalSignature
to one of type IOptionalSignaturePosition. 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.options.IOptionalSignature
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.
promoteToOptionalSignaturePosition in interface IMenageContextvalue - 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 | |||||||||