|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fulcrum.intake.xmlmodel.AppData
public class AppData
A class for holding application data structures.
| Constructor Summary | |
|---|---|
AppData()
Default Constructor |
|
| Method Summary | |
|---|---|
XmlGroup |
addGroup(Attributes attrib)
An utility method to add a new input group from an xml attribute. |
void |
addGroup(XmlGroup input)
Add an input group to the vector and sets the AppData property to this AppData |
String |
getBasePackage()
Get the base package String that will be appended to any mapToObjects |
XmlGroup |
getGroup(String groupName)
Get a XmlGroup with the given name. |
String |
getGroupPrefix()
Get the prefix String that will be used to qualify intake groups when using multiple XML files |
List |
getGroups()
Return a collection of input sections (<group>). |
void |
loadFromXML(Attributes attrib)
Imports the top level element from an XML specification |
void |
setBasePackage(String v)
Set the base package String that will be appended to any mapToObjects |
void |
setGroupPrefix(String groupPrefix)
Set the prefix String that will be used to qualify intake groups when using multiple XML files |
String |
toString()
Creats a string representation of this AppData. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AppData()
| Method Detail |
|---|
public void loadFromXML(Attributes attrib)
public List getGroups()
public XmlGroup getGroup(String groupName)
throws IntakeException
groupName - a String value
XmlGroup value
IntakeException - indicates that the groupName was nullpublic XmlGroup addGroup(Attributes attrib)
public void addGroup(XmlGroup input)
public String getBasePackage()
public void setBasePackage(String v)
v - Value to assign to basePackage.public String getGroupPrefix()
public void setGroupPrefix(String groupPrefix)
groupPrefix - Value to assign to basePackage.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||