|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.syncext.EPPSyncExtUpdate
public class EPPSyncExtUpdate
EPPCodecComponent that encodes and decodes a sync update.
Title: EPP 1.0 RGP
Description: SYNC Extension to the EPP SDK
Copyright: Copyright (c) 2004
Company: VeriSign
Field Summary | |
---|---|
static java.lang.String |
ELM_MONTH_DAY
Constant for the expiration month/day tag name |
static java.lang.String |
ELM_NAME
Constant for the update tag name |
Constructor Summary | |
---|---|
EPPSyncExtUpdate()
Create an EPPSyncExtUpdate instance |
|
EPPSyncExtUpdate(int aMonth,
int aDay)
Create a EPPSyncExtUpdate intance with the given month and day |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPSyncExtUpdate . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPSyncExtUpdate component. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Sets all this instance's data in the given XML document. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPSyncExtUpdate compare. |
int |
getDay()
Gets the day of the month |
int |
getMonth()
Returns the month. |
void |
setDay(int aDay)
Sets the day of the month |
void |
setMonth(int aMonth)
Sets the month |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ELM_NAME
public static final java.lang.String ELM_MONTH_DAY
Constructor Detail |
---|
public EPPSyncExtUpdate()
public EPPSyncExtUpdate(int aMonth, int aDay)
aMonth
- the month using a
java.util.Calendar
month constantaDay
- the dayMethod Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPSyncExtUpdate
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPSyncExtUpdate
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- a DOM Document to attach data to.
EPPEncodeException
- Thrown if any errors prevent encoding.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
decode
in interface EPPCodecComponent
aElement
-
EPPDecodeException
public boolean equals(java.lang.Object aObject)
EPPSyncExtUpdate
compare.
equals
in class java.lang.Object
aObject
- EPPSyncExtUpdate
instance to compare with
public int getMonth()
java.util.Calendar
month constantpublic void setMonth(int aMonth)
aMonth
- the month using a
java.util.Calendar
month constantpublic int getDay()
public void setDay(int aDay)
aDay
- the day of the month
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |