|
|||||||||
| 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.BaseImported
com.springsource.util.osgi.manifest.internal.StandardImportedPackage
public class StandardImportedPackage
Concurrent Semantics
Not thread-safe.
| Field Summary |
|---|
| Fields inherited from class com.springsource.util.osgi.manifest.internal.BaseParameterised |
|---|
name |
| Constructor Summary | |
|---|---|
StandardImportedPackage(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 name of the package that is imported, never null. |
(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 imported package. |
| Methods inherited from class com.springsource.util.osgi.manifest.internal.BaseImported |
|---|
getResolution, getVersion, setResolution, setVersion |
| 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.Imported |
|---|
getResolution, getVersion, setResolution, setVersion |
| 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 |
|---|
StandardImportedPackage(HeaderParser parser,
java.lang.String name)
| Method Detail |
|---|
HeaderDeclaration parse(HeaderParser parser,
java.lang.String parseString)
parse in class BaseParameterisedpublic java.lang.String getBundleSymbolicName()
bundle-symbolic-name attribute. If no such attribute is
specified null is returned.
getBundleSymbolicName in interface ImportedPackagebundle-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 ImportedPackagebundle-version attribute.public java.lang.String getPackageName()
null.
getPackageName in interface ImportedPackagepublic void setBundleSymbolicName(java.lang.String bundleSymbolicName)
bundle-symbolic-name attribute.
setBundleSymbolicName in interface ImportedPackagebundleSymbolicName - the value of the bundle-symbolic-name attribute.public void setBundleVersion(VersionRange versionRange)
bundle-version attribute.
setBundleVersion in interface ImportedPackageversionRange - the value of the bundle-version attribute.public void setPackageName(java.lang.String packageName)
setPackageName in interface ImportedPackagepackageName - the imported package's name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||