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.BundlegetBundle()ProfilegetProfile()Returns the provided profile.IProfileProvider.ProfileLocationTypegetProfileLocationType()Returns the location type of the provided profile.StringgetProfileName()Returns the name of the profile.StringgetProfileNsURI()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:IProfileProviderReturns the provided profile.- Specified by:
getProfilein interfaceIProfileProvider- Returns:
- the provided profile.
-
getProfileNsURI
public String getProfileNsURI()
Description copied from interface:IProfileProviderReturns the namespace URI of the profile.- Specified by:
getProfileNsURIin interfaceIProfileProvider- Returns:
- the namespace URI.
-
getProfileName
public String getProfileName()
Description copied from interface:IProfileProviderReturns the name of the profile.- Specified by:
getProfileNamein interfaceIProfileProvider- Returns:
- the name.
-
getProfileLocationType
public IProfileProvider.ProfileLocationType getProfileLocationType()
Description copied from interface:IProfileProviderReturns the location type of the provided profile.- Specified by:
getProfileLocationTypein interfaceIProfileProvider- Returns:
- the location type.
-
-