|
|||||||||
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 BaseParameterised
public java.lang.String getPackageName()
getPackageName
in interface DynamicallyImportedPackage
public void setPackageName(java.lang.String packageName)
setPackageName
in interface DynamicallyImportedPackage
packageName
- 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 DynamicallyImportedPackage
bundle-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 DynamicallyImportedPackage
bundle-version
attribute.public VersionRange getVersion()
version
attribute is specified
the default range of [0, infinity) is returned.
getVersion
in interface DynamicallyImportedPackage
public void setVersion(VersionRange versionRange)
setVersion
in interface DynamicallyImportedPackage
versionRange
- the import's version range.public void setBundleSymbolicName(java.lang.String bundleSymbolicName)
bundle-symbolic-name
attribute.
setBundleSymbolicName
in interface DynamicallyImportedPackage
bundleSymbolicName
- the value of the bundle-symbolic-name
attribute.public void setBundleVersion(VersionRange versionRange)
bundle-version
attribute.
setBundleVersion
in interface DynamicallyImportedPackage
versionRange
- the value of the bundle-version
attribute.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |