|
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.hints.HintsContext
The context object for the hints package. This object is used to create objects that are used in the hints namespace.
| Field Summary | |
protected static String |
DEFAULT_ELT_NAME
|
protected Document |
doc
|
protected IXArch |
xArch
|
| Fields inherited from interface edu.uci.isr.xarch.hints.IHintsContext |
TYPE_METADATA |
| Constructor Summary | |
HintsContext(IXArch xArch)
Create a new HintsContext for the given IXArch object. |
|
| Method Summary | |
protected Element |
createElement(String name)
|
IHints |
createHints()
Create an IHints object in this namespace. |
IPropertyHint |
createPropertyHint()
Create an IPropertyHint object in this namespace. |
IRenderingHints |
createRenderingHints()
Create an IRenderingHints object in this namespace. |
IRenderingHints |
createRenderingHintsElement()
Create a top-level element of type IRenderingHints. |
IVersionID |
createVersionID()
Create an IVersionID object in this namespace. |
IXMLLink |
createXMLLink()
Create an edu.uci.isr.xarch.instance.IXMLLink object in this namespace. |
Collection |
getAllRenderingHintss(IXArch xArch)
Gets all the IRenderingHints children from the given IXArch element. |
IRenderingHints |
getRenderingHints(IXArch xArch)
Gets the IRenderingHints 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. |
IHints |
recontextualizeHints(IHints value)
Brings an IHints object created in another context into this context. |
IPropertyHint |
recontextualizePropertyHint(IPropertyHint value)
Brings an IPropertyHint object created in another context into this context. |
IRenderingHints |
recontextualizeRenderingHints(IRenderingHints value)
Brings an IRenderingHints object created in another context into this context. |
IVersionID |
recontextualizeVersionID(IVersionID value)
Brings an IVersionID object created in another context into this context. |
IXMLLink |
recontextualizeXMLLink(IXMLLink value)
Brings an edu.uci.isr.xarch.instance.IXMLLink 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 HintsContext(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 IVersionID createVersionID()
createVersionID in interface IHintsContextpublic IVersionID recontextualizeVersionID(IVersionID value)
recontextualizeVersionID in interface IHintsContextvalue - Object to recontextualize.
value object in this namespace.public IPropertyHint createPropertyHint()
createPropertyHint in interface IHintsContextpublic IPropertyHint recontextualizePropertyHint(IPropertyHint value)
recontextualizePropertyHint in interface IHintsContextvalue - Object to recontextualize.
value object in this namespace.public IHints createHints()
createHints in interface IHintsContextpublic IHints recontextualizeHints(IHints value)
recontextualizeHints in interface IHintsContextvalue - Object to recontextualize.
value object in this namespace.public IXMLLink createXMLLink()
createXMLLink in interface IHintsContextpublic IXMLLink recontextualizeXMLLink(IXMLLink value)
recontextualizeXMLLink in interface IHintsContextvalue - Object to recontextualize.
value object in this namespace.public IRenderingHints createRenderingHints()
createRenderingHints in interface IHintsContextpublic IRenderingHints recontextualizeRenderingHints(IRenderingHints value)
recontextualizeRenderingHints in interface IHintsContextvalue - Object to recontextualize.
value object in this namespace.public IRenderingHints createRenderingHintsElement()
IRenderingHints.
This function should be used in lieu of createRenderingHints
if the element is to be added as a sub-object of IXArch.
createRenderingHintsElement in interface IHintsContextpublic IRenderingHints getRenderingHints(IXArch xArch)
IXArch
element. If there are multiple matching children, this returns the first one.
getRenderingHints in interface IHintsContextxArch - IXArch object from which to get the child.
IRenderingHints that is the child
of xArch or null if no such object exists.public Collection getAllRenderingHintss(IXArch xArch)
IXArch element.
getAllRenderingHintss in interface IHintsContextxArch - IXArch object from which to get the children.
IRenderingHints 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 | |||||||||