? ContentNamespace

java.lang.Object
org.osgi.resource.Namespace
org.osgi.service.repository.ContentNamespace

public final class ContentNamespace extends 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.

  • ??????

    • CONTENT_NAMESPACE

      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.

      ????:
    • CAPABILITY_URL_ATTRIBUTE

      public static final String CAPABILITY_URL_ATTRIBUTE
      The capability attribute that contains the URL to the content.
      ????:
    • CAPABILITY_SIZE_ATTRIBUTE

      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_MIME_ATTRIBUTE

      public static final String CAPABILITY_MIME_ATTRIBUTE
      The capability attribute that defines the IANA MIME Type/Format for this content.
      ????: