|
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.messages.KindImpl
DOM-Based implementation of the IKind 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.messages.IKind |
ENUM_NONE, ENUM_NOTIFICATION, ENUM_REQUEST, TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
KindImpl(Element elt)
|
|
| Method Summary | |
void |
clearValue()
Remove the value for this Kind. |
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 Kind. |
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 Kind has the given value. |
boolean |
isEquivalent(IKind KindToCheck)
Determine if another Kind 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 Kind. |
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 KindImpl(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)
IKind
setValue in interface IKindvalue - Value to set.public void clearValue()
IKind
clearValue in interface IKindpublic String getValue()
IKind
getValue in interface IKindpublic boolean hasValue(String value)
IKind
hasValue in interface IKindtrue if they match,
false otherwise.public boolean isEquivalent(IKind KindToCheck)
IKind
isEquivalent in interface IKindKindToCheck - Kind 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 | |||||||||