|
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.options.OptionsContext
The context object for the options package. This object is used to create objects that are used in the options namespace.
| Field Summary | |
protected static String |
DEFAULT_ELT_NAME
|
protected Document |
doc
|
protected IXArch |
xArch
|
| Fields inherited from interface edu.uci.isr.xarch.options.IOptionsContext |
TYPE_METADATA |
| Constructor Summary | |
OptionsContext(IXArch xArch)
Create a new OptionsContext for the given IXArch object. |
|
| Method Summary | |
protected Element |
createElement(String name)
|
IGuard |
createGuard()
Create an IGuard object in this namespace. |
IOptional |
createOptional()
Create an IOptional object in this namespace. |
IOptionalComponent |
createOptionalComponent()
Create an IOptionalComponent object in this namespace. |
IOptionalConnector |
createOptionalConnector()
Create an IOptionalConnector object in this namespace. |
IOptionalInterface |
createOptionalInterface()
Create an IOptionalInterface object in this namespace. |
IOptionalLink |
createOptionalLink()
Create an IOptionalLink object in this namespace. |
IOptionalSignature |
createOptionalSignature()
Create an IOptionalSignature object in this namespace. |
IOptionalSignatureInterfaceMapping |
createOptionalSignatureInterfaceMapping()
Create an IOptionalSignatureInterfaceMapping 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. |
IOptionalComponent |
promoteToOptionalComponent(IComponent value)
Promote an object of type edu.uci.isr.xarch.types.IComponent
to one of type IOptionalComponent. |
IOptionalConnector |
promoteToOptionalConnector(IConnector value)
Promote an object of type edu.uci.isr.xarch.types.IConnector
to one of type IOptionalConnector. |
IOptionalInterface |
promoteToOptionalInterface(IInterface value)
Promote an object of type edu.uci.isr.xarch.types.IInterface
to one of type IOptionalInterface. |
IOptionalLink |
promoteToOptionalLink(ILink value)
Promote an object of type edu.uci.isr.xarch.types.ILink
to one of type IOptionalLink. |
IOptionalSignature |
promoteToOptionalSignature(ISignature value)
Promote an object of type edu.uci.isr.xarch.types.ISignature
to one of type IOptionalSignature. |
IOptionalSignatureInterfaceMapping |
promoteToOptionalSignatureInterfaceMapping(ISignatureInterfaceMapping value)
Promote an object of type edu.uci.isr.xarch.types.ISignatureInterfaceMapping
to one of type IOptionalSignatureInterfaceMapping. |
IGuard |
recontextualizeGuard(IGuard value)
Brings an IGuard object created in another context into this context. |
IOptional |
recontextualizeOptional(IOptional value)
Brings an IOptional object created in another context into this context. |
IOptionalComponent |
recontextualizeOptionalComponent(IOptionalComponent value)
Brings an IOptionalComponent object created in another context into this context. |
IOptionalConnector |
recontextualizeOptionalConnector(IOptionalConnector value)
Brings an IOptionalConnector object created in another context into this context. |
IOptionalInterface |
recontextualizeOptionalInterface(IOptionalInterface value)
Brings an IOptionalInterface object created in another context into this context. |
IOptionalLink |
recontextualizeOptionalLink(IOptionalLink value)
Brings an IOptionalLink object created in another context into this context. |
IOptionalSignature |
recontextualizeOptionalSignature(IOptionalSignature value)
Brings an IOptionalSignature object created in another context into this context. |
IOptionalSignatureInterfaceMapping |
recontextualizeOptionalSignatureInterfaceMapping(IOptionalSignatureInterfaceMapping value)
Brings an IOptionalSignatureInterfaceMapping 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 OptionsContext(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 IGuard createGuard()
createGuard in interface IOptionsContextpublic IGuard recontextualizeGuard(IGuard value)
recontextualizeGuard in interface IOptionsContextvalue - Object to recontextualize.
value object in this namespace.public IOptional createOptional()
createOptional in interface IOptionsContextpublic IOptional recontextualizeOptional(IOptional value)
recontextualizeOptional in interface IOptionsContextvalue - Object to recontextualize.
value object in this namespace.public IOptionalComponent createOptionalComponent()
createOptionalComponent in interface IOptionsContextpublic IOptionalComponent recontextualizeOptionalComponent(IOptionalComponent value)
recontextualizeOptionalComponent in interface IOptionsContextvalue - Object to recontextualize.
value object in this namespace.public IOptionalComponent promoteToOptionalComponent(IComponent value)
edu.uci.isr.xarch.types.IComponent
to one of type IOptionalComponent. 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.IComponent
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.
promoteToOptionalComponent in interface IOptionsContextvalue - Object to promote.
public IOptionalConnector createOptionalConnector()
createOptionalConnector in interface IOptionsContextpublic IOptionalConnector recontextualizeOptionalConnector(IOptionalConnector value)
recontextualizeOptionalConnector in interface IOptionsContextvalue - Object to recontextualize.
value object in this namespace.public IOptionalConnector promoteToOptionalConnector(IConnector value)
edu.uci.isr.xarch.types.IConnector
to one of type IOptionalConnector. 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.IConnector
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.
promoteToOptionalConnector in interface IOptionsContextvalue - Object to promote.
public IOptionalLink createOptionalLink()
createOptionalLink in interface IOptionsContextpublic IOptionalLink recontextualizeOptionalLink(IOptionalLink value)
recontextualizeOptionalLink in interface IOptionsContextvalue - Object to recontextualize.
value object in this namespace.public IOptionalLink promoteToOptionalLink(ILink value)
edu.uci.isr.xarch.types.ILink
to one of type IOptionalLink. 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.ILink
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.
promoteToOptionalLink in interface IOptionsContextvalue - Object to promote.
public IOptionalInterface createOptionalInterface()
createOptionalInterface in interface IOptionsContextpublic IOptionalInterface recontextualizeOptionalInterface(IOptionalInterface value)
recontextualizeOptionalInterface in interface IOptionsContextvalue - Object to recontextualize.
value object in this namespace.public IOptionalInterface promoteToOptionalInterface(IInterface value)
edu.uci.isr.xarch.types.IInterface
to one of type IOptionalInterface. 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.IInterface
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.
promoteToOptionalInterface in interface IOptionsContextvalue - Object to promote.
public IOptionalSignature createOptionalSignature()
createOptionalSignature in interface IOptionsContextpublic IOptionalSignature recontextualizeOptionalSignature(IOptionalSignature value)
recontextualizeOptionalSignature in interface IOptionsContextvalue - Object to recontextualize.
value object in this namespace.public IOptionalSignature promoteToOptionalSignature(ISignature value)
edu.uci.isr.xarch.types.ISignature
to one of type IOptionalSignature. 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.ISignature
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.
promoteToOptionalSignature in interface IOptionsContextvalue - Object to promote.
public IOptionalSignatureInterfaceMapping createOptionalSignatureInterfaceMapping()
createOptionalSignatureInterfaceMapping in interface IOptionsContextpublic IOptionalSignatureInterfaceMapping recontextualizeOptionalSignatureInterfaceMapping(IOptionalSignatureInterfaceMapping value)
recontextualizeOptionalSignatureInterfaceMapping in interface IOptionsContextvalue - Object to recontextualize.
value object in this namespace.public IOptionalSignatureInterfaceMapping promoteToOptionalSignatureInterfaceMapping(ISignatureInterfaceMapping value)
edu.uci.isr.xarch.types.ISignatureInterfaceMapping
to one of type IOptionalSignatureInterfaceMapping. 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.ISignatureInterfaceMapping
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.
promoteToOptionalSignatureInterfaceMapping in interface IOptionsContextvalue - 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 | |||||||||