[Felix Framework]

org.apache.felix.framework.util.manifestparser
Class Capability

Object
  extended by org.apache.felix.framework.util.manifestparser.Capability
All Implemented Interfaces:
Comparable, ICapability

public class Capability
extends Object
implements ICapability, Comparable


Field Summary
 
Fields inherited from interface org.apache.felix.moduleloader.ICapability
HOST_NAMESPACE, MODULE_NAMESPACE, PACKAGE_NAMESPACE, PACKAGE_PROPERTY, VERSION_PROPERTY
 
Constructor Summary
Capability(IModule module, String namespace, R4Directive[] dirs, R4Attribute[] attrs)
           
 
Method Summary
 int compareTo(Object o)
           
 R4Attribute[] getAttributes()
           
 R4Directive[] getDirectives()
           
 IModule getModule()
           
 String getNamespace()
           
 String getPackageName()
           
 org.osgi.framework.Version getPackageVersion()
           
 Map getProperties()
           
 String[] getUses()
           
 boolean isIncluded(String name)
           
 String toString()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Capability

public Capability(IModule module,
                  String namespace,
                  R4Directive[] dirs,
                  R4Attribute[] attrs)
Method Detail

getModule

public IModule getModule()
Specified by:
getModule in interface ICapability

getNamespace

public String getNamespace()
Specified by:
getNamespace in interface ICapability

getPackageName

public String getPackageName()

getPackageVersion

public org.osgi.framework.Version getPackageVersion()

getDirectives

public R4Directive[] getDirectives()

getAttributes

public R4Attribute[] getAttributes()

getUses

public String[] getUses()

isIncluded

public boolean isIncluded(String name)

getProperties

public Map getProperties()
Specified by:
getProperties in interface ICapability

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

toString

public String toString()
Overrides:
toString in class Object

[Felix Framework]