|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.services.intake.xmlmodel.XmlGroup
A Class for holding data about a grouping of inputs used in an Application.
Constructor Summary | |
XmlGroup()
Constructs a input group object |
Method Summary | |
XmlField |
addField(org.xml.sax.Attributes attrib)
A utility function to create a new field from attrib and add it to this input group. |
void |
addField(XmlField field)
Adds a new field to the fields list and set the parent group of the field to the current group |
boolean |
containsField(java.lang.String name)
Returns true if the input group contains a specified field |
boolean |
containsField(XmlField field)
Returns true if the input group contains a spesified field |
AppData |
getAppData()
Get the parent of the input group |
XmlField |
getField(java.lang.String name)
Returns a Specified field. |
java.util.List |
getFields()
Returns a collection of fields in this input group |
java.lang.String |
getKey()
Get the key used to reference this group in input (form) |
java.util.List |
getMapToObjects()
|
java.lang.String |
getName()
Get the name that handles this group |
int |
getNumFields()
Utility method to get the number of fields in this input group |
java.lang.String |
getPoolCapacity()
The maximum number of classes specific to this group allowed at one time. |
java.lang.String |
getVariable()
A String which might be used as a variable of this class |
void |
loadFromXML(org.xml.sax.Attributes attrib)
Load the input group object from an xml tag. |
void |
setAppData(AppData parent)
Set the parent of the group |
void |
setKey(java.lang.String newKey)
Set the key used to reference this group in input (form) |
void |
setName(java.lang.String newGroupName)
Set the name that handles this group |
java.lang.String |
toString()
Creates a string representation of this input group. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public XmlGroup()
Method Detail |
public void loadFromXML(org.xml.sax.Attributes attrib)
public java.lang.String getName()
public void setName(java.lang.String newGroupName)
public java.lang.String getKey()
public void setKey(java.lang.String newKey)
public java.lang.String getPoolCapacity()
String
valuepublic XmlField addField(org.xml.sax.Attributes attrib)
public void addField(XmlField field)
public java.util.List getFields()
public int getNumFields()
public XmlField getField(java.lang.String name)
public boolean containsField(XmlField field)
public boolean containsField(java.lang.String name)
public java.util.List getMapToObjects()
public void setAppData(AppData parent)
public AppData getAppData()
public java.lang.String getVariable()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |