org.apache.aries.subsystem.core.archive
Class ProvideCapabilityHeader.Clause

java.lang.Object
  extended by org.apache.aries.subsystem.core.archive.ProvideCapabilityHeader.Clause
All Implemented Interfaces:
Clause
Enclosing class:
ProvideCapabilityHeader

public static class ProvideCapabilityHeader.Clause
extends Object
implements Clause


Field Summary
static String DIRECTIVE_EFFECTIVE
           
static String DIRECTIVE_USES
           
 
Constructor Summary
ProvideCapabilityHeader.Clause(String clause)
           
 
Method Summary
 Attribute getAttribute(String name)
           
 Collection<Attribute> getAttributes()
           
 Directive getDirective(String name)
           
 Collection<Directive> getDirectives()
           
 String getNamespace()
           
 Parameter getParameter(String name)
           
 Collection<Parameter> getParameters()
           
 String getPath()
           
 ProvideCapabilityCapability toCapability(org.osgi.resource.Resource resource)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DIRECTIVE_EFFECTIVE

public static final String DIRECTIVE_EFFECTIVE
See Also:
Constant Field Values

DIRECTIVE_USES

public static final String DIRECTIVE_USES
See Also:
Constant Field Values
Constructor Detail

ProvideCapabilityHeader.Clause

public ProvideCapabilityHeader.Clause(String clause)
Method Detail

getAttribute

public Attribute getAttribute(String name)
Specified by:
getAttribute in interface Clause

getAttributes

public Collection<Attribute> getAttributes()
Specified by:
getAttributes in interface Clause

getDirective

public Directive getDirective(String name)
Specified by:
getDirective in interface Clause

getDirectives

public Collection<Directive> getDirectives()
Specified by:
getDirectives in interface Clause

getNamespace

public String getNamespace()

getParameter

public Parameter getParameter(String name)
Specified by:
getParameter in interface Clause

getParameters

public Collection<Parameter> getParameters()
Specified by:
getParameters in interface Clause

getPath

public String getPath()
Specified by:
getPath in interface Clause

toCapability

public ProvideCapabilityCapability toCapability(org.osgi.resource.Resource resource)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.