public class DomainInfoCommand extends InfoCommand
DomainInfoResponse
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected java.util.logging.Logger |
userLogger |
protected XMLWriter |
xmlWriter |
objElement
cmdElement, command, extension
Constructor and Description |
---|
DomainInfoCommand(java.lang.String name)
Create a domain info command with the specified identifier.
|
DomainInfoCommand(java.lang.String name,
Attribute hostAttribute)
Create a domain info command with the specified identifier and host attribute.
|
DomainInfoCommand(java.lang.String name,
java.lang.String pw)
Create a domain info command with the specified identifier,
authorisation information and host attribute.
|
DomainInfoCommand(java.lang.String name,
java.lang.String pw,
Attribute hostAttribute)
Create a domain info command with the specified identifier and
authorisation information.
|
DomainInfoCommand(java.lang.String name,
java.lang.String roid,
java.lang.String pw)
Create a domain info command with the specified identifier and
authorisation information of an associated contact.
|
DomainInfoCommand(java.lang.String name,
java.lang.String roid,
java.lang.String pw,
Attribute hostAttribute)
Create a domain info command with the specified identifier,
authorisation information of an associated contact and host attribute.
|
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 DomainInfoCommand(java.lang.String name)
name
- The name of the domain to retrieve information about.public DomainInfoCommand(java.lang.String name, Attribute hostAttribute)
name
- The name of the domain to retrieve information about.hostAttribute
- The identifier and value of the host attribute to be suppliedpublic DomainInfoCommand(java.lang.String name, java.lang.String pw)
name
- The name of the domain to retrieve information about.pw
- The password of the identified domain object (also known as
authInfo or authorisation information).public DomainInfoCommand(java.lang.String name, java.lang.String pw, Attribute hostAttribute)
name
- The name of the domain to retrieve information about.pw
- The password of the identified domain object (also known as
authInfo or authorisation information).hostAttribute
- The identifier and value of the host attribute to be suppliedpublic DomainInfoCommand(java.lang.String name, java.lang.String roid, java.lang.String pw)
name
- The name of the domain to retrieve information about.roid
- The Repository Object Identifer of a contact object
associated with the identified domain.pw
- The password of the identified domain object (also known as
authInfo or authorisation information).public DomainInfoCommand(java.lang.String name, java.lang.String roid, java.lang.String pw, Attribute hostAttribute)
name
- The name of the domain to retrieve information about.roid
- The Repository Object Identifer of a contact object
associated with the identified domain.pw
- The password of the identified domain object (also known as
authInfo or authorisation information).hostAttribute
- The identifier and value of the host attribute to be suppliedpublic 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