public class ContactUpdateCommand extends UpdateCommand
Response
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected java.util.logging.Logger |
userLogger |
protected XMLWriter |
xmlWriter |
objElement
cmdElement, command, extension
Constructor and Description |
---|
ContactUpdateCommand(java.lang.String id,
java.lang.String pw)
Minimal constructor for changing the authinfo of a contact.
|
ContactUpdateCommand(java.lang.String id,
java.lang.String pw,
Status[] addStatuses,
java.lang.String[] remStatuses,
IntPostalInfo newIntPostalInfo,
LocalPostalInfo newLocPostalInfo,
java.lang.String newVoice,
java.lang.String newVoiceExt,
java.lang.String newFax,
java.lang.String newFaxExt,
java.lang.String newEmail,
Disclose disclose)
The complete set of attributes of a contact which may be updated as per
RFC5733.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toXML()
Serialize the EPP service element to XML.
|
java.lang.String |
toXML(XmlOutputConfig outputConfig)
Serialize the EPP service element to XML using the given output config.
|
appendExtension, getCommandType, getExtensionElement, getXmlWriter, initCmdElement, toXMLImpl
protected final transient XMLWriter xmlWriter
protected final transient java.util.logging.Logger userLogger
public ContactUpdateCommand(java.lang.String id, java.lang.String pw)
public ContactUpdateCommand(java.lang.String id, java.lang.String pw, Status[] addStatuses, java.lang.String[] remStatuses, IntPostalInfo newIntPostalInfo, LocalPostalInfo newLocPostalInfo, java.lang.String newVoice, java.lang.String newVoiceExt, java.lang.String newFax, java.lang.String newFaxExt, java.lang.String newEmail, Disclose disclose)
java.lang.IllegalArgumentException
- if id
is null
.public final java.lang.String toXML() throws org.xml.sax.SAXException
org.xml.sax.SAXException
- The XML representation of the command
failed schema validation. Further attempts to serialize this command
will also fail.toXML
public final java.lang.String toXML(XmlOutputConfig outputConfig) throws org.xml.sax.SAXException
outputConfig
- a configuration that indicates how to output the XMLorg.xml.sax.SAXException
XmlOutputConfig