com.jxml.quick.model.qjml
Class QMEnum
java.lang.Object
|
+--com.jxml.quick.model.qjml.QMCloneable
|
+--com.jxml.quick.model.qjml.QMEnum
- All Implemented Interfaces:
- Cloneable, QMValid
- public class QMEnum
- extends QMCloneable
- implements QMValid
Models the enum element in QJML.
The enum element specifies a single valid value.
DTD:
<!ELEMENT enum (rem*)>
<!ATTLIST enum
value CDATA #REQUIRED
ID id #IMPLIED
>
Field Summary |
ArrayList |
remList
A container for QMRem objects, which model rem elements. |
String |
value
Models the value attribute on the enum element. |
Method Summary |
Object |
clone()
Returns a deep copy of this object. |
value
public String value
- Models the value attribute on the enum element.
This attribute provides a valid value for the content of a text element.
remList
public ArrayList remList
- A container for QMRem objects, which model rem elements.
The rem elements are optional and repeating.
QMEnum
public QMEnum()
clone
public Object clone()
- Returns a deep copy of this object.
- Overrides:
clone
in class QMCloneable