|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.nist.javax.sdp.TimeDescriptionImpl
Implementation of Time Description
Field Summary |
Fields inherited from interface javax.sdp.TimeDescription |
NTP_CONST |
Constructor Summary | |
TimeDescriptionImpl()
Creates new TimeDescriptionImpl |
|
TimeDescriptionImpl(gov.nist.javax.sdp.fields.TimeField timeField)
constructor |
Method Summary | |
void |
addRepeatField(gov.nist.javax.sdp.fields.RepeatField repeatField)
Add a repeat field. |
Vector |
getRepeatTimes(boolean create)
Returns the list of repeat times (r= fields) specified in the SessionDescription. |
Time |
getTime()
Returns the Time field. |
void |
setRepeatTimes(Vector repeatTimes)
Returns the list of repeat times (r= fields) specified in the SessionDescription. |
void |
setTime(Time timeField)
Sets the Time field. |
String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TimeDescriptionImpl()
public TimeDescriptionImpl(gov.nist.javax.sdp.fields.TimeField timeField)
Method Detail |
public Time getTime()
getTime
in interface TimeDescription
public void setTime(Time timeField) throws SdpException
setTime
in interface TimeDescription
timeField
- Time to set
SdpException
- if the time is nullpublic Vector getRepeatTimes(boolean create)
getRepeatTimes
in interface TimeDescription
create
- boolean to set
public void setRepeatTimes(Vector repeatTimes) throws SdpException
setRepeatTimes
in interface TimeDescription
repeatTimes
- Vector to set
SdpException
- if the parameter is nullpublic void addRepeatField(gov.nist.javax.sdp.fields.RepeatField repeatField)
repeatField
- -- repeat field to add.public String toString()
toString
in class Object
|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |