|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lastbamboo.common.sdp.GenericObject
org.lastbamboo.common.sdp.fields.SDPObject
org.lastbamboo.common.sdp.fields.SDPField
org.lastbamboo.common.sdp.fields.ZoneField
public class ZoneField
Z= SDP field.
| Field Summary | |
|---|---|
protected SDPObjectList |
zoneAdjustments
|
| Fields inherited from class org.lastbamboo.common.sdp.fields.SDPField |
|---|
fieldName |
| Fields inherited from class org.lastbamboo.common.sdp.GenericObject |
|---|
AND, AT, COLON, COMMA, DOT, DOUBLE_QUOTE, EQUALS, GREATER_THAN, HT, immutableClasses, immutableClassNames, indentation, LESS_THAN, LPAREN, matchExpression, NEWLINE, PERCENT, POUND, QUESTION, QUOTE, RETURN, RPAREN, SEMICOLON, SLASH, SP, STAR, stringRepresentation |
| Fields inherited from interface org.lastbamboo.common.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()
Clones this object. |
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 org.lastbamboo.common.sdp.fields.SDPField |
|---|
getFieldName, getTypeChar, toString |
| Methods inherited from class org.lastbamboo.common.sdp.fields.SDPObject |
|---|
dbgPrint, debugDump, equals, getStringRepresentation, initSprint, match, merge, replace, replace, replace, replace, sprint |
| Methods inherited from class org.lastbamboo.common.sdp.GenericObject |
|---|
Assert, dbgPrint, dbgPrint, debugDump, getIndentation, getMatcher, isMySubclass, makeClone, setMatcher, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprint |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.lastbamboo.common.sdp.api.Field |
|---|
getTypeChar |
| Field Detail |
|---|
protected SDPObjectList zoneAdjustments
| 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()
GenericObject
clone in interface Fieldclone in class GenericObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||