com.jxml.quick.model.qdml
Class QDMElements

java.lang.Object
  |
  +--com.jxml.quick.model.qdml.QDMCloneable
        |
        +--com.jxml.quick.model.qdml.QDMElements
All Implemented Interfaces:
Cloneable

public class QDMElements
extends QDMCloneable

Models the elements element in QDML. The elements element is used to describe the elements contained by the element being defined by the bean element in which this elements element is contained.

DTD:

<!ELEMENT elements (item|selection|sequence)*>

<!ATTLIST elements
    ID id #IMPLIED
>


Field Summary
 ArrayList contentList
          A container for the QDMContentModel objects (QDMItem, QDMSequence, and QDMSelection) which model the contentModel elements (item, sequence, and selection) held by this elements element.
 
Constructor Summary
QDMElements()
           
 
Method Summary
 void buildMaps(Map coinMap, Map contentMap, QDMCoin coin)
          Builds the maps.
 Object clone()
          Returns a deep copy of this object, but in an uninitialized form.
 void init(Map coinMap, Map contentMap, QDMCoin coin)
          Resolve references, inheritance.
 boolean isContainedBy(String label, TreeMap coinMap)
           
 
Methods inherited from class com.jxml.quick.model.qdml.QDMCloneable
clone, clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contentList

public ArrayList contentList
A container for the QDMContentModel objects (QDMItem, QDMSequence, and QDMSelection) which model the contentModel elements (item, sequence, and selection) held by this elements element. The contentModel elements define the element content of the bean which contains this elements element.
Constructor Detail

QDMElements

public QDMElements()
Method Detail

clone

public Object clone()
Returns a deep copy of this object, but in an uninitialized form.
Overrides:
clone in class QDMCloneable

buildMaps

public void buildMaps(Map coinMap,
                      Map contentMap,
                      QDMCoin coin)
               throws SAXException
Builds the maps. This method is called during initialization of the data model.

init

public void init(Map coinMap,
                 Map contentMap,
                 QDMCoin coin)
          throws SAXException
Resolve references, inheritance. This method is called during initialization of the data model.

isContainedBy

public boolean isContainedBy(String label,
                             TreeMap coinMap)