Class BundleProfileProvider
- java.lang.Object
-
- org.modelversioning.emfprofile.registry.internal.BundleProfileProvider
-
- All Implemented Interfaces:
IProfileProvider
public class BundleProfileProvider extends Object implements IProfileProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.modelversioning.emfprofile.registry.IProfileProvider
IProfileProvider.ProfileLocationType
-
-
Constructor Summary
Constructors Constructor Description BundleProfileProvider(org.osgi.framework.Bundle bundle, Resource profileResource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.osgi.framework.Bundle
getBundle()
Profile
getProfile()
Returns the provided profile.IProfileProvider.ProfileLocationType
getProfileLocationType()
Returns the location type of the provided profile.String
getProfileName()
Returns the name of the profile.String
getProfileNsURI()
Returns the namespace URI of the profile.
-
-
-
Constructor Detail
-
BundleProfileProvider
public BundleProfileProvider(org.osgi.framework.Bundle bundle, Resource profileResource)
-
-
Method Detail
-
getBundle
public org.osgi.framework.Bundle getBundle()
-
getProfile
public Profile getProfile()
Description copied from interface:IProfileProvider
Returns the provided profile.- Specified by:
getProfile
in interfaceIProfileProvider
- Returns:
- the provided profile.
-
getProfileNsURI
public String getProfileNsURI()
Description copied from interface:IProfileProvider
Returns the namespace URI of the profile.- Specified by:
getProfileNsURI
in interfaceIProfileProvider
- Returns:
- the namespace URI.
-
getProfileName
public String getProfileName()
Description copied from interface:IProfileProvider
Returns the name of the profile.- Specified by:
getProfileName
in interfaceIProfileProvider
- Returns:
- the name.
-
getProfileLocationType
public IProfileProvider.ProfileLocationType getProfileLocationType()
Description copied from interface:IProfileProvider
Returns the location type of the provided profile.- Specified by:
getProfileLocationType
in interfaceIProfileProvider
- Returns:
- the location type.
-
-