Package org.smooks.api.profile
Interface ProfileStore
-
public interface ProfileStoreProfileStore interface. The ProfileStore stores and provides access to all the ProfileSet instances. A ProfileSet is the set of profiles associated with a given "profile member". A "profile member" can be a member of multiple profiles. This is what "profiling" is all about - dicing and slicing entity sets into different groups by assigning them to profiles.- Author:
- tfennelly
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddProfileSet(ProfileSet profileSet)Add a ProfileSet to the store.ProfileSetgetProfileSet(String baseProfile)Get the ProfileSet associated with the specified profile member.
-
-
-
Method Detail
-
addProfileSet
void addProfileSet(ProfileSet profileSet)
Add a ProfileSet to the store.- Parameters:
profileSet- The ProfileSet.
-
getProfileSet
ProfileSet getProfileSet(String baseProfile) throws UnknownProfileMemberException
Get the ProfileSet associated with the specified profile member. A profile "member" can be a member of multiple profiles. This method should return that list of profiles. Implementations must be case insensitive.- Parameters:
baseProfile- The base profile name.- Returns:
- The ProfileSet for the specified base profile.
- Throws:
UnknownProfileMemberException- There's noProfileSetfor the specified base profile.
-
-