Package org.smooks.engine.profile
Class DefaultProfileStore
- java.lang.Object
-
- org.smooks.engine.profile.DefaultProfileStore
-
- All Implemented Interfaces:
org.smooks.api.profile.ProfileStore
public class DefaultProfileStore extends Object implements org.smooks.api.profile.ProfileStore
Default ProfileStore implementation.- Author:
- tfennelly
-
-
Constructor Summary
Constructors Constructor Description DefaultProfileStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProfileSet(org.smooks.api.profile.ProfileSet profileSet)Add a ProfileSet for the named profile member.voidexpandProfiles()Expand out the profile sets in this profile store.org.smooks.api.profile.ProfileSetgetProfileSet(String profileMember)StringtoString()
-
-
-
Method Detail
-
getProfileSet
public org.smooks.api.profile.ProfileSet getProfileSet(String profileMember) throws org.smooks.api.profile.UnknownProfileMemberException
- Specified by:
getProfileSetin interfaceorg.smooks.api.profile.ProfileStore- Throws:
org.smooks.api.profile.UnknownProfileMemberException
-
addProfileSet
public void addProfileSet(org.smooks.api.profile.ProfileSet profileSet)
Add a ProfileSet for the named profile member.- Specified by:
addProfileSetin interfaceorg.smooks.api.profile.ProfileStore- Parameters:
profileSet- The ProfileSet.
-
expandProfiles
public void expandProfiles()
Expand out the profile sets in this profile store. Expanding means taking sub-profiles that are in themselves the base profile of another profile set, and inserting the sub-profiles into the profile set.
-
-