com.adactus.mpeg21.didl.entity
Class FragmentType
java.lang.Object
com.adactus.mpeg21.didl.entity.DIDLBaseType
com.adactus.mpeg21.didl.entity.DIDLChildType
com.adactus.mpeg21.didl.entity.FragmentType
- All Implemented Interfaces:
- Fragment, java.io.Serializable, javolution.lang.Reusable
public class FragmentType
- extends DIDLChildType
- implements Fragment, javolution.lang.Reusable
A Fragment element indicates a part of interest in a resource
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELEMENT_NAME
public static final java.lang.String ELEMENT_NAME
- See Also:
- Constant Field Values
FragmentType
public FragmentType()
getFragmentIdentifier
public java.lang.String getFragmentIdentifier()
- Description copied from interface:
Fragment
- Get the identifier of this element. The identifier must be unique within a digital item.
- Specified by:
getFragmentIdentifier
in interface Fragment
- Returns:
- an string value
getParent
public DIDLParentType getParent()
newInstance
public static FragmentType newInstance()
recycle
public static void recycle(FragmentType type)
reset
public void reset()
- Specified by:
reset
in interface javolution.lang.Reusable
setFragmentIdentifier
public void setFragmentIdentifier(java.lang.String fragmentId)
setParent
public void setParent(DIDLParentType parent)