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