public class EPPSyncExtUpdate extends java.lang.Object implements EPPCodecComponent
Title: EPP 1.0 RGP
Description: SYNC Extension to the EPP SDK
Copyright: Copyright (c) 2004
Company: VeriSign
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
EPPSyncExtUpdate()
Create an EPPSyncExtUpdate instance
|
EPPSyncExtUpdate(int aMonth,
int aDay)
Create a EPPSyncExtUpdate intance with the given month and day
|
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
void |
setDay(int aDay)
Sets the day of the month
|
void |
setMonth(int aMonth)
Sets the month
|
public static final java.lang.String ELM_NAME
public static final java.lang.String ELM_MONTH_DAY
public EPPSyncExtUpdate()
public EPPSyncExtUpdate(int aMonth, int aDay)
aMonth
- the month using a
java.util.Calendar
month constantaDay
- the daypublic 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
- Element to decode fromEPPDecodeException
- On encoding errorpublic boolean equals(java.lang.Object aObject)
EPPSyncExtUpdate
compare.equals
in class java.lang.Object
aObject
- EPPSyncExtUpdate
instance to compare withpublic 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 monthpublic java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.