Top Description Fields Constructors
org.osgi.service.repository

public final Class ContentNamespace

extends Namespace
Class Inheritance
Imports
org.osgi.resource.Namespace

Content Capability and Requirement Namespace.

This class defines the names for the attributes and directives for this namespace. All unspecified capability attributes are of type String and are used as arbitrary matching attributes for the capability. The values associated with the specified directive and attribute keys are of type String, unless otherwise indicated.

Author
$Id: 03146106763f93b04f95b7ade65e22b9ef3ff234 $

Field Summary

Modifier and TypeField and Description
public static final String
CAPABILITY_MIME_ATTRIBUTE

The capability attribute that defines the IANA MIME Type/Format for this content.

public static final String
CAPABILITY_SIZE_ATTRIBUTE

The capability attribute that contains the size, in bytes, of the content.

public static final String
CAPABILITY_URL_ATTRIBUTE

The capability attribute that contains the URL to the content.

public static final String
CONTENT_NAMESPACE

Namespace name for content capabilities and requirements.

Inherited from org.osgi.resource.Namespace:
CAPABILITY_EFFECTIVE_DIRECTIVECAPABILITY_USES_DIRECTIVECARDINALITY_MULTIPLECARDINALITY_SINGLEEFFECTIVE_ACTIVEEFFECTIVE_RESOLVEREQUIREMENT_CARDINALITY_DIRECTIVEREQUIREMENT_EFFECTIVE_DIRECTIVEREQUIREMENT_FILTER_DIRECTIVEREQUIREMENT_RESOLUTION_DIRECTIVERESOLUTION_MANDATORYRESOLUTION_OPTIONAL

Constructor Summary

AccessConstructor and Description
private

Field Detail

CAPABILITY_MIME_ATTRIBUTEback to summary
public static final String CAPABILITY_MIME_ATTRIBUTE

The capability attribute that defines the IANA MIME Type/Format for this content.

CAPABILITY_SIZE_ATTRIBUTEback to summary
public static final String CAPABILITY_SIZE_ATTRIBUTE

The capability attribute that contains the size, in bytes, of the content. The value of this attribute must be of type Long.

CAPABILITY_URL_ATTRIBUTEback to summary
public static final String CAPABILITY_URL_ATTRIBUTE

The capability attribute that contains the URL to the content.

CONTENT_NAMESPACEback to summary
public static final String CONTENT_NAMESPACE

Namespace name for content capabilities and requirements.

Also, the capability attribute used to specify the unique identifier of the content. This identifier is the SHA-256 hash of the content.

Constructor Detail

ContentNamespaceback to summary
private ContentNamespace()