|
||||||||||
| 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.MultipleAttribute
org.qtitools.qti.attribute.value.CoordsAttribute
public class CoordsAttribute
Attribute with integer values.
| Field Summary | |
|---|---|
java.lang.String |
FIELDS_SEPARATOR
Values separator. |
| Fields inherited from class org.qtitools.qti.attribute.AbstractAttribute |
|---|
logger |
| Constructor Summary | |
|---|---|
CoordsAttribute(XmlNode parent,
java.lang.String name)
Constructs attribute. |
|
CoordsAttribute(XmlNode parent,
java.lang.String name,
java.util.List<java.lang.Integer> defaultValue)
Constructs attribute. |
|
CoordsAttribute(XmlNode parent,
java.lang.String name,
java.util.List<java.lang.Integer> value,
java.util.List<java.lang.Integer> defaultValue,
boolean required)
Constructs attribute. |
|
| Method Summary | |
|---|---|
java.util.List<java.lang.Integer> |
getDefaultValues()
Gets default value of attribute. |
java.util.List<java.lang.Integer> |
getValues()
Gets value of attribute. |
protected java.lang.Integer |
parseValue(java.lang.String value)
Parses value from given string. |
| Methods inherited from class org.qtitools.qti.attribute.MultipleAttribute |
|---|
defaultValueToString, load, load, 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 |
| Field Detail |
|---|
public java.lang.String FIELDS_SEPARATOR
| Constructor Detail |
|---|
public CoordsAttribute(XmlNode parent,
java.lang.String name)
parent - attribute's parentname - attribute's name
public CoordsAttribute(XmlNode parent,
java.lang.String name,
java.util.List<java.lang.Integer> defaultValue)
parent - attribute's parentname - attribute's namedefaultValue - attribute's default value
public CoordsAttribute(XmlNode parent,
java.lang.String name,
java.util.List<java.lang.Integer> value,
java.util.List<java.lang.Integer> 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.util.List<java.lang.Integer> getValues()
MultipleAttribute
getValues in class MultipleAttributepublic java.util.List<java.lang.Integer> getDefaultValues()
MultipleAttribute
getDefaultValues in class MultipleAttributeprotected java.lang.Integer parseValue(java.lang.String value)
MultipleAttribute
parseValue in class MultipleAttributevalue - string value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||