|
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.analysis.AnalysisContext
The context object for the analysis package. This object is used to create objects that are used in the analysis namespace.
| Field Summary | |
protected static String |
DEFAULT_ELT_NAME
|
protected Document |
doc
|
protected IXArch |
xArch
|
| Fields inherited from interface edu.uci.isr.xarch.analysis.IAnalysisContext |
TYPE_METADATA |
| Constructor Summary | |
AnalysisContext(IXArch xArch)
Create a new AnalysisContext for the given IXArch object. |
|
| Method Summary | |
IAnalysis |
createAnalysis()
Create an IAnalysis object in this namespace. |
IArchAnalysis |
createArchAnalysis()
Create an IArchAnalysis object in this namespace. |
IArchAnalysis |
createArchAnalysisElement()
Create a top-level element of type IArchAnalysis. |
protected Element |
createElement(String name)
|
Collection |
getAllArchAnalysiss(IXArch xArch)
Gets all the IArchAnalysis children from the given IXArch element. |
IArchAnalysis |
getArchAnalysis(IXArch xArch)
Gets the IArchAnalysis child from the given IXArch
element. |
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IXArch |
getXArch()
Get the IXArch object that
this context is based upon. |
IAnalysis |
recontextualizeAnalysis(IAnalysis value)
Brings an IAnalysis object created in another context into this context. |
IArchAnalysis |
recontextualizeArchAnalysis(IArchAnalysis value)
Brings an IArchAnalysis 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 AnalysisContext(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 IArchAnalysis createArchAnalysis()
createArchAnalysis in interface IAnalysisContextpublic IArchAnalysis recontextualizeArchAnalysis(IArchAnalysis value)
recontextualizeArchAnalysis in interface IAnalysisContextvalue - Object to recontextualize.
value object in this namespace.public IAnalysis createAnalysis()
createAnalysis in interface IAnalysisContextpublic IAnalysis recontextualizeAnalysis(IAnalysis value)
recontextualizeAnalysis in interface IAnalysisContextvalue - Object to recontextualize.
value object in this namespace.public IArchAnalysis createArchAnalysisElement()
IArchAnalysis.
This function should be used in lieu of createArchAnalysis
if the element is to be added as a sub-object of IXArch.
createArchAnalysisElement in interface IAnalysisContextpublic IArchAnalysis getArchAnalysis(IXArch xArch)
IXArch
element. If there are multiple matching children, this returns the first one.
getArchAnalysis in interface IAnalysisContextxArch - IXArch object from which to get the child.
IArchAnalysis that is the child
of xArch or null if no such object exists.public Collection getAllArchAnalysiss(IXArch xArch)
IXArch element.
getAllArchAnalysiss in interface IAnalysisContextxArch - IXArch object from which to get the children.
IArchAnalysis that are
the children of xArch or an empty collection if no such object exists.
|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||