|
|||||||||
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.StandardExportedPackage
public class StandardExportedPackage
Concurrent Semantics
Not thread-safe.
Field Summary |
---|
Fields inherited from class com.springsource.util.osgi.manifest.internal.BaseParameterised |
---|
name |
Constructor Summary | |
---|---|
StandardExportedPackage(HeaderParser parser,
java.lang.String name)
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getExclude()
Returns a list of the class names specified in the export's exclude directive. |
java.util.List<java.lang.String> |
getInclude()
Returns a list of the class names specified in the export's include directive. |
java.util.List<java.lang.String> |
getMandatory()
Returns a list of the attribute names specified in the export's mandatory directive. |
java.lang.String |
getPackageName()
Returns the name of the exported package, never null . |
java.util.List<java.lang.String> |
getUses()
Returns a List of the package names specified in the export's uses directive. |
org.osgi.framework.Version |
getVersion()
Returns the version of the exported package. |
(package private) HeaderDeclaration |
parse(HeaderParser parser,
java.lang.String parseString)
|
void |
setPackageName(java.lang.String packageName)
Sets the name of the exported package. |
void |
setVersion(org.osgi.framework.Version version)
Sets the version of the exported package |
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 |
---|
StandardExportedPackage(HeaderParser parser, java.lang.String name)
Method Detail |
---|
HeaderDeclaration parse(HeaderParser parser, java.lang.String parseString)
parse
in class BaseParameterised
public java.util.List<java.lang.String> getExclude()
exclude
directive. Returns an empty list
if the export has no exclude
directive.
getExclude
in interface ExportedPackage
public java.util.List<java.lang.String> getInclude()
include
directive. Returns an empty list
if the export has no include
directive.
getInclude
in interface ExportedPackage
public java.util.List<java.lang.String> getMandatory()
mandatory
directive.
getMandatory
in interface ExportedPackage
public java.lang.String getPackageName()
null
.
getPackageName
in interface ExportedPackage
public java.util.List<java.lang.String> getUses()
List
of the package names specified in the export's uses
directive. Returns
an empty list if the export has no uses directive.
getUses
in interface ExportedPackage
public org.osgi.framework.Version getVersion()
getVersion
in interface ExportedPackage
public void setVersion(org.osgi.framework.Version version)
setVersion
in interface ExportedPackage
version
- The exported package's versionpublic void setPackageName(java.lang.String packageName)
setPackageName
in interface ExportedPackage
packageName
- the package name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |