|
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.BoolImpl
DOM-Based implementation of the IBool interface.
| Field Summary | |
protected Element |
elt
|
protected IXArch |
xArch
|
static String |
XSD_TYPE_NAME
|
static String |
XSD_TYPE_NSURI
|
| Fields inherited from interface edu.uci.isr.xarch.boolguard.IBool |
ENUM_FALSE, ENUM_TRUE, TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
BoolImpl(Element elt)
|
|
| Method Summary | |
void |
clearValue()
Remove the value for this Bool. |
IXArchElement |
cloneElement(int depth)
|
boolean |
equals(Object o)
|
Node |
getDOMNode()
Gets the DOM node on which this implementation is based. |
XArchInstanceMetadata |
getInstanceMetadata()
Gets metadata describing the instance of this element. |
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
String |
getValue()
Get the value for this Bool. |
IXArch |
getXArch()
Gets the xArch element that is the document element of the document that is this object's context. |
int |
hashCode()
|
boolean |
hasValue(String value)
Determine if this Bool has the given value. |
boolean |
isEquivalent(IBool BoolToCheck)
Determine if another Bool is equivalent to this one. |
void |
setDOMNode(Node node)
Sets the DOM node on which this implementation is based. |
void |
setValue(String value)
Set the value for this Bool. |
void |
setXArch(IXArch xArch)
Set the xArch element that is the document element of the document that is this object's context. |
| 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
protected Element elt
| Constructor Detail |
public BoolImpl(Element elt)
| Method Detail |
public Node getDOMNode()
DOMBased
getDOMNode in interface DOMBasedpublic void setDOMNode(Node node)
DOMBased
setDOMNode in interface DOMBasednode - DOM nodepublic boolean equals(Object o)
public int hashCode()
public void setXArch(IXArch xArch)
setXArch in interface IXArchElementxArch - XArch document element for this element.public IXArch getXArch()
getXArch in interface IXArchElementpublic IXArchElement cloneElement(int depth)
cloneElement in interface IXArchElementpublic void setValue(String value)
IBool
setValue in interface IBoolvalue - Value to set.public void clearValue()
IBool
clearValue in interface IBoolpublic String getValue()
IBool
getValue in interface IBoolpublic boolean hasValue(String value)
IBool
hasValue in interface IBooltrue if they match,
false otherwise.public boolean isEquivalent(IBool BoolToCheck)
IBool
isEquivalent in interface IBoolBoolToCheck - Bool to compare against
this one.
true if their values are equivalent,
false otherwise.public XArchTypeMetadata getTypeMetadata()
IXArchElementxsi:type of this element.
getTypeMetadata in interface IXArchElementxsi:type of this element.public XArchInstanceMetadata getInstanceMetadata()
IXArchElement
getInstanceMetadata in interface IXArchElement
|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||