|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.services.intake.xmlmodel.AppData
A class for holding application data structures.
Constructor Summary | |
AppData()
Default Constructor |
Method Summary | |
XmlGroup |
addGroup(org.xml.sax.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 |
java.lang.String |
getBasePackage()
Get the base package String that will be appended to any mapToObjects |
XmlGroup |
getGroup(java.lang.String groupName)
Get a XmlGroup with the given name. |
java.lang.String |
getGroupPrefix()
Get the prefix String that will be used to qualify intake groups when using multiple XML files |
java.util.List |
getGroups()
Return a collection of input sections (<group>). |
void |
loadFromXML(org.xml.sax.Attributes attrib)
Imports the top level element from an XML specification |
void |
setBasePackage(java.lang.String v)
Set the base package String that will be appended to any mapToObjects |
void |
setGroupPrefix(java.lang.String groupPrefix)
Set the prefix String that will be used to qualify intake groups when using multiple XML files |
java.lang.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(org.xml.sax.Attributes attrib)
public java.util.List getGroups()
public XmlGroup getGroup(java.lang.String groupName) throws IntakeException
groupName
- a String
value
XmlGroup
value
IntakeException
- indicates that the groupName was nullpublic XmlGroup addGroup(org.xml.sax.Attributes attrib)
public void addGroup(XmlGroup input)
public java.lang.String getBasePackage()
public void setBasePackage(java.lang.String v)
v
- Value to assign to basePackage.public java.lang.String getGroupPrefix()
public void setGroupPrefix(java.lang.String groupPrefix)
groupPrefix
- Value to assign to basePackage.public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |