|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jxml.quick.model.qjml.QMCloneable | +--com.jxml.quick.model.qjml.QMCoin | +--com.jxml.quick.model.qjml.QMAbstract
Models an abstract element in QJML. 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*, targetClass?, attributes, field*, property*, (enum|range)*)> <!ATTLIST abstract label CDATA #REQUIRED generate CDATA "True" validInherited CDATA "True" ID id #IMPLIED >
Field Summary | |
QMAttributes |
attributes
Models an attributes element, which is optional. |
QMExtends |
extendor
Models an extends element, which is optional. |
QMCoin |
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. |
QMTargetClass |
targetClass
Models a targetClass element, which is optional. |
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.qjml.QMCoin |
accessors, extensions, generate, implementations, label, remList |
Constructor Summary | |
QMAbstract()
|
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. |
QMAccess |
getAccessor(Map coinMap,
String name)
Returns the object which models the named field or property element. |
Map |
getAtts()
Returns a table of objects which model attribute item elements. |
String |
getClassName()
Returns the fully qualified name of the class described by this coin. |
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.qjml.QMCoin |
getLabel |
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 |
public boolean validInherited
public QMExtends extendor
public ArrayList implementsList
public QMTargetClass targetClass
public QMAttributes 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 QMCoin extendsCoin
public transient ArrayList valids
Constructor Detail |
public QMAbstract()
Method Detail |
public Object clone()
QMCoin
clone
in class QMCoin
public void buildMaps(Map coinMap, Map contentMap) throws SAXException
QMCoin
buildMaps
in class QMCoin
public QMAccess getAccessor(Map coinMap, String name) throws SAXException
QMCoin
Returns the object which models the named field or property element. This can be a field or property found within the content of the coin element being modeled, or one found within the content of a coin which this coin extends.
The keys include both the field or property name and a prefix, as follows:
getAccessor
in class QMCoin
public void init(Map coinMap, Map contentMap) throws SAXException
QMCoin
init
in class QMCoin
public Map getAtts() throws SAXException
QMElement
getAtts
in interface QMElement
public ArrayList getValidList() throws SAXException
QMData
getValidList
in interface QMData
public String getClassName() throws SAXException
QMCoin
getClassName
in class QMCoin
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |