|
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.boolguard.BoolguardContext
The context object for the boolguard package. This object is used to create objects that are used in the boolguard namespace.
| Field Summary | |
protected static String |
DEFAULT_ELT_NAME
|
protected Document |
doc
|
protected IXArch |
xArch
|
| Fields inherited from interface edu.uci.isr.xarch.boolguard.IBoolguardContext |
TYPE_METADATA |
| Constructor Summary | |
BoolguardContext(IXArch xArch)
Create a new BoolguardContext for the given IXArch object. |
|
| Method Summary | |
IAnd |
createAnd()
Create an IAnd object in this namespace. |
IBool |
createBool()
Create an IBool object in this namespace. |
IBooleanExp |
createBooleanExp()
Create an IBooleanExp object in this namespace. |
IBooleanGuard |
createBooleanGuard()
Create an IBooleanGuard object in this namespace. |
protected Element |
createElement(String name)
|
IEquals |
createEquals()
Create an IEquals object in this namespace. |
IGreaterThan |
createGreaterThan()
Create an IGreaterThan object in this namespace. |
IGreaterThanOrEquals |
createGreaterThanOrEquals()
Create an IGreaterThanOrEquals object in this namespace. |
IInRange |
createInRange()
Create an IInRange object in this namespace. |
IInSet |
createInSet()
Create an IInSet object in this namespace. |
ILessThan |
createLessThan()
Create an ILessThan object in this namespace. |
ILessThanOrEquals |
createLessThanOrEquals()
Create an ILessThanOrEquals object in this namespace. |
INot |
createNot()
Create an INot object in this namespace. |
INotEquals |
createNotEquals()
Create an INotEquals object in this namespace. |
IOr |
createOr()
Create an IOr object in this namespace. |
IParen |
createParen()
Create an IParen object in this namespace. |
ISymbol |
createSymbol()
Create an ISymbol object in this namespace. |
IValue |
createValue()
Create an IValue 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. |
IBooleanGuard |
promoteToBooleanGuard(IGuard value)
Promote an object of type edu.uci.isr.xarch.options.IGuard
to one of type IBooleanGuard. |
IAnd |
recontextualizeAnd(IAnd value)
Brings an IAnd object created in another context into this context. |
IBool |
recontextualizeBool(IBool value)
Brings an IBool object created in another context into this context. |
IBooleanExp |
recontextualizeBooleanExp(IBooleanExp value)
Brings an IBooleanExp object created in another context into this context. |
IBooleanGuard |
recontextualizeBooleanGuard(IBooleanGuard value)
Brings an IBooleanGuard object created in another context into this context. |
IEquals |
recontextualizeEquals(IEquals value)
Brings an IEquals object created in another context into this context. |
IGreaterThan |
recontextualizeGreaterThan(IGreaterThan value)
Brings an IGreaterThan object created in another context into this context. |
IGreaterThanOrEquals |
recontextualizeGreaterThanOrEquals(IGreaterThanOrEquals value)
Brings an IGreaterThanOrEquals object created in another context into this context. |
IInRange |
recontextualizeInRange(IInRange value)
Brings an IInRange object created in another context into this context. |
IInSet |
recontextualizeInSet(IInSet value)
Brings an IInSet object created in another context into this context. |
ILessThan |
recontextualizeLessThan(ILessThan value)
Brings an ILessThan object created in another context into this context. |
ILessThanOrEquals |
recontextualizeLessThanOrEquals(ILessThanOrEquals value)
Brings an ILessThanOrEquals object created in another context into this context. |
INot |
recontextualizeNot(INot value)
Brings an INot object created in another context into this context. |
INotEquals |
recontextualizeNotEquals(INotEquals value)
Brings an INotEquals object created in another context into this context. |
IOr |
recontextualizeOr(IOr value)
Brings an IOr object created in another context into this context. |
IParen |
recontextualizeParen(IParen value)
Brings an IParen object created in another context into this context. |
ISymbol |
recontextualizeSymbol(ISymbol value)
Brings an ISymbol object created in another context into this context. |
IValue |
recontextualizeValue(IValue value)
Brings an IValue 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 BoolguardContext(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 ISymbol createSymbol()
createSymbol in interface IBoolguardContextpublic ISymbol recontextualizeSymbol(ISymbol value)
recontextualizeSymbol in interface IBoolguardContextvalue - Object to recontextualize.
value object in this namespace.public IValue createValue()
createValue in interface IBoolguardContextpublic IValue recontextualizeValue(IValue value)
recontextualizeValue in interface IBoolguardContextvalue - Object to recontextualize.
value object in this namespace.public IBooleanGuard createBooleanGuard()
createBooleanGuard in interface IBoolguardContextpublic IBooleanGuard recontextualizeBooleanGuard(IBooleanGuard value)
recontextualizeBooleanGuard in interface IBoolguardContextvalue - Object to recontextualize.
value object in this namespace.public IBooleanGuard promoteToBooleanGuard(IGuard value)
edu.uci.isr.xarch.options.IGuard
to one of type IBooleanGuard. 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.IGuard
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.
promoteToBooleanGuard in interface IBoolguardContextvalue - Object to promote.
public IBool createBool()
createBool in interface IBoolguardContextpublic IBool recontextualizeBool(IBool value)
recontextualizeBool in interface IBoolguardContextvalue - Object to recontextualize.
value object in this namespace.public IBooleanExp createBooleanExp()
createBooleanExp in interface IBoolguardContextpublic IBooleanExp recontextualizeBooleanExp(IBooleanExp value)
recontextualizeBooleanExp in interface IBoolguardContextvalue - Object to recontextualize.
value object in this namespace.public IParen createParen()
createParen in interface IBoolguardContextpublic IParen recontextualizeParen(IParen value)
recontextualizeParen in interface IBoolguardContextvalue - Object to recontextualize.
value object in this namespace.public IGreaterThan createGreaterThan()
createGreaterThan in interface IBoolguardContextpublic IGreaterThan recontextualizeGreaterThan(IGreaterThan value)
recontextualizeGreaterThan in interface IBoolguardContextvalue - Object to recontextualize.
value object in this namespace.public IGreaterThanOrEquals createGreaterThanOrEquals()
createGreaterThanOrEquals in interface IBoolguardContextpublic IGreaterThanOrEquals recontextualizeGreaterThanOrEquals(IGreaterThanOrEquals value)
recontextualizeGreaterThanOrEquals in interface IBoolguardContextvalue - Object to recontextualize.
value object in this namespace.public ILessThan createLessThan()
createLessThan in interface IBoolguardContextpublic ILessThan recontextualizeLessThan(ILessThan value)
recontextualizeLessThan in interface IBoolguardContextvalue - Object to recontextualize.
value object in this namespace.public ILessThanOrEquals createLessThanOrEquals()
createLessThanOrEquals in interface IBoolguardContextpublic ILessThanOrEquals recontextualizeLessThanOrEquals(ILessThanOrEquals value)
recontextualizeLessThanOrEquals in interface IBoolguardContextvalue - Object to recontextualize.
value object in this namespace.public IEquals createEquals()
createEquals in interface IBoolguardContextpublic IEquals recontextualizeEquals(IEquals value)
recontextualizeEquals in interface IBoolguardContextvalue - Object to recontextualize.
value object in this namespace.public INotEquals createNotEquals()
createNotEquals in interface IBoolguardContextpublic INotEquals recontextualizeNotEquals(INotEquals value)
recontextualizeNotEquals in interface IBoolguardContextvalue - Object to recontextualize.
value object in this namespace.public IAnd createAnd()
createAnd in interface IBoolguardContextpublic IAnd recontextualizeAnd(IAnd value)
recontextualizeAnd in interface IBoolguardContextvalue - Object to recontextualize.
value object in this namespace.public IOr createOr()
createOr in interface IBoolguardContextpublic IOr recontextualizeOr(IOr value)
recontextualizeOr in interface IBoolguardContextvalue - Object to recontextualize.
value object in this namespace.public INot createNot()
createNot in interface IBoolguardContextpublic INot recontextualizeNot(INot value)
recontextualizeNot in interface IBoolguardContextvalue - Object to recontextualize.
value object in this namespace.public IInSet createInSet()
createInSet in interface IBoolguardContextpublic IInSet recontextualizeInSet(IInSet value)
recontextualizeInSet in interface IBoolguardContextvalue - Object to recontextualize.
value object in this namespace.public IInRange createInRange()
createInRange in interface IBoolguardContextpublic IInRange recontextualizeInRange(IInRange value)
recontextualizeInRange in interface IBoolguardContextvalue - Object to recontextualize.
value object in this namespace.
|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||