|
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.OptionalImpl
DOM-Based implementation of the IOptional interface.
| Field Summary | |
protected Element |
elt
|
static String |
GUARD_ELT_NAME
Tag name for guards in this object. |
protected IXArch |
xArch
|
static String |
XSD_TYPE_NAME
|
static String |
XSD_TYPE_NSURI
|
| Fields inherited from interface edu.uci.isr.xarch.options.IOptional |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
OptionalImpl(Element elt)
|
|
| Method Summary | |
void |
clearGuard()
Clear the guard from this Optional. |
IXArchElement |
cloneElement(int depth)
|
boolean |
equals(Object o)
|
Node |
getDOMNode()
Gets the DOM node on which this implementation is based. |
IGuard |
getGuard()
Get the guard from this Optional. |
XArchInstanceMetadata |
getInstanceMetadata()
Gets metadata describing the instance of this element. |
protected static SequenceOrder |
getSequenceOrder()
|
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IXArch |
getXArch()
|
boolean |
hasGuard(IGuard value)
Determine if this Optional has the given guard |
int |
hashCode()
|
boolean |
isEquivalent(IOptional c)
Determine if another Optional is equivalent to this one, ignoring ID's. |
void |
setDOMNode(Node node)
Sets the DOM node on which this implementation is based. |
void |
setGuard(IGuard value)
Set the guard for this Optional. |
void |
setXArch(IXArch xArch)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String XSD_TYPE_NSURI
public static final String XSD_TYPE_NAME
protected IXArch xArch
public static final String GUARD_ELT_NAME
protected Element elt
| Constructor Detail |
public OptionalImpl(Element elt)
| Method Detail |
public Node getDOMNode()
DOMBased
getDOMNode in interface DOMBasedpublic void setDOMNode(Node node)
DOMBased
setDOMNode in interface DOMBasednode - DOM nodeprotected static SequenceOrder getSequenceOrder()
public void setXArch(IXArch xArch)
setXArch in interface IXArchElementpublic IXArch getXArch()
getXArch in interface IXArchElementpublic IXArchElement cloneElement(int depth)
cloneElement in interface IXArchElementpublic boolean equals(Object o)
public int hashCode()
public XArchTypeMetadata getTypeMetadata()
IXArchElementxsi:type of this element.
getTypeMetadata in interface IXArchElementxsi:type of this element.public XArchInstanceMetadata getInstanceMetadata()
IXArchElement
getInstanceMetadata in interface IXArchElementpublic void setGuard(IGuard value)
IOptional
setGuard in interface IOptionalvalue - new guardpublic void clearGuard()
IOptional
clearGuard in interface IOptionalpublic IGuard getGuard()
IOptional
getGuard in interface IOptionalpublic boolean hasGuard(IGuard value)
IOptional
hasGuard in interface IOptionalvalue - guard to compare
true if the guards are equivalent,
false otherwisepublic boolean isEquivalent(IOptional c)
IOptional
isEquivalent in interface IOptionalc - Optional to compare to this one.
true if all the child elements of this
Optional are equivalent, false otherwise.
|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||