|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.playlist.smil.Core christophedelory.playlist.smil.AbstractSmilElement christophedelory.playlist.smil.Reference
public class Reference
Represents a generic media reference which allows to define the media objects elements.
Constructor Summary | |
---|---|
Reference()
|
Method Summary | |
---|---|
void |
acceptDown(SmilVisitor visitor)
Accepts the specified SMIL playlist visitor. |
void |
addParam(Param param)
Adds a general parameter to this SMIL media object. |
String |
getFill()
Returns the fill parameter as a string. |
String |
getParamGroupString()
Returns the parameter group associated to this reference. |
List<Param> |
getParams()
Returns the list of general parameters which are associated to a media object of a SMIL presentation. |
String |
getSoundAlign()
Returns the coarse 2D placement of the audio portion of a media element assigned to play within a given region. |
String |
getSource()
Returns the URI (source) of the media element used for locating and fetching the associated media, as a string. |
String |
getType()
Returns the content type of the media object referenced by the src attribute. |
void |
setFill(String fill)
Initializes the fill parameter as a string. |
void |
setParamGroupString(String paramGroup)
Initializes the parameter group associated to this reference. |
void |
setSoundAlign(String soundAlign)
Initializes the coarse 2D placement of the audio portion of a media element assigned to play within a given region. |
void |
setSource(String source)
Initializes the URI (source) of the media element from the specified string. |
void |
setType(String type)
Initializes the content type of the media object. |
Methods inherited from class christophedelory.playlist.smil.AbstractSmilElement |
---|
getBeginString, getDuration, getDurationString, getEnd, getMax, getMin, getParent, getRegionString, getRepeatCount, getRepeatCountString, getRepeatDuration, setBeginString, setDuration, setDurationString, setEnd, setMax, setMin, setParent, setRegionString, setRepeatCount, setRepeatCountString, setRepeatDuration |
Methods inherited from class christophedelory.playlist.smil.Core |
---|
getClassName, getId, getLang, getTitle, setClassName, setId, setLang, setTitle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Reference()
Method Detail |
---|
public String getSource()
null
.setSource(java.lang.String)
public void setSource(String source)
source
- an URI. May be null
.getSource()
public String getType()
null
.setType(java.lang.String)
public void setType(String type)
type
- the media object content type. May be null
.getType()
public void addParam(Param param)
param
- a media object parameter. Shall not be null
.
NullPointerException
- if param
is null
.getParams()
public List<Param> getParams()
null
.addParam(christophedelory.playlist.smil.Param)
public String getFill()
null
.setFill(java.lang.String)
public void setFill(String fill)
fill
- the fill parameter. May be null
.getFill()
public String getParamGroupString()
null
.setParamGroupString(java.lang.String)
public void setParamGroupString(String paramGroup)
paramGroup
- the parameter group. May be null
.getParamGroupString()
public String getSoundAlign()
null
.setSoundAlign(java.lang.String)
,
Region.getSoundAlign()
public void setSoundAlign(String soundAlign)
soundAlign
- the sound alignment. May be null
.getSoundAlign()
,
Region.setSoundAlign(java.lang.String)
public void acceptDown(SmilVisitor visitor)
AbstractSmilElement
acceptDown
in class AbstractSmilElement
visitor
- a SMIL playlist visitor. Shall not be null
.
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |