|
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.SymbolImpl
DOM-Based implementation of the ISymbol 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.ISymbol |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
SymbolImpl(Element elt)
|
|
| Method Summary | |
void |
clearValue()
Remove the value for this Symbol. |
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 Symbol. |
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 Symbol has the given value. |
boolean |
isEquivalent(ISymbol SymbolToCheck)
Determine if another Symbol 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 Symbol. |
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 SymbolImpl(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)
ISymbol
setValue in interface ISymbolvalue - Value to set.public void clearValue()
ISymbol
clearValue in interface ISymbolpublic String getValue()
ISymbol
getValue in interface ISymbolpublic boolean hasValue(String value)
ISymbol
hasValue in interface ISymboltrue if they match,
false otherwise.public boolean isEquivalent(ISymbol SymbolToCheck)
ISymbol
isEquivalent in interface ISymbolSymbolToCheck - Symbol 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 | |||||||||