public class Animation extends Media
COMMON_CLASS, COMMON_ID, COMMON_TITLE, COMMON_XML_LANG, CONTCTRL_AUDIO_DESC, CONTCTRL_BITRATE, CONTCTRL_CAPTIONS, CONTCTRL_COMPONENT, CONTCTRL_CPU, CONTCTRL_LANGUAGE, CONTCTRL_OPERATING_SYSTEM, CONTCTRL_OVERDUB_OR_SUBTITLE, CONTCTRL_REQUIRED, CONTCTRL_SCREEN_DEPTH, CONTCTRL_SCREEN_SIZE, LINKING_ACCESSKEY, LINKING_ACTUATE, LINKING_ALT, LINKING_DEST_LEVEL, LINKING_DEST_PLAYSTATE, LINKING_EXTERNAL, LINKING_HREF, LINKING_SHOW, LINKING_SRC_LEVEL, LINKING_SRC_PLAYSTATE, LINKING_TABINDEX, LINKING_TARGET, MEDIA_SRC, MEDIA_TYPE, TIMING_BEGIN, TIMING_DUR, TIMING_END, TIMING_ENDSYNC, TIMING_FILL, TIMING_MAX, TIMING_MIN, TIMING_REPEAT_COUNT, TIMING_REPEAT_DUR
Constructor and Description |
---|
Animation(byte[] content,
java.lang.String name)
Create a new Anmation element.
|
Animation(byte[] content,
java.lang.String name,
java.lang.String mimeType)
Create a new Anmation element.
|
Animation(java.io.InputStream src,
java.lang.String name,
java.lang.String mimeType)
Construct a new Animation.
|
addAttribute, getCharset, getContent, getContentID, getContentLocation, getContentType, getMimeType, setCharset, setContentID, toString
getElements, toXML
public Animation(byte[] content, java.lang.String name)
content
- the animation dataname
- the animation name (e.g. 'hello.swf')public Animation(byte[] content, java.lang.String name, java.lang.String mimeType)
content
- the animation dataname
- the animation name (e.g. 'hello.swf')mimeType
- the MIME type of the animation (e.g. 'application/x-shockwave-flash')public Animation(java.io.InputStream src, java.lang.String name, java.lang.String mimeType) throws java.io.IOException
src
- a input stream providing the animation dataname
- the name of the animation (e.g. 'hello.swf')mimeType
- the MIME type of the animation (e.g. 'application/x-shockwave-flash')java.io.IOException
- if an I/O error occursobject XP, Inc. © 2000-2013. All rights reserved object XP