agonism.dovetail.site.quick
Class QForm

java.lang.Object
  |
  +--agonism.dovetail.site.quick.QGBase
        |
        +--agonism.dovetail.site.quick.QForm
All Implemented Interfaces:
com.jxml.quick.QAware, QGBaseIntf

public class QForm
extends QGBase
implements QGBaseIntf, com.jxml.quick.QAware


Field Summary
protected  java.lang.String defaultTableName
           
protected  java.util.ArrayList formElements
          list of QFormElement
protected  java.lang.String name
           
protected  java.util.ArrayList submits
          list of QSubmit
 
Fields inherited from class agonism.dovetail.site.quick.QGBase
qParent
 
Constructor Summary
QForm()
           
QForm(QGBaseIntf qParent, java.lang.String name, java.util.ArrayList submits)
          minimum constructor
QForm(QGBaseIntf qParent, java.lang.String name, java.lang.String defaultTableName, java.util.ArrayList formElements, java.util.ArrayList submits)
          full constructor
 
Method Summary
 void endElement(java.lang.String tagName, com.jxml.quick.QContext outputContext)
          Method called at the end of a Quick transformation.
 java.util.ArrayList getAllXChildren()
          get a list of all the objects corresponding to XML children
 java.lang.String getDefaultTableName()
           
 java.util.ArrayList getFormElements()
          list of QFormElement
 java.lang.String getName()
           
 QFormElement getQFormElement(int i)
           
 QSubmit getQSubmit(int i)
           
 java.util.ArrayList getSubmits()
          list of QSubmit
 java.lang.String getXAttVal(java.lang.String attname)
           
 java.util.ArrayList getXChildren(java.lang.String childTagName)
           
 void print(java.io.PrintWriter pw, java.lang.String indent)
          print a summary of this object
 int qFormElementCount()
           
 int qSubmitCount()
           
 void setDefaultTableName(java.lang.String defaultTableName)
           
 void setName(java.lang.String name)
           
 void setQFormElement(int i, QFormElement qFormElement)
           
 void setQSubmit(int i, QSubmit qSubmit)
           
 
Methods inherited from class agonism.dovetail.site.quick.QGBase
getXParent, print, setXParent, setXParentLinks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface agonism.dovetail.site.quick.QGBaseIntf
getXParent, print, setXParent, setXParentLinks
 

Field Detail

name

protected java.lang.String name

defaultTableName

protected java.lang.String defaultTableName

formElements

protected java.util.ArrayList formElements
list of QFormElement

submits

protected java.util.ArrayList submits
list of QSubmit
Constructor Detail

QForm

public QForm()

QForm

public QForm(QGBaseIntf qParent,
             java.lang.String name,
             java.lang.String defaultTableName,
             java.util.ArrayList formElements,
             java.util.ArrayList submits)
full constructor

QForm

public QForm(QGBaseIntf qParent,
             java.lang.String name,
             java.util.ArrayList submits)
minimum constructor
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDefaultTableName

public java.lang.String getDefaultTableName()

setDefaultTableName

public void setDefaultTableName(java.lang.String defaultTableName)

getFormElements

public java.util.ArrayList getFormElements()
list of QFormElement

getQFormElement

public QFormElement getQFormElement(int i)

setQFormElement

public void setQFormElement(int i,
                            QFormElement qFormElement)

qFormElementCount

public int qFormElementCount()

getSubmits

public java.util.ArrayList getSubmits()
list of QSubmit

getQSubmit

public QSubmit getQSubmit(int i)

setQSubmit

public void setQSubmit(int i,
                       QSubmit qSubmit)

qSubmitCount

public int qSubmitCount()

endElement

public void endElement(java.lang.String tagName,
                       com.jxml.quick.QContext outputContext)
                throws com.jxml.quick.QPE
Description copied from interface: QGBaseIntf
Method called at the end of a Quick transformation. Can be used to check integrity.
Specified by:
endElement in interface QGBaseIntf
Overrides:
endElement in class QGBase

print

public void print(java.io.PrintWriter pw,
                  java.lang.String indent)
Description copied from interface: QGBaseIntf
print a summary of this object
Specified by:
print in interface QGBaseIntf
Overrides:
print in class QGBase

getXAttVal

public java.lang.String getXAttVal(java.lang.String attname)

getXChildren

public java.util.ArrayList getXChildren(java.lang.String childTagName)

getAllXChildren

public java.util.ArrayList getAllXChildren()
Description copied from interface: QGBaseIntf
get a list of all the objects corresponding to XML children
Specified by:
getAllXChildren in interface QGBaseIntf
Overrides:
getAllXChildren in class QGBase