Package org.apache.fulcrum.intake.model
Klasse AppData
java.lang.Object
org.apache.fulcrum.intake.model.AppData
- Alle implementierten Schnittstellen:
Serializable
A class for holding application data structures.
- Version:
- $Id$
- Autor:
- John McNally, Henning P. Schmiedehausen, Thomas Vandahl
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGet the base package String that will be appended to any mapToObjectsGet a XmlGroup with the given name.Get the prefix String that will be used to qualify intake groups when using multiple XML filesReturn a collection of input sections (<group>).void
Set the base package String that will be appended to any mapToObjectsvoid
setGroupPrefix
(String groupPrefix) Set the prefix String that will be used to qualify intake groups when using multiple XML filesvoid
Set the collection of groupstoString()
Creates a string representation of this AppData.
-
Konstruktordetails
-
AppData
public AppData()
-
-
Methodendetails
-
getGroups
Return a collection of input sections (<group>). The names of the groups returned here are only unique to this AppData object and not qualified with the groupPrefix. This method is used in the IntakeService to register all the groups with and without prefix in the service.- Gibt zurück:
- the list of groups
-
setGroups
Set the collection of groups- Parameter:
groups
- the groups to set
-
getGroup
Get a XmlGroup with the given name. It finds both qualified and unqualified names in this package.- Parameter:
groupName
- aString
value- Gibt zurück:
- a
Group
value - Löst aus:
IntakeException
- indicates that the groupName was null
-
getBasePackage
Get the base package String that will be appended to any mapToObjects- Gibt zurück:
- value of basePackage.
-
setBasePackage
Set the base package String that will be appended to any mapToObjects- Parameter:
v
- Value to assign to basePackage.
-
getGroupPrefix
Get the prefix String that will be used to qualify intake groups when using multiple XML files- Gibt zurück:
- value of groupPrefix
-
setGroupPrefix
Set the prefix String that will be used to qualify intake groups when using multiple XML files- Parameter:
groupPrefix
- Value to assign to basePackage.
-
toString
Creates a string representation of this AppData. The representation is given in xml format.
-