org.osgi.impl.bundle.obr.resource
public class RequirementImpl extends Object implements Requirement
Version: $Revision: 44 $
Constructor Summary | |
---|---|
RequirementImpl(String name)
Create a requirement with the given name.
| |
RequirementImpl(XmlPullParser parser)
Parse the requirement from the pull parser.
|
Method Summary | |
---|---|
boolean | equals(Object o) |
String | getComment() |
String | getFilter() |
String | getName() |
int | hashCode() |
boolean | isExtend() |
boolean | isMultiple() |
boolean | isOptional() |
boolean | isSatisfied(Capability capability) |
void | setComment(String comment) |
void | setExtend(boolean extend) |
void | setFilter(String filter) |
void | setMultiple(boolean b) |
void | setOptional(boolean b) |
String | toString() |
Tag | toXML(String name) |
static Tag | toXML(Requirement requirement) |
Parameters: name
Parameters: parser
Throws: Exception