com.adactus.mpeg21.didl.model
Interface Annotation

All Known Implementing Classes:
AnnotationType

public interface Annotation

An annotation describes a set of information about another identified element of the model without altering or adding to that element.

For example, an annotation might be a comment on the poor performance of swedish skiers.

The information can take the form of assertions, descriptors, and anchors. However, the contents of an Annotation shall conform with the content model of the targeted element. For example, Anchors may be included only if the target references a Component.


Method Summary
 java.util.List<Anchor> getAnchors()
          Get the Anchors associated with this instance.
 java.util.List<Assertion> getAssertions()
          Get the Assertions associated with this instance.
 java.util.List<Descriptor> getDescriptors()
          Get the Descriptors associated with this instance.
 java.lang.String getIdentifier()
          Get the identifier of this element.
 java.lang.String getTarget()
          Get the annotation target identifier.
 

Method Detail

getAnchors

java.util.List<Anchor> getAnchors()
Get the Anchors associated with this instance.

Returns:
list of anchors

getAssertions

java.util.List<Assertion> getAssertions()
Get the Assertions associated with this instance.

Returns:
list of assertions

getDescriptors

java.util.List<Descriptor> getDescriptors()
Get the Descriptors associated with this instance.

Returns:
list of descriptors

getIdentifier

java.lang.String getIdentifier()
Get the identifier of this element. The identifier must be unique within a digital item.

Returns:
an string value

getTarget

java.lang.String getTarget()
Get the annotation target identifier. The target shall reference an element within the parent Item, or may reference the parent Item itself.

Returns:
the target identifier