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.
 
Constructor Summary
QMEnum()
           
 
Method Summary
 Object clone()
          Returns a deep copy of this object.
 
Methods inherited from class com.jxml.quick.model.qjml.QMCloneable
clone, clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.
Constructor Detail

QMEnum

public QMEnum()
Method Detail

clone

public Object clone()
Returns a deep copy of this object.
Overrides:
clone in class QMCloneable