public class CapabilityImpl extends Object implements Capability
HOST_NAMESPACE, MODULE_NAMESPACE, PACKAGE_ATTR, PACKAGE_NAMESPACE, VERSION_ATTR
Constructor and Description |
---|
CapabilityImpl(Module module,
String namespace,
List<Directive> dirs,
List<Attribute> attrs) |
Modifier and Type | Method and Description |
---|---|
Attribute |
getAttribute(String name) |
List<Attribute> |
getAttributes() |
Directive |
getDirective(String name) |
List<Directive> |
getDirectives() |
Module |
getModule() |
String |
getNamespace() |
List<String> |
getUses() |
boolean |
isIncluded(String name) |
String |
toString() |
public Module getModule()
getModule
in interface Capability
public String getNamespace()
getNamespace
in interface Capability
public Directive getDirective(String name)
getDirective
in interface Capability
public List<Directive> getDirectives()
getDirectives
in interface Capability
public Attribute getAttribute(String name)
getAttribute
in interface Capability
public List<Attribute> getAttributes()
getAttributes
in interface Capability
public List<String> getUses()
getUses
in interface Capability
public boolean isIncluded(String name)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.