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

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

public static class RequireBundleHeader.Clause
extends Object
implements Clause


Field Summary
static String ATTRIBUTE_BUNDLEVERSION
           
static String DIRECTIVE_RESOLUTION
           
static String DIRECTIVE_VISIBILITY
           
 
Constructor Summary
RequireBundleHeader.Clause(org.osgi.resource.Requirement requirement)
           
RequireBundleHeader.Clause(String clause)
           
 
Method Summary
 Attribute getAttribute(String name)
           
 Collection<Attribute> getAttributes()
           
 Directive getDirective(String name)
           
 Collection<Directive> getDirectives()
           
 Parameter getParameter(String name)
           
 Collection<Parameter> getParameters()
           
 String getPath()
           
 String getSymbolicName()
           
 RequireBundleRequirement toRequirement(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

ATTRIBUTE_BUNDLEVERSION

public static final String ATTRIBUTE_BUNDLEVERSION
See Also:
Constant Field Values

DIRECTIVE_RESOLUTION

public static final String DIRECTIVE_RESOLUTION
See Also:
Constant Field Values

DIRECTIVE_VISIBILITY

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

RequireBundleHeader.Clause

public RequireBundleHeader.Clause(String clause)

RequireBundleHeader.Clause

public RequireBundleHeader.Clause(org.osgi.resource.Requirement requirement)
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

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

getSymbolicName

public String getSymbolicName()

toRequirement

public RequireBundleRequirement toRequirement(org.osgi.resource.Resource resource)

toString

public String toString()
Overrides:
toString in class Object


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