com.jxml.quick.model.qjml
Class QMTargetFactory
java.lang.Object
|
+--com.jxml.quick.model.qjml.QMCloneable
|
+--com.jxml.quick.model.qjml.QMTargetFactory
- All Implemented Interfaces:
- Cloneable, QBiModal, QMTarget
- public class QMTargetFactory
- extends QMCloneable
- implements QMTarget, QBiModal
Models the targetFactory element in QJML.
The targetFactory element provides the name of a Java class which implements
the interface com.jxml.quick.tf.QTargetFactory.
DTD:
<!ELEMENT targetFactory (#PCDATA)>
<!ATTLIST targetFactory
target CDATA "java.lang.Object"
ID id #IMPLIED
>
Field Summary |
String |
target
Models the target attribute on the targetFactory element. |
String |
text
The text content of the element. |
Method Summary |
String |
getClassName()
Returns the fully qualified name of the class being described by the coin
holding this target element. |
String |
getQText()
Returns the text content of the element. |
void |
setQText(String text)
Sets the text content of the element. |
text
public String text
- The text content of the element.
target
public String target
- Models the target attribute on the targetFactory element.
This is an optional attribute which names the class of
objects which the target factory class instantiates.
QMTargetFactory
public QMTargetFactory()
getQText
public String getQText()
- Returns the text content of the element.
- Specified by:
getQText
in interface QBiModal
setQText
public void setQText(String text)
- Sets the text content of the element.
- Specified by:
setQText
in interface QBiModal
getClassName
public String getClassName()
throws SAXException
- Description copied from interface:
QMTarget
- Returns the fully qualified name of the class being described by the coin
holding this target element.
- Specified by:
getClassName
in interface QMTarget