Class 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 Detail

      • DefaultProfileStore

        public DefaultProfileStore()
    • Method Detail

      • getProfileSet

        public org.smooks.api.profile.ProfileSet getProfileSet​(String profileMember)
                                                        throws org.smooks.api.profile.UnknownProfileMemberException
        Specified by:
        getProfileSet in interface org.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:
        addProfileSet in interface org.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.