org.osgi.impl.bundle.obr.resource
public class ResourceImpl extends Object implements Resource
| Constructor Summary | |
|---|---|
| ResourceImpl(RepositoryImpl repository, String name, VersionRange version) | |
| ResourceImpl(RepositoryImpl repository, XmlPullParser parser) | |
| ResourceImpl(RepositoryImpl impl) | |
| Method Summary | |
|---|---|
| void | addCapability(CapabilityImpl capability) |
| void | addCategory(String category) |
| void | addRequirement(RequirementImpl requirement) |
| boolean | equals(Object o) |
| Capability[] | getCapabilities() |
| Collection | getCapabilityList() |
| String[] | getCategories() |
| String | getCopyright() |
| String | getDescription() |
| URL | getDocumentation() |
| Set | getExtendList() |
| String | getId() |
| URL | getLicense() |
| String | getPresentationName() |
| Map | getProperties() |
| Repository | getRepository() |
| Collection | getRequirementList() |
| Requirement[] | getRequirements() |
| long | getSize() |
| URL | getSource() |
| String | getSymbolicName() |
| URL | getURL() |
| Version | getVersion() |
| int | hashCode() |
| boolean | satisfies(RequirementImpl requirement) |
| void | setCopyright(String copyright) |
| void | setDescription(String description) |
| void | setDocumentation(URL documentation) |
| void | setFile(File zipFile) |
| void | setLicense(URL license) |
| void | setPresentationName(String name) |
| void | setSize(long size) |
| void | setSource(URL source) |
| void | setURL(URL url) |
| String | toString() |
| Tag | toXML() |
| static Tag | toXML(Resource resource) |
| static Tag | toXML(Resource resource, boolean relative) |