|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tv.amwa.maj.entity.InterchangeObject tv.amwa.maj.entity.EssenceDescriptor tv.amwa.maj.entity.AAFFileDescriptor tv.amwa.maj.entity.DigitalImageDescriptor tv.amwa.maj.entity.RGBADescriptor
@AAFClass(uuid1=218169601, uuid2=257, uuid3=10496, uuid4={6,14,43,52,2,6,1,1}, definedName="RGBADescriptor", description="The RGBADescriptor class specifies that a File SourceMob is associated with video essence formatted with three color component or with three color components and an alpha component as specified in this document.") public class RGBADescriptor
Implements the description of a file of video essence formatted with three color components or with three color components and an alpha component.
THE COMMENTS FOR THIS CLASS ARE INCOMPLETE.
Nested Class Summary | |
---|---|
static class |
RGBADescriptor.PaletteLayoutXMLHandler
|
static class |
RGBADescriptor.PixelLayoutXMLHandler
|
static class |
RGBADescriptor.RGBAComponentXMLHandler
|
static class |
RGBADescriptor.XMLHandler
|
Nested classes/interfaces inherited from class tv.amwa.maj.entity.DigitalImageDescriptor |
---|
DigitalImageDescriptor.DigitalImageDescriptorXMLHandler, DigitalImageDescriptor.VideoLineMapXMLHandler |
Nested classes/interfaces inherited from class tv.amwa.maj.entity.AAFFileDescriptor |
---|
AAFFileDescriptor.FileDescriptorXMLHandler |
Nested classes/interfaces inherited from class tv.amwa.maj.entity.EssenceDescriptor |
---|
EssenceDescriptor.EssenceDescriptorXMLHandler, EssenceDescriptor.LocatorXMLHandler, EssenceDescriptor.SubDescriptorXMLHandler |
Nested classes/interfaces inherited from class tv.amwa.maj.entity.InterchangeObject |
---|
InterchangeObject.InterchangeObjectXMLHandler |
Field Summary | |
---|---|
static String |
RGBADESCRIPTOR_TAG
|
Fields inherited from class tv.amwa.maj.entity.DigitalImageDescriptor |
---|
DIGITALIMAGEDESCRIPTOR_ITEM |
Fields inherited from class tv.amwa.maj.entity.AAFFileDescriptor |
---|
FILEDESCRIPTOR_ITEM |
Fields inherited from class tv.amwa.maj.entity.EssenceDescriptor |
---|
ESSENCEDESCRIPTOR_ITEM |
Fields inherited from interface tv.amwa.maj.iface.RGBADescriptor |
---|
ALPHAMAXREF_DEFAULT, ALPHAMINREF_DEFAULT, COMPONENTMAXREF_DEFAULT, COMPONENTMINREF_DEFAULT, SCANNINGDIRECTION_DEFAULT |
Fields inherited from interface tv.amwa.maj.iface.DigitalImageDescriptor |
---|
ALPHATRANSPARENCY_DEFAULT, DISPLAYF2OFFSET_DEFAULT, FIELDENDOFFSET_DEFAULT, FIELDSTARTOFFSET_DEFAULT, IMAGEALIGNMENTFACTOR_DEFAULT, STOREDF2OFFSET_DEFAULT, Uncompressed |
Constructor Summary | |
---|---|
RGBADescriptor(ContainerDefinition containerFormat,
int storedHeight,
int storedWidth,
LayoutType frameLayout,
int[] videoLineMap,
Rational imageAspectRatio,
RGBAComponent[] pixelLayout)
Creates and initalizes a new RGBA descriptor without a palette. |
|
RGBADescriptor(ContainerDefinition containerFormat,
int storedHeight,
int storedWidth,
LayoutType frameLayout,
int[] videoLineMap,
Rational imageAspectRatio,
RGBAComponent[] pixelLayout,
byte[] palette,
RGBAComponent[] paletteLayout)
Creates and initalizes a new RGBA descriptor that includes a palette. |
Method Summary | |
---|---|
void |
appendXMLChildren(Node parent)
Append child elements to the given parent node to serialize the value of an object to an XML fragment. |
RGBADescriptor |
clone()
Creates a cloned copy of this entity. |
int |
countPaletteLayoutElements()
Returns the number of components per pixel in the palette of this RGBA descriptor. |
int |
countPixelLayoutElements()
Returns the number of components per pixel in data represented by this RGBA descriptor. |
boolean |
equals(Object o)
Tests to see if the given object is equal to this interchange object. |
int |
getAlphaMaxRef()
Returns the maximum alpha value of this RGBA descriptor, for example 239 or 959 (8 or 10 bits). |
int |
getAlphaMinRef()
Returns the minimum alpha value of the RGBA descriptor, for example 16 or 64 (8 or 10 bits). |
int |
getComponentMaxRef()
Returns the maximum value for RGB components of this RGBA descriptor, for example 239 or 959 (8 or 10 bits). |
int |
getComponentMinRef()
Returns the minimum value for RGB components of the RGBA descriptor, for example 16 or 64 (8 or 10 bits). |
byte[] |
getPalette()
Returns the palette property of the RGBA descriptor, which is an array of color values that are used to specify an image. |
RGBAComponent[] |
getPaletteLayout()
Returns the layout and structure of the components of a single entry for the palette of the RGBA descriptor. |
int |
getPaletteSize()
|
RGBAComponent[] |
getPixelLayout()
Returns the layout and structure of the components in a single pixel of data represented by the RGBA descriptor. |
ScanningDirectionType |
getScanningDirection()
Returns the scanning direction of this RGBA descriptor, which specifies the scanning direction of the image. |
int |
hashCode()
Returns a hash code value for this interchange object. |
void |
setAlphaMaxRef(Integer alphaMaxRef)
Sets the maximum alpha value of the RGBA descriptor, for example 239 or 959 (8 or 10 bits). |
void |
setAlphaMinRef(Integer alphaMinRef)
Sets the minimum alpha value of this RGBA descriptor, for example 16 or 64 (8 or 10 bits). |
void |
setComponentMaxRef(Integer componentMaxRef)
Sets the maximum value for RGB components of this RGBA descriptor, for example 239 or 959 (8 or 10 bits). |
void |
setComponentMinRef(Integer componentMinRef)
Sets the minimum value for RGB components of the RGBA descriptor, for example 16 or 64 (8 or 10 bits). |
void |
setPalette(byte[] palette)
Sets the palette property of the RGBA descriptor, which is an array of color values that are used to specify an image. |
void |
setPaletteLayout(RGBAComponent[] paletteLayoutArray)
Sets the layout and structure of the components of a single entry for the palette of the RGBA descriptor. |
void |
setPixelLayout(RGBAComponent[] pixelLayoutArray)
Sets the layout and structure of the components in a single pixel of data represented by the RGBA descriptor. |
void |
setPropertiesFromInterface(RGBADescriptor castFrom)
|
void |
setScanningDirection(ScanningDirectionType scanningDirection)
Sets the scanning direction of this RGBA descriptor, which specifies the scanning direction of the image. |
Methods inherited from class tv.amwa.maj.entity.AAFFileDescriptor |
---|
describesStaticEssence, getCodecDefinition, getContainerFormat, getLength, getLinkedSlotID, getSampleRate, setCodecDefinition, setContainerFormat, setDescribesStaticEssence, setDescribesTimeVaryingEssence, setLength, setLinkedSlotID, setPropertiesFromInterface, setSampleRate |
Methods inherited from class tv.amwa.maj.entity.EssenceDescriptor |
---|
appendLocator, appendSubDescriptor, countLocators, countSubDescriptors, getLocatorAt, getLocators, getSubDescriptorAt, getSubDescriptors, insertLocatorAt, insertSubDescriptorAt, prependLocator, prependSubDescriptor, removeLocatorAt, removeSubDescriptorAt, setPropertiesFromInterface |
Methods inherited from class tv.amwa.maj.entity.InterchangeObject |
---|
castFromInterface, countProperties, createOptionalPropertyValue, disableGenerationTracking, enableGenerationTracking, getDefinition, getGeneration, getGenerationAUID, getProperties, getPropertyValue, isGenerationTracked, isPropertyPresent, omitOpionalProperty, registerImplementation, setPropertiesFromInterface, setPropertyValue, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface tv.amwa.maj.iface.AAFFileDescriptor |
---|
getCodecDefinition, getContainerFormat, getLength, getLinkedSlotID, getSampleRate, setCodecDefinition, setContainerFormat, setLength, setLinkedSlotID, setSampleRate |
Methods inherited from interface tv.amwa.maj.iface.EssenceDescriptor |
---|
appendLocator, appendSubDescriptor, countLocators, countSubDescriptors, getLocatorAt, getLocators, getSubDescriptorAt, getSubDescriptors, insertLocatorAt, insertSubDescriptorAt, prependLocator, prependSubDescriptor, removeLocatorAt, removeSubDescriptorAt |
Methods inherited from interface tv.amwa.maj.iface.InterchangeObject |
---|
countProperties, createOptionalPropertyValue, disableGenerationTracking, enableGenerationTracking, getDefinition, getGeneration, getGenerationAUID, getProperties, getPropertyValue, isGenerationTracked, isPropertyPresent, omitOpionalProperty, setPropertyValue |
Methods inherited from interface tv.amwa.maj.entity.MAJCommon |
---|
toString |
Field Detail |
---|
public static final String RGBADESCRIPTOR_TAG
Constructor Detail |
---|
public RGBADescriptor(ContainerDefinition containerFormat, @UInt32 int storedHeight, @UInt32 int storedWidth, LayoutType frameLayout, @VideoLineMap int[] videoLineMap, Rational imageAspectRatio, RGBAComponent[] pixelLayout) throws NullPointerException, IllegalArgumentException
Creates and initalizes a new RGBA descriptor without a palette. An RGBA descriptor
specifies that a file source mob
is associated with video essence formatted
with three color components or with three color components and an alpha component.
containerFormat
- Container mechanism used to store the essence.storedHeight
- Number of pixels in vertical dimension of stored view.storedWidth
- Number of pixels in horizontal dimension of stored view.frameLayout
- Describes whether all data for a complete sample is in one
frame or is split into more than one field.videoLineMap
- The scan line in the analog source that corresponds to the
beginning of each digitized field. For single-field video, there is 1 value in
the array; for interlaced video, there are 2 values in the array.imageAspectRatio
- Describes the ratio between the horizontal size and the vertical
size in the intended final image.pixelLayout
- Order and size of the components within the pixel.
NullPointerException
- One or more of the arguments is null
.
IllegalArgumentException
- The given values are outside acceptable bounds or
the pixel layout requires a palette and a palette is not provided. In this case, use
RGBADescriptor(..., byte[], RGBAComponent[])
instead.public RGBADescriptor(ContainerDefinition containerFormat, @UInt32 int storedHeight, @UInt32 int storedWidth, LayoutType frameLayout, @VideoLineMap int[] videoLineMap, Rational imageAspectRatio, RGBAComponent[] pixelLayout, @DataValue byte[] palette, RGBAComponent[] paletteLayout) throws NullPointerException, IllegalArgumentException
Creates and initalizes a new RGBA descriptor that includes a palette. An RGBA descriptor
specifies that a file source mob
is associated with video essence formatted
with three color components or with three color components and an alpha component.
Note that this method can be used to create a descriptor for image data
that does not have a palette, although this will result in the storage of
redundant data within the descriptor. If not palette is required, use
RGBADescriptor(tv.amwa.maj.iface.ContainerDefinition, int, int, LayoutType, int[], tv.amwa.maj.record.Rational, tv.amwa.maj.record.RGBAComponent[])
instead.
containerFormat
- Container mechanism used to store the essence.storedHeight
- Number of pixels in vertical dimension of stored view.storedWidth
- Number of pixels in horizontal dimension of stored view.frameLayout
- Describes whether all data for a complete sample is in one
frame or is split into more than one field.videoLineMap
- The scan line in the analog source that corresponds to the
beginning of each digitized field. For single-field video, there is 1 value in
the array; for interlaced video, there are 2 values in the array.imageAspectRatio
- Describes the ratio between the horizontal size and the vertical
size in the intended final image.pixelLayout
- Order and size of the components within the pixel.palette
- Palette to include with this digital image descriptor.paletteLayout
- Layout of the values within the palette.
NullPointerException
- One or more of the arguments is null
.
IllegalArgumentException
- The given values are outside acceptable bounds or
the pixel layout requires a palette and an adequate palette is not provided.Method Detail |
---|
public final void setPropertiesFromInterface(RGBADescriptor castFrom)
InterchangeObject.setPropertiesFromInterface(tv.amwa.maj.iface.InterchangeObject)
@AAFProperty(uuid1=67175683, uuid2=3328, uuid3=0, uuid4={6,14,43,52,1,1,1,5}, definedName="AlphaMaxRef", typeName="UInt32", optional=true, uniqueIdentifier=false, pid=13320) public int getAlphaMaxRef()
RGBADescriptor
Returns the maximum alpha value of this RGBA descriptor, for example 239 or 959 (8 or 10 bits).
If this optional property is not present, the default value of 255 is returned.
getAlphaMaxRef
in interface RGBADescriptor
RGBADescriptor.ALPHAMAXREF_DEFAULT
,
RGBADescriptor.getAlphaMinRef()
,
DigitalImageDescriptor.getAlphaTransparency()
,
RGBAComponentKind.Alpha
public void setAlphaMaxRef(Integer alphaMaxRef) throws IllegalArgumentException
RGBADescriptor
Sets the maximum alpha value of the RGBA descriptor, for example 239 or 959 (8 or 10 bits).
The default value for this optional property is 255.
To omit this optional property, call this method with null
.
setAlphaMaxRef
in interface RGBADescriptor
alphaMaxRef
- Maximum alpha value of this RGBA descriptor.
IllegalArgumentException
- The given maximum alpha reference level is negative.RGBADescriptor.ALPHAMAXREF_DEFAULT
,
RGBADescriptor.setAlphaMinRef(Integer)
,
DigitalImageDescriptor.getAlphaTransparency()
,
RGBAComponentKind.Alpha
@AAFProperty(uuid1=67175683, uuid2=3584, uuid3=0, uuid4={6,14,43,52,1,1,1,5}, definedName="AlphaMinRef", typeName="UInt32", optional=true, uniqueIdentifier=false, pid=13321) public int getAlphaMinRef()
RGBADescriptor
Returns the minimum alpha value of the RGBA descriptor, for example 16 or 64 (8 or 10 bits).
If this optional property is not present, the default value of 0 is returned.
getAlphaMinRef
in interface RGBADescriptor
RGBADescriptor.ALPHAMINREF_DEFAULT
,
RGBADescriptor.getAlphaMaxRef()
,
DigitalImageDescriptor.getAlphaTransparency()
,
RGBAComponentKind.Alpha
public void setAlphaMinRef(Integer alphaMinRef) throws IllegalArgumentException
RGBADescriptor
Sets the minimum alpha value of this RGBA descriptor, for example 16 or 64 (8 or 10 bits).
The default value for this property is 0. To omit
this optional property, call this method with null
.
setAlphaMinRef
in interface RGBADescriptor
alphaMinRef
- Minimum alpha value of this RGBA descriptor.
IllegalArgumentException
RGBADescriptor.ALPHAMINREF_DEFAULT
,
RGBADescriptor.setAlphaMaxRef(Integer)
,
DigitalImageDescriptor.getAlphaTransparency()
,
RGBAComponentKind.Alpha
@AAFProperty(uuid1=67175683, uuid2=2816, uuid3=0, uuid4={6,14,43,52,1,1,1,5}, definedName="ComponentMaxRef", typeName="UInt32", optional=true, uniqueIdentifier=false, pid=13318) public int getComponentMaxRef()
RGBADescriptor
Returns the maximum value for RGB components of this RGBA descriptor, for example 239 or 959 (8 or 10 bits).
If this optional property is not present, its default value of 255 is returned.
getComponentMaxRef
in interface RGBADescriptor
RGBADescriptor.COMPONENTMAXREF_DEFAULT
,
RGBADescriptor.getComponentMinRef()
,
RGBAComponentKind.Red
,
RGBAComponentKind.Green
,
RGBAComponentKind.Blue
public void setComponentMaxRef(Integer componentMaxRef) throws IllegalArgumentException
RGBADescriptor
Sets the maximum value for RGB components of this RGBA descriptor, for example 239 or 959 (8 or 10 bits).
The default value for this optional property is 255. To
omit this optional property, call this method with null
.
setComponentMaxRef
in interface RGBADescriptor
componentMaxRef
- Maximum value for RGB components of this RGBA descriptor.
IllegalArgumentException
- The given component maximum reference level is negative.RGBADescriptor.COMPONENTMAXREF_DEFAULT
,
RGBADescriptor.setComponentMinRef(Integer)
,
RGBAComponentKind.Red
,
RGBAComponentKind.Green
,
RGBAComponentKind.Blue
@AAFProperty(uuid1=67175683, uuid2=3072, uuid3=0, uuid4={6,14,43,52,1,1,1,5}, definedName="ComponentMinRef", typeName="UInt32", optional=true, uniqueIdentifier=false, pid=13319) public int getComponentMinRef()
RGBADescriptor
Returns the minimum value for RGB components of the RGBA descriptor, for example 16 or 64 (8 or 10 bits).
If this optional property is not present, its default value of 0 is returned.
getComponentMinRef
in interface RGBADescriptor
RGBADescriptor.COMPONENTMINREF_DEFAULT
,
RGBADescriptor.getComponentMaxRef()
,
RGBAComponentKind.Red
,
RGBAComponentKind.Green
,
RGBAComponentKind.Blue
public void setComponentMinRef(Integer componentMinRef) throws IllegalArgumentException
RGBADescriptor
Sets the minimum value for RGB components of the RGBA descriptor, for example 16 or 64 (8 or 10 bits).
The default value for this optional property is 0.
To omit this optional property, call this method with null
.
setComponentMinRef
in interface RGBADescriptor
componentMinRef
- Minimum value for RGB components of the RGBA
descriptor.
IllegalArgumentException
- The given component minimum reference level is negative.RGBADescriptor.COMPONENTMINREF_DEFAULT
,
RGBADescriptor.setComponentMaxRef(Integer)
,
RGBAComponentKind.Red
,
RGBAComponentKind.Green
,
RGBAComponentKind.Blue
@AAFProperty(uuid1=67175683, uuid2=2048, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="Palette", typeName="DataValue", optional=true, uniqueIdentifier=false, pid=13315) public byte[] getPalette() throws PropertyNotPresentException
RGBADescriptor
Returns the palette property of the RGBA descriptor, which is an array of color values that are used to specify an image. The palette is in the form specified by the palette layout. This property is optional.
getPalette
in interface RGBADescriptor
PropertyNotPresentException
- The optional palette property is not present
in this RGBA descriptor.RGBADescriptor.getPixelLayout()
,
RGBADescriptor.getPaletteLayout()
,
RGBAComponentKind.Palette
public void setPalette(byte[] palette) throws IllegalArgumentException
RGBADescriptor
Sets the palette property of the RGBA descriptor, which is an array of color values that are used to specify an image. The palette must be in the form specified by the palette layout.
To omit this optional property, set this value to null
.
If the layout of this RGBA descriptor requires a palette, an
IllegalArgumentException
will be thrown if an attempt is made to
omit the palette property.
setPalette
in interface RGBADescriptor
palette
- Palette of the RGBA descriptor.
IllegalArgumentException
- Cannot omit the palette for an RGBA descriptor that
requires a palette.RGBADescriptor.getPixelLayout()
,
RGBADescriptor.getPaletteLayout()
,
RGBAComponentKind.Palette
public int countPaletteLayoutElements()
RGBADescriptor
Returns the number of components per pixel in the palette of this RGBA descriptor.
countPaletteLayoutElements
in interface RGBADescriptor
RGBADescriptor.getPaletteLayout()
public int getPaletteSize()
@AAFProperty(uuid1=67175683, uuid2=2304, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="PaletteLayout", typeName="RGBALayout", optional=true, uniqueIdentifier=false, pid=13316) public RGBAComponent[] getPaletteLayout() throws PropertyNotPresentException
RGBADescriptor
Returns the layout and structure of the components of a single entry for the palette of the RGBA descriptor. The layout array contains RGBAComponent items. Each item defines a size in bits for a component and the kind of component (red, green etc.).
getPaletteLayout
in interface RGBADescriptor
PropertyNotPresentException
- The optional palette layout property is not
present for this RGBA descriptor.RGBADescriptor.getPalette()
,
RGBAComponent
,
RGBAComponentKind.Palette
public void setPaletteLayout(RGBAComponent[] paletteLayoutArray) throws IllegalArgumentException
RGBADescriptor
Sets the layout and structure of the components of a single entry for the palette of the RGBA descriptor. The layout array contains RGBAComponent items. Each item defines a size in bits for a component and the kind of component (red, green etc.).
If you set less than 8 entries, the remaining entries will be padded with
RGBAComponentKind.None
and a size of zero.
To omit this optional property, call this method with null
. If
the RGBA descriptor requires a palette and an attempt is made to omit the property,
an IllegalArgumentException
will be thrown.
setPaletteLayout
in interface RGBADescriptor
paletteLayoutArray
- Array of RGBA components, indicating the order and size
of components in the palette of the RGBA descriptor.
IllegalArgumentException
- Cannot omit the palette layout for an RGBA descriptor that
requires a palette, or the given layout refers to a palette.RGBADescriptor.getPalette()
,
RGBAComponent
,
RGBAComponentKind.Palette
@AAFProperty(uuid1=67175683, uuid2=1536, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="PixelLayout", typeName="RGBALayout", optional=false, uniqueIdentifier=false, pid=13313) public RGBAComponent[] getPixelLayout()
RGBADescriptor
Returns the layout and structure of the components in a single pixel of data represented by the RGBA descriptor. The layout array contains RGBAComponent items. Each item defines a size in bits for a component and the kind of component (red, green etc.).
getPixelLayout
in interface RGBADescriptor
public void setPixelLayout(RGBAComponent[] pixelLayoutArray) throws NullPointerException, IllegalArgumentException
RGBADescriptor
Sets the layout and structure of the components in a single pixel of data represented by the RGBA descriptor. The layout array contains RGBAComponent items. Each item defines a size in bits for a component and the kind of component (red, green etc.).
If you set less than 8 entries, the remaining entries will be padded with
RGBAComponentKind.None
and a size of zero.
setPixelLayout
in interface RGBADescriptor
pixelLayoutArray
- Array of RGBA components, indicating the order and size
of components in the data represented by the RGBA descriptor.
NullPointerException
- The given array of RGBA components is null
or
one or more of the elements of the array are null
.
IllegalArgumentException
RGBAComponent
,
RGBAComponentKind
public int countPixelLayoutElements()
RGBADescriptor
Returns the number of components per pixel in data represented by this RGBA descriptor.
countPixelLayoutElements
in interface RGBADescriptor
@AAFProperty(uuid1=67175428, uuid2=256, uuid3=0, uuid4={6,14,43,52,1,1,1,5}, definedName="ScanningDirection", typeName="ScanningDirectionType", optional=true, uniqueIdentifier=false, pid=13317) public ScanningDirectionType getScanningDirection()
RGBADescriptor
Returns the scanning direction of this RGBA descriptor, which specifies the scanning direction of the image. The value exactly matches the equivalent property in SMPTE 268M.
This property is optional and has a default value of
ScanningDirectionType.LeftToRightTopToBottom
. If the
optional property is not present, the default value is returned.
getScanningDirection
in interface RGBADescriptor
RGBADescriptor.SCANNINGDIRECTION_DEFAULT
,
ScanningDirectionType
public void setScanningDirection(ScanningDirectionType scanningDirection)
RGBADescriptor
Sets the scanning direction of this RGBA descriptor, which specifies the scanning direction of the image. The value exactly matches the equivalent property in SMPTE 268M.
This property is optional and has a default value of
ScanningDirectionType.LeftToRightTopToBottom
. To omit
this optional property, call this method with null
.
setScanningDirection
in interface RGBADescriptor
scanningDirection
- Scanning direction of this RGBA descriptor.RGBADescriptor.SCANNINGDIRECTION_DEFAULT
,
ScanningDirectionType
public boolean equals(Object o)
MAJCommon
Tests to see if the given object is equal to this interchange object. To be equal, the given value must be not null, share the same interface to its value and each of the properties of the value must each be equal.
equals
in interface MAJCommon
equals
in class DigitalImageDescriptor
o
- Object to test for equality with.
Object.equals(Object)
public int hashCode()
MAJCommon
Returns a hash code value for this interchange object.
hashCode
in interface MAJCommon
hashCode
in class DigitalImageDescriptor
Object.hashCode()
public RGBADescriptor clone()
MAJCommon
Creates a cloned copy of this entity. The clone will be initialized to have the same value as this value but exists independently from then on. Changes to this value will not effect the clone and changes to the clone will not effect this. MAJ API clones are true deep clones with no shared references to areas of memory within the original.
This method does not throw a CloneNotSupportedException
as all
entity values must implement the Cloneable
interface. If a cloning
error does occur, a null
value will be returned but this is very unlikely
to happen.
clone
in interface MAJCommon
clone
in class EssenceDescriptor
Object.clone()
public void appendXMLChildren(Node parent)
XMLSerializable
Append child elements to the given parent node to serialize the value of an object
to an XML fragment. Methods of the XMLBuilder
class are provided to help with this
process.
appendXMLChildren
in interface XMLSerializable
appendXMLChildren
in class DigitalImageDescriptor
parent
- XML parent element to append child nodes to.
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |