|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for accessing objects of the
xArch xsi:type in the
instance namespace.
| Field Summary | |
static XArchTypeMetadata |
TYPE_METADATA
|
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Method Summary | |
void |
addObject(Object object)
Add an object to this xArch object. |
void |
addObjects(Collection objects)
Add a set of objects to this xArch object. |
void |
addSchemaLocation(String uri,
String location)
Add a schemaLocation mapping to the xArch element. |
void |
addXArchListener(XArchListener l)
Adds an object that will listen to XArchEvents
to this xArch object. |
void |
cacheWrapper(Node domNode,
IXArchElement wrapper)
|
void |
clearObjects()
Remove all objects from this xArch object. |
void |
fireXArchEvent(XArchEvent evt)
Broadcasts a given event to all the XArchListeners on this xArch object. |
Collection |
getAllObjects()
Get all the objects from this xArch object. |
IXArchElement |
getWrapper(Node domNode)
|
boolean |
hasAllObjects(Collection objects)
Determine if this xArch object contains a given set of objects. |
boolean |
hasObject(Object object)
Determine if this xArch object contains a given object. |
Collection |
hasObjects(Collection objects)
Determine if this xArch object contains a given set of objects. |
boolean |
isEquivalent(IXArch xArch)
Determine if this xArch object is equivalent to another one. |
void |
removeObject(Object object)
Remove a given object from this xArch object. |
void |
removeObjects(Collection objects)
Remove a set of objects from this xArch object. |
void |
removeSchemaLocation(String uri)
Removes a schemaLocation mapping from the xArch element. |
void |
removeXArchListener(XArchListener l)
Removes an object that will listen to XArchEvents
from this xArch object. |
| Methods inherited from interface edu.uci.isr.xarch.IXArchElement |
cloneElement, getInstanceMetadata, getTypeMetadata, getXArch, setXArch |
| Field Detail |
public static final XArchTypeMetadata TYPE_METADATA
| Method Detail |
public void addObject(Object object)
object - Object to add.public void addObjects(Collection objects)
objects - Objects to add.public void clearObjects()
public void removeObject(Object object)
object - Object to remove.public void removeObjects(Collection objects)
objects - Objects to remove.public Collection getAllObjects()
public boolean hasObject(Object object)
object - Object to check for.
true if the object was found,
false otherwise.public Collection hasObjects(Collection objects)
objects - Objects to check for.
java.lang.Boolean
that are true if the object was found,
false otherwise.public boolean hasAllObjects(Collection objects)
objects - Objects to check for.
true if all the objects were found,
false otherwise.public boolean isEquivalent(IXArch xArch)
xArch - Other xArch object to compare to this one.
true if both contain the same
objects, false otherwise.public void addXArchListener(XArchListener l)
XArchEvents
to this xArch object.
l - Listener to add.public void removeXArchListener(XArchListener l)
XArchEvents
from this xArch object.
l - Listener to add.public void fireXArchEvent(XArchEvent evt)
evt - Event to broadcast
public void addSchemaLocation(String uri,
String location)
uri - Schema URI to add.location - Location of the schema. May be local or a URL.public void removeSchemaLocation(String uri)
uri - Schema URI to remove.
public void cacheWrapper(Node domNode,
IXArchElement wrapper)
public IXArchElement getWrapper(Node domNode)
|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||