|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.springsource.util.osgi.manifest.internal.BaseParameterised
com.springsource.util.osgi.manifest.internal.BaseCompoundHeaderEntry
com.springsource.util.osgi.manifest.internal.StandardDynamicallyImportedPackage
class StandardDynamicallyImportedPackage
Concurrent Semantics
Not thread-safe.
| Field Summary |
|---|
| Fields inherited from class com.springsource.util.osgi.manifest.internal.BaseParameterised |
|---|
name |
| Constructor Summary | |
|---|---|
StandardDynamicallyImportedPackage(HeaderParser parser,
java.lang.String name)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBundleSymbolicName()
Returns the value of the import's bundle-symbolic-name attribute. |
VersionRange |
getBundleVersion()
Returns the value of the import's bundle-version attribute. |
java.lang.String |
getPackageName()
Returns the (possibly wildcarded) name of the package in this entry. |
VersionRange |
getVersion()
Returns the version range of the import. |
(package private) HeaderDeclaration |
parse(HeaderParser parser,
java.lang.String parseString)
|
void |
setBundleSymbolicName(java.lang.String bundleSymbolicName)
Sets the value of the import's bundle-symbolic-name attribute. |
void |
setBundleVersion(VersionRange versionRange)
Sets the value of the import's bundle-version attribute. |
void |
setPackageName(java.lang.String packageName)
Sets the name of the package in this entry. |
void |
setVersion(VersionRange versionRange)
Sets the version range of the import. |
| Methods inherited from class com.springsource.util.osgi.manifest.internal.BaseParameterised |
|---|
equals, getAttributes, getDirectives, hashCode, resetFromParseString, toParseString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.springsource.util.osgi.manifest.Parameterised |
|---|
getAttributes, getDirectives |
| Methods inherited from interface com.springsource.util.osgi.manifest.Parseable |
|---|
resetFromParseString, toParseString |
| Constructor Detail |
|---|
StandardDynamicallyImportedPackage(HeaderParser parser,
java.lang.String name)
| Method Detail |
|---|
HeaderDeclaration parse(HeaderParser parser,
java.lang.String parseString)
parse in class BaseParameterisedpublic java.lang.String getPackageName()
getPackageName in interface DynamicallyImportedPackagepublic void setPackageName(java.lang.String packageName)
setPackageName in interface DynamicallyImportedPackagepackageName - the package's name.public java.lang.String getBundleSymbolicName()
bundle-symbolic-name attribute. If no such attribute is
specified null is returned.
getBundleSymbolicName in interface DynamicallyImportedPackagebundle-symbolic-name attribute.public VersionRange getBundleVersion()
bundle-version attribute. If no such attribute is specified
the default version range of [0, infinity) is returned.
getBundleVersion in interface DynamicallyImportedPackagebundle-version attribute.public VersionRange getVersion()
version attribute is specified
the default range of [0, infinity) is returned.
getVersion in interface DynamicallyImportedPackagepublic void setVersion(VersionRange versionRange)
setVersion in interface DynamicallyImportedPackageversionRange - the import's version range.public void setBundleSymbolicName(java.lang.String bundleSymbolicName)
bundle-symbolic-name attribute.
setBundleSymbolicName in interface DynamicallyImportedPackagebundleSymbolicName - the value of the bundle-symbolic-name attribute.public void setBundleVersion(VersionRange versionRange)
bundle-version attribute.
setBundleVersion in interface DynamicallyImportedPackageversionRange - the value of the bundle-version attribute.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||