|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.nist.core.GenericObject
gov.nist.javax.sdp.fields.SDPObject
gov.nist.javax.sdp.fields.SDPField
gov.nist.javax.sdp.fields.ZoneField
Z= SDP field.
| Field Summary |
| Fields inherited from interface gov.nist.javax.sdp.fields.SDPFieldNames |
ATTRIBUTE_FIELD, BANDWIDTH_FIELD, CONNECTION_FIELD, EMAIL_FIELD, INFORMATION_FIELD, KEY_FIELD, MEDIA_FIELD, ORIGIN_FIELD, PHONE_FIELD, PROTO_VERSION_FIELD, REPEAT_FIELD, SESSION_NAME_FIELD, TIME_FIELD, URI_FIELD, ZONE_FIELD |
| Constructor Summary | |
ZoneField()
Constructor. |
|
| Method Summary | |
void |
addZoneAdjustment(ZoneAdjustment za)
Add an element to the zone adjustment list. |
Object |
clone()
Returns a clone of this field. |
String |
encode()
Encode this structure into a canonical form. |
boolean |
getTypedTime()
Returns whether the field will be output as a typed time or a integer value. |
SDPObjectList |
getZoneAdjustments()
Get the zone adjustment list. |
Hashtable |
getZoneAdjustments(boolean create)
Returns a Hashtable of adjustment times, where: key = Date. |
void |
setTypedTime(boolean typedTime)
Sets whether the field will be output as a typed time or a integer value. |
void |
setZoneAdjustments(Hashtable map)
Sets the Hashtable of adjustment times, where: key = Date. |
| Methods inherited from class gov.nist.javax.sdp.fields.SDPField |
getFieldName, getTypeChar, toString |
| Methods inherited from class gov.nist.javax.sdp.fields.SDPObject |
dbgPrint, debugDump, equals, match |
| Methods inherited from class gov.nist.core.GenericObject |
debugDump, getClassFromName, getMatcher, isMySubclass, makeClone, merge, setMatcher |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.sdp.Field |
getTypeChar |
| Constructor Detail |
public ZoneField()
| Method Detail |
public void addZoneAdjustment(ZoneAdjustment za)
za - zone adjustment to add.public SDPObjectList getZoneAdjustments()
public String encode()
encode in class SDPField
public Hashtable getZoneAdjustments(boolean create)
throws SdpParseException
getZoneAdjustments in interface TimeZoneAdjustmentcreate - to set
SdpParseException
public void setZoneAdjustments(Hashtable map)
throws SdpException
setZoneAdjustments in interface TimeZoneAdjustmentmap - Hashtable to set
SdpException - if the parameter is nullpublic void setTypedTime(boolean typedTime)
setTypedTime in interface TimeZoneAdjustmenttypedTime - typedTime - if set true, the start and stop times will be
output in an optimal typed time format; if false, the
times will be output as integers.public boolean getTypedTime()
getTypedTime in interface TimeZoneAdjustmentpublic Object clone()
Field
clone in interface Field
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||