public class HostUpdateCommand extends UpdateCommand
Response,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected java.util.logging.Logger |
userLogger |
protected XMLWriter |
xmlWriter |
objElementcmdElement, command, extension| Constructor and Description |
|---|
HostUpdateCommand(java.lang.String name)
Minimal constructor to be used solely by extension subclasses.
|
HostUpdateCommand(java.lang.String name,
HostAddRem add,
HostAddRem rem,
java.lang.String newName)
The complete set of attributes of a host which may be updated as per
RFC5732.
|
| 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, toXMLImplprotected final transient XMLWriter xmlWriter
protected final transient java.util.logging.Logger userLogger
public HostUpdateCommand(java.lang.String name)
public HostUpdateCommand(java.lang.String name,
HostAddRem add,
HostAddRem rem,
java.lang.String newName)
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.toXMLpublic final java.lang.String toXML(XmlOutputConfig outputConfig) throws org.xml.sax.SAXException
outputConfig - a configuration that indicates how to output the XMLorg.xml.sax.SAXExceptionXmlOutputConfig