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

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

public class Capability
extends Object
implements ICapability


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

Constructor Detail

Capability

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

getNamespace

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

getPackageName

public String getPackageName()

getPackageVersion

public 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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.