|
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.javainitparams.InitializationParameterImpl
DOM-Based implementation of the IInitializationParameter interface.
| Field Summary | |
protected Element |
elt
|
static String |
NAME_ATTR_NAME
Tag name for names in this object. |
static String |
VALUE_ATTR_NAME
Tag name for values in this object. |
protected IXArch |
xArch
|
static String |
XSD_TYPE_NAME
|
static String |
XSD_TYPE_NSURI
|
| Fields inherited from interface edu.uci.isr.xarch.javainitparams.IInitializationParameter |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
InitializationParameterImpl(Element elt)
|
|
| Method Summary | |
void |
clearName()
Removes the name attribute from this object. |
void |
clearValue()
Removes the value attribute from this object. |
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. |
String |
getName()
Gets the value of the name attribute on this object. |
protected static SequenceOrder |
getSequenceOrder()
|
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
String |
getValue()
Gets the value of the value attribute on this object. |
IXArch |
getXArch()
|
int |
hashCode()
|
boolean |
hasName(String name)
Determines if this object's name attribute has the given value. |
boolean |
hasValue(String value)
Determines if this object's value attribute has the given value. |
boolean |
isEquivalent(IInitializationParameter c)
Determine if another InitializationParameter is equivalent to this one, ignoring ID's. |
void |
setDOMNode(Node node)
Sets the DOM node on which this implementation is based. |
void |
setName(String name)
Set the name attribute on this object. |
void |
setValue(String value)
Set the value attribute on this object. |
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 NAME_ATTR_NAME
public static final String VALUE_ATTR_NAME
protected Element elt
| Constructor Detail |
public InitializationParameterImpl(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 setName(String name)
setName in interface IInitializationParametername - attribute value.public void clearName()
clearName in interface IInitializationParameterpublic String getName()
getName in interface IInitializationParameternull if that
attribute is not set.public boolean hasName(String name)
hasName in interface IInitializationParametername - value to test.
true if the values match, false otherwise.
Matching is done by string-matching.public void setValue(String value)
setValue in interface IInitializationParametervalue - attribute value.public void clearValue()
clearValue in interface IInitializationParameterpublic String getValue()
getValue in interface IInitializationParameternull if that
attribute is not set.public boolean hasValue(String value)
hasValue in interface IInitializationParametervalue - value to test.
true if the values match, false otherwise.
Matching is done by string-matching.public boolean isEquivalent(IInitializationParameter c)
IInitializationParameter
isEquivalent in interface IInitializationParameterc - InitializationParameter to compare to this one.
true if all the child elements of this
InitializationParameter 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 | |||||||||