|
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.asx.Child christophedelory.playlist.asx.AsxElement christophedelory.playlist.asx.AsxOrEntryElement christophedelory.playlist.asx.Entry
public class Entry
Defines a media clip. This element is the fundamental construct in an ASX file. The ENTRY element and its associated attributes define meta-information for a single, logical piece of content, called a clip. Child elements within the scope of an ENTRY element define media content for the WMP control to open (REF), information about the clip that the WMP control will display as text (AUTHOR, COPYRIGHT, TITLE), and other settings related to the clip. The REF child element links the content to be streamed for the parent ENTRY element. Though the script will not break, the ENTRY is meaningless without a REF child.
Constructor Summary | |
---|---|
Entry()
|
Method Summary | |
---|---|
void |
addReference(Reference ref)
Adds a reference to this ASX. |
String |
getClientSkipString()
Returns a value indicating whether the user can skip forward past the clip. |
Duration |
getDuration()
Returns the length of time the WMP control will render a stream. |
Marker |
getEndMarker()
Returns the marker at which Windows Media Player ends rendering the stream. |
List<Reference> |
getReferences()
Returns the list of references defined for this ASX. |
String |
getSkipIfRefString()
Returns the value indicating whether the Windows Media Player control should skip this clip when the ENTRY element is included in a second ASX file through the use of an ENTRYREF element. |
Marker |
getStartMarker()
Returns the marker at which Windows Media Player starts rendering the stream. |
Duration |
getStartTime()
Returns the start time of this ENTRY. |
boolean |
isClientSkip()
Indicates whether the user can skip forward past the clip. |
boolean |
isSkipIfRef()
Indicates whether the Windows Media Player control should skip this clip when the ENTRY element is included in a second ASX file through the use of an ENTRYREF element. |
void |
setClientSkip(boolean clientSkip)
Indicates whether the user can skip forward past the clip. |
void |
setClientSkipString(String clientSkip)
Initializes the value indicating whether the user can skip forward past the clip. |
void |
setDuration(Duration duration)
Initializes the length of time the WMP control will render a stream. |
void |
setEndMarker(Marker endMarker)
Initializes the marker at which Windows Media Player ends rendering the stream. |
void |
setSkipIfRef(boolean skipIfRef)
Indicates whether the Windows Media Player control should skip this clip when the ENTRY element is included in a second ASX file through the use of an ENTRYREF element. |
void |
setSkipIfRefString(String skipIfRef)
Initializes the value indicating whether the Windows Media Player control should skip this clip when the ENTRY element is included in a second ASX file through the use of an ENTRYREF element. |
void |
setStartMarker(Marker startMarker)
Initializes the marker at which Windows Media Player starts rendering the stream. |
void |
setStartTime(Duration startTime)
Initializes the start time of this ENTRY. |
Methods inherited from class christophedelory.playlist.asx.AsxOrEntryElement |
---|
addLogURL, addParam, findParamValue, getAbstract, getAuthor, getBanner, getBase, getCopyright, getLogURLs, getMoreInfo, getParams, getPreviewDuration, getTitle, setAbstract, setAuthor, setBanner, setBase, setCopyright, setMoreInfo, setPreviewDuration, setTitle |
Methods inherited from class christophedelory.playlist.asx.Child |
---|
getParent, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Entry()
Method Detail |
---|
public String getClientSkipString()
null
.setClientSkipString(java.lang.String)
,
isClientSkip()
public void setClientSkipString(String clientSkip)
clientSkip
- the value. May be null
.getClientSkipString()
,
setClientSkip(boolean)
public boolean isClientSkip()
setClientSkip(boolean)
,
getClientSkipString()
public void setClientSkip(boolean clientSkip)
clientSkip
- the associated boolean.isClientSkip()
,
setClientSkipString(java.lang.String)
public String getSkipIfRefString()
null
.setSkipIfRefString(java.lang.String)
,
isSkipIfRef()
public void setSkipIfRefString(String skipIfRef)
skipIfRef
- a value. May be null
.getSkipIfRefString()
,
setSkipIfRef(boolean)
public boolean isSkipIfRef()
setSkipIfRef(boolean)
,
getSkipIfRefString()
public void setSkipIfRef(boolean skipIfRef)
skipIfRef
- the associated boolean.isSkipIfRef()
,
setSkipIfRefString(java.lang.String)
public Duration getDuration()
null
.setDuration(christophedelory.playlist.asx.Duration)
public void setDuration(Duration duration)
duration
- a duration. May be null
.getDuration()
public Duration getStartTime()
null
.setStartTime(christophedelory.playlist.asx.Duration)
public void setStartTime(Duration startTime)
startTime
- a start time. May be null
.getStartTime()
public Marker getStartMarker()
null
.setStartMarker(christophedelory.playlist.asx.Marker)
public void setStartMarker(Marker startMarker)
startMarker
- a start marker. May be null
.getStartMarker()
public Marker getEndMarker()
null
.setEndMarker(christophedelory.playlist.asx.Marker)
public void setEndMarker(Marker endMarker)
endMarker
- an end marker. May be null
.getEndMarker()
public void addReference(Reference ref)
ref
- an ASX reference. Shall not be null
.
NullPointerException
- if ref
is null
.getReferences()
public List<Reference> getReferences()
null
.addReference(christophedelory.playlist.asx.Reference)
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |