com.adactus.mpeg21.didl.entity
Class DeclarationsType

java.lang.Object
  extended by com.adactus.mpeg21.didl.entity.DIDLBaseType
      extended by com.adactus.mpeg21.didl.entity.DIDLChildType
          extended by com.adactus.mpeg21.didl.entity.DIDLParentType
              extended by com.adactus.mpeg21.didl.entity.DeclarationsType
All Implemented Interfaces:
Declarations, java.io.Serializable, javolution.lang.Reusable

public class DeclarationsType
extends DIDLParentType
implements Declarations, javolution.lang.Reusable

See Also:
Serialized Form

Field Summary
static java.lang.String ELEMENT_NAME
           
 
Constructor Summary
DeclarationsType()
           
 
Method Summary
 boolean add(AnchorType o)
           
 boolean add(AnnotationType o)
           
 boolean add(ComponentType o)
           
 boolean add(DescriptorType o)
           
 boolean add(ItemType o)
           
 java.util.List<Anchor> getAnchors()
          Get the Anchors associated with this instance.
 java.util.List<Annotation> getAnnotations()
          Get the Annotations associated with this instance.
 java.util.List<Component> getComponents()
          Get the Components associated with this instance.
 java.util.List<Descriptor> getDescriptors()
          Get the Descriptors associated with this instance.
 java.util.List<Item> getItems()
          Get the Items associated with this instance.
 DIDLParentType getParent()
           
static DeclarationsType newInstance()
           
static void recycle(DeclarationsType type)
           
 boolean remove(AnchorType o)
           
 boolean remove(AnnotationType o)
           
 boolean remove(ComponentType o)
           
 boolean remove(DescriptorType o)
           
 boolean remove(ItemType o)
           
 void reset()
           
 void setParent(DIDLParentType parent)
           
 
Methods inherited from class com.adactus.mpeg21.didl.entity.DIDLParentType
getChildren, setChildren
 
Methods inherited from class com.adactus.mpeg21.didl.entity.DIDLChildType
getId, setId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEMENT_NAME

public static final java.lang.String ELEMENT_NAME
See Also:
Constant Field Values
Constructor Detail

DeclarationsType

public DeclarationsType()
Method Detail

add

public boolean add(AnchorType o)

add

public boolean add(AnnotationType o)

add

public boolean add(ComponentType o)

add

public boolean add(DescriptorType o)

add

public boolean add(ItemType o)

getAnchors

public java.util.List<Anchor> getAnchors()
Description copied from interface: Declarations
Get the Anchors associated with this instance.

Specified by:
getAnchors in interface Declarations
Returns:
list of anchors

getAnnotations

public java.util.List<Annotation> getAnnotations()
Description copied from interface: Declarations
Get the Annotations associated with this instance.

Specified by:
getAnnotations in interface Declarations
Returns:
list of annotations

getComponents

public java.util.List<Component> getComponents()
Description copied from interface: Declarations
Get the Components associated with this instance.

Specified by:
getComponents in interface Declarations
Returns:
list of components

getDescriptors

public java.util.List<Descriptor> getDescriptors()
Description copied from interface: Declarations
Get the Descriptors associated with this instance.

Specified by:
getDescriptors in interface Declarations
Returns:
list of descriptors

getItems

public java.util.List<Item> getItems()
Description copied from interface: Declarations
Get the Items associated with this instance.

Specified by:
getItems in interface Declarations
Returns:
list of items

getParent

public DIDLParentType getParent()

newInstance

public static DeclarationsType newInstance()

recycle

public static void recycle(DeclarationsType type)

remove

public boolean remove(AnchorType o)

remove

public boolean remove(AnnotationType o)

remove

public boolean remove(ComponentType o)

remove

public boolean remove(DescriptorType o)

remove

public boolean remove(ItemType o)

reset

public void reset()
Specified by:
reset in interface javolution.lang.Reusable

setParent

public void setParent(DIDLParentType parent)