|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jxml.quick.model.qdml.QDMCloneable | +--com.jxml.quick.model.qdml.QDMCoin | +--com.jxml.quick.model.qdml.QDMAbstract
Models an abstract element in QDML. An abstract element has no tag attribute, since it doesn't define a particular XML element. (Similarly, an abstract Java class can't be instantiated.) Abstract coins provide a means of refering to the family of beans which implement them. Abstract coins also provide for inheritance of attributes, enums, and ranges by the coins which extend them.
DTD: <!ELEMENT abstract (rem*, extends?, implements*, attributes, (enum|range)*)> <!ATTLIST abstract label CDATA #REQUIRED generate CDATA "True" validInherited CDATA "True" ID id #IMPLIED >
Field Summary | |
QDMAttributes |
attributes
Models an attributes element, which is optional. |
QDMExtends |
extendor
Models an extends element, which is optional. |
QDMCoin |
extendsCoin
The QMAbstract, QMText, or QMBean object named by the extends element. |
ArrayList |
fieldList
A container for QMField objects, which model field elements. |
ArrayList |
implementsList
A container for QMImplements objects, which model implements elements. |
ArrayList |
propertyList
A container for QMProperty objects, which model property elements. |
boolean |
validInherited
Models the validInherited attribute on an abstract element. |
ArrayList |
validList
A container for QMEnum and QMRange objects, which model enum and range elements. |
ArrayList |
valids
A container for QMEnum and QMRange objects for this element, including enum and range elements defined on abstract and text coins which this abstract coin extends. |
Fields inherited from class com.jxml.quick.model.qdml.QDMCoin |
extensions, generate, implementations, label, remList |
Constructor Summary | |
QDMAbstract()
|
Method Summary | |
void |
buildMaps(Map coinMap,
Map contentMap)
Builds the maps. |
Object |
clone()
Returns a deep copy of this object, but in an uninitialized form. |
Map |
getAtts()
Returns a table of objects which model attribute item elements. |
String |
getTag()
Returns the element or attribute tag name.. |
ArrayList |
getValidList()
Returns a list of objects which model valid elements. |
void |
init(Map coinMap,
Map contentMap)
Resolve references, inheritance. |
Methods inherited from class com.jxml.quick.model.qdml.QDMCoin |
addDecendants, derivesFromOther, getConcreteDecendants, getLabel |
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 |
public boolean validInherited
public QDMExtends extendor
public ArrayList implementsList
public QDMAttributes attributes
public ArrayList fieldList
public ArrayList propertyList
public ArrayList validList
A container for QMEnum and QMRange objects, which model enum and range elements. The enum and range elements are optional and repeating. These valid elements are used to describe some of the acceptable text content of text coins which extend this abstract coin.
The enum and range elements may not be present when the targetClass is present in the same abstract element.
public transient QDMCoin extendsCoin
public transient ArrayList valids
Constructor Detail |
public QDMAbstract()
Method Detail |
public Object clone()
QDMCoin
clone
in class QDMCoin
public void buildMaps(Map coinMap, Map contentMap) throws SAXException
QDMCoin
buildMaps
in class QDMCoin
public void init(Map coinMap, Map contentMap) throws SAXException
QDMCoin
init
in class QDMCoin
public Map getAtts() throws SAXException
QDMElement
getAtts
in interface QDMElement
public String getTag()
getTag
in interface QDMElement
public ArrayList getValidList() throws SAXException
QDMData
getValidList
in interface QDMData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |