|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.qtitools.qti.attribute.AbstractAttribute
org.qtitools.qti.attribute.SingleAttribute
org.qtitools.qti.attribute.value.UriAttribute
public class UriAttribute
Attribute with uri value.
| Field Summary |
|---|
| Fields inherited from class org.qtitools.qti.attribute.AbstractAttribute |
|---|
logger |
| Constructor Summary | |
|---|---|
UriAttribute(XmlNode parent,
java.lang.String name)
Constructs attribute. |
|
UriAttribute(XmlNode parent,
java.lang.String name,
java.net.URI defaultValue)
Constructs attribute. |
|
UriAttribute(XmlNode parent,
java.lang.String name,
java.net.URI value,
java.net.URI defaultValue,
boolean required)
Constructs attribute. |
|
| Method Summary | |
|---|---|
java.net.URI |
getDefaultValue()
Gets default value of attribute. |
java.net.URI |
getValue()
Gets value of attribute. |
protected java.net.URI |
parseValue(java.lang.String value)
Parses value from given string. |
void |
setDefaultValue(java.net.URI defaultValue)
Sets new default value of attribute. |
void |
setValue(java.net.URI value)
Sets new value of attribute. |
| Methods inherited from class org.qtitools.qti.attribute.SingleAttribute |
|---|
defaultValueToString, load, load, setDefaultValue, setValue, valueToString |
| Methods inherited from class org.qtitools.qti.attribute.AbstractAttribute |
|---|
getFullName, getLoadedValue, getLoadingProblem, getName, getParent, isRequired, isSupported, setLoadedValue, setLoadingProblem, setSupported, toString, toXmlString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UriAttribute(XmlNode parent,
java.lang.String name)
parent - attribute's parentname - attribute's name
public UriAttribute(XmlNode parent,
java.lang.String name,
java.net.URI defaultValue)
parent - attribute's parentname - attribute's namedefaultValue - attribute's default value
public UriAttribute(XmlNode parent,
java.lang.String name,
java.net.URI value,
java.net.URI defaultValue,
boolean required)
parent - attribute's parentname - attribute's namevalue - attribute's valuedefaultValue - attribute's default valuerequired - is this attribute required| Method Detail |
|---|
public java.net.URI getValue()
SingleAttribute
getValue in class SingleAttributeSingleAttribute.setValue(java.lang.Object)public void setValue(java.net.URI value)
value - new value of attributegetValue()public java.net.URI getDefaultValue()
SingleAttribute
getDefaultValue in class SingleAttributeSingleAttribute.setDefaultValue(java.lang.Object)public void setDefaultValue(java.net.URI defaultValue)
defaultValue - new default value of attributegetDefaultValue()protected java.net.URI parseValue(java.lang.String value)
SingleAttribute
parseValue in class SingleAttributevalue - string value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||