|
WebObjects 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.webobjects.appserver.WOElement | +--com.webobjects.appserver.WOComponent | +--com.webobjects.smil.WOSMILElement | +--com.webobjects.smil.WOSMILSynchronizationElement | +--com.webobjects.smil.WOSMILMediaObject
WOSMILMediaObject creates content for the SMIL media object types. SMIL defined
media object elements are ref
, animation
, audio
, img
,
video
, text
, and texstream
.
Bind, as appropriate, one of these strings to the mediaObjectName
binding for each media
object of a SMIL document. WOSMILMediaObject also inherits the attribute bindings
of it's parent, WOSMILSynchronizationElement. See that class for more available bindings.
Binding | SMIL attribute |
---|---|
elementID | id |
mediaObjectName | the smil name of the media object |
mediaAbstract | abstract |
duration | dur |
altString | alt |
regionID | region |
type | type |
fill | fill |
author | author |
begin | begin |
clipBegin | clip-begin |
clipEnd | clip-end |
copyright | copyright |
end | end |
longDescription | longdesc |
title | title |
otherTagString | use this binding to add custom attributes |
WOSMILSynchronizationElement
, Serialized FormInner classes inherited from class com.webobjects.appserver.WOComponent |
WOComponent.Event |
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor |
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions |
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Inner classes inherited from class com.webobjects.foundation.NSValidation |
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NullValue |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
KeyPathSeparator |
Constructor Summary | |
WOSMILMediaObject(WOContext context)
Creates a WOSMILMediaObject. |
Method Summary | |
String |
altString()
Returns the value of the altString binding. |
void |
appendToResponse(WOResponse resp,
WOContext cont)
Forces the component to generate its interface and output it in the response's content. |
String |
author()
Returns the value of the author binding. |
String |
begin()
Returns the value of the begin binding. |
String |
clipBegin()
Returns the value of the clipBegin binding. |
String |
clipEnd()
Returns the value of the clipEnd binding. |
String |
copyright()
Returns the value of the copyright binding. |
NSData |
data()
Returns the NSData of the media this element represents. |
String |
duration()
Returns the value of the duration binding. |
String |
end()
Returns the value of the end binding. |
String |
filename()
Returns the filename of the resource this media object represents. |
String |
fill()
Returns the value of the fill binding. |
String |
framework()
Returns the framework name that file named filename is located in. |
String |
href()
Returns the href URL string to the media this media object represents. |
String |
longDescription()
Returns the value of the longDescription binding. |
String |
mediaAbstract()
Returns the value of the mediaAbstract binding. |
String |
mediaObjectName()
Returns the value of the mediaObjectName binding. |
String |
mimeType()
Returns the mimeType attribute string. |
String |
otherTagString()
Returns the value of the otherTagString property. |
String |
regionID()
Returns the value of the regionID binding. |
void |
setAltString(String altString)
Sets the value of the altString binding. |
void |
setAuthor(String author)
Sets the value of the author binding. |
void |
setBegin(String begin)
Sets the value of the begin binding. |
void |
setClipBegin(String begin)
Sets the value of the clipBegin binding. |
void |
setClipEnd(String end)
Sets the value of the clipEnd binding. |
void |
setCopyright(String copyright)
Sets the value of the copyright binding. |
void |
setData(NSData data)
Sets the NSData of the media this element represents. |
void |
setDuration(String duration)
Sets the value of the duration binding. |
void |
setEnd(String end)
Sets the value of the end binding. |
void |
setFilename(String filename)
Sets the filename of the resource this media object represents. |
void |
setFill(String fill)
Sets the value of the fill binding. |
void |
setFramework(String name)
Sets the framework name that file named filename is located in. |
void |
setHref(String href)
Sets the href URL string to the media this media object represents. |
void |
setLongDescription(String description)
Sets the value of the longDescription binding. |
void |
setMediaAbstract(String newAbstract)
Sets the value of the mediaAbstract binding |
void |
setMediaObjectName(String name)
Sets the value of the mediaObjectName binding. |
void |
setMimeType(String mimeType)
Sets the mimeType attribute string. |
void |
setRegionID(String regionID)
Sets the value of the regionID binding. |
void |
setSource(String source)
Sets the source URL string. |
void |
setTitle(String title)
Sets the value of the title binding. |
void |
setType(String type)
Sets the value of the type binding. |
String |
source()
Returns the URL string to the media object source. |
boolean |
synchronizesVariablesWithBindings()
Indicates if the push-pull of values in the parent component is enabled. |
String |
title()
Returns the value of the title binding. |
String |
type()
Returns the value of the type binding. |
Methods inherited from class com.webobjects.smil.WOSMILSynchronizationElement |
setSystemBitRate, setSystemCaptions, setSystemLanguage, setSystemOverdubOrCaption, setSystemRequired, setSystemScreenDepth, setSystemScreenSize, systemBitRate, systemCaptions, systemLanguage, systemOverdubOrCaption, systemRequired, systemScreenDepth, systemScreenSize, systemTests |
Methods inherited from class com.webobjects.smil.WOSMILElement |
elementID, setElementID, setOtherTagString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WOSMILMediaObject(WOContext context)
context
- context this component is created withMethod Detail |
public String altString()
altString
binding.altString
bindingpublic void appendToResponse(WOResponse resp, WOContext cont)
WOComponent
appendToResponse
method on the root WOElement
object of the component template, which in turn invokes appendToResponse
.
Subclasses of WOComponent can override this
method to replace or supplement the default behavior with custom logic.appendToResponse
in class WOComponent
resp
- WOResponse to add content to.cont
- WOContext of the request/response loop.public String author()
author
binding.author
bindingpublic String begin()
begin
binding.begin
bindingpublic String clipBegin()
clipBegin
binding.clipBegin
bindingpublic String clipEnd()
clipEnd
binding.clipEnd
bindingpublic String copyright()
copyright
binding.copyright
bindingpublic NSData data()
public String duration()
duration
binding.duration
bindingpublic String end()
end
binding.end
bindingpublic String filename()
public String fill()
fill
binding.fill
bindingpublic String framework()
public String href()
public String longDescription()
longDescription
binding.longDescription
bindingpublic String mediaAbstract()
mediaAbstract
binding.mediaAbstract
bindingpublic String mediaObjectName()
mediaObjectName
binding.mediaObjectName
bindingpublic String mimeType()
public String otherTagString()
WOSMILElement
otherTagString
property.otherTagString
in class WOSMILElement
com.webobjects.smil.WOSMILElement
otherTagString
propertypublic String regionID()
regionID
binding.regionID
bindingpublic void setAltString(String altString)
altString
binding.altString
- value for the altString
bindingpublic void setAuthor(String author)
author
binding.author
- value of the author
bindingpublic void setBegin(String begin)
begin
binding.begin
- value of the begin
bindingpublic void setClipBegin(String begin)
clipBegin
binding.begin
- value for the clipBegin
bindingpublic void setClipEnd(String end)
clipEnd
binding.clipEnd
- value of the clipEnd
bindingpublic void setCopyright(String copyright)
copyright
binding.copyright
- value of the copyright
bindingpublic void setData(NSData data)
data
- the NSData of the media this element representspublic void setDuration(String duration)
duration
binding.duration
- value for the duration
bindingpublic void setEnd(String end)
end
binding.end
- value for the end
bindingpublic void setFilename(String filename)
filename
- the new filename.public void setFill(String fill)
fill
binding.fill
- value for the fill
bindingpublic void setFramework(String name)
name
- the new framework name that file named filename is located in.public void setHref(String href)
href
- the new URL string to the media this media object represents.public void setLongDescription(String description)
longDescription
binding.description
- value for the longDescription
bindingpublic void setMediaAbstract(String newAbstract)
mediaAbstract
bindingnewAbstract
- value for the mediaAbstract
bindingpublic void setMediaObjectName(String name)
mediaObjectName
binding.name
- value for the mediaObjectName
binding.public void setMimeType(String mimeType)
mimeType
- the new mimeType attribute string.public void setRegionID(String regionID)
regionID
binding.regionID
- value for the regionID
bindingpublic void setSource(String source)
source
- the new source URL stringpublic void setTitle(String title)
title
binding.title
- value for the title
bindingpublic void setType(String type)
type
binding.type
- value for the type
bindingpublic String source()
public boolean synchronizesVariablesWithBindings()
WOComponent
false
for stateless components
(unless you override isStateless
and return true
),
and true
otherwise. Override this method to create a non-synchronizing component.synchronizesVariablesWithBindings
in class WOSMILElement
false
public String title()
title
binding.title
bindingpublic String type()
type
binding.type
binding
|
Last updated Fri Feb 21 13:15:00 PST 2003. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |