public abstract class InfoCommand extends ObjectCommand
InfoResponse
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected java.util.logging.Logger |
userLogger |
protected XMLWriter |
xmlWriter |
objElement
cmdElement, command, extension
Constructor and Description |
---|
InfoCommand(ObjectType objType)
Create an info command mapped to the specified object type to retrieve
information about the related object.
|
InfoCommand(ObjectType objType,
java.lang.String ident)
Create an info command mapped to the specified object type to retrieve
information about the identified object.
|
InfoCommand(ObjectType objType,
java.lang.String ident,
java.lang.String pw)
Create an info command mapped to the specified object type to retrieve
information about the identified object.
|
InfoCommand(ObjectType objType,
java.lang.String ident,
java.lang.String roid,
java.lang.String pw)
Create an info command mapped to the specified object type to retrieve
information about the identified object.
|
InfoCommand(StandardObjectType objType,
java.lang.String ident,
Attribute attribute) |
InfoCommand(StandardObjectType objType,
java.lang.String ident,
java.lang.String pw,
Attribute attribute) |
InfoCommand(StandardObjectType objType,
java.lang.String ident,
java.lang.String roid,
java.lang.String pw,
Attribute 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 InfoCommand(ObjectType objType, java.lang.String ident)
objType
- The type of object to which the info command is to be
mapped.ident
- An object type-specific label identifying the object to
retrieve information about.public InfoCommand(ObjectType objType)
objType
- The type of object to which the info command is to be
mapped.public InfoCommand(StandardObjectType objType, java.lang.String ident, Attribute attribute)
public InfoCommand(ObjectType objType, java.lang.String ident, java.lang.String pw)
objType
- The type of object to which the info command is to be
mapped.ident
- An object type-specific label identifying the object to
retrieve information about.pw
- The password of the object to retrieve information about.
This is used to retrieve complete information about an object when the
object is sponsored by another client.public InfoCommand(StandardObjectType objType, java.lang.String ident, java.lang.String pw, Attribute attribute)
public InfoCommand(ObjectType objType, java.lang.String ident, java.lang.String roid, java.lang.String pw)
objType
- The type of object to which the info command is to be
mapped.ident
- An object type-specific label identifying the object to
retrieve information about.roid
- The Repository Object Identifer of an object associated with
the object to be queried.pw
- The password of the object to retrieve information about.
This is used to retrieve complete information about an object when the
object is sponsored by another client.public InfoCommand(StandardObjectType objType, java.lang.String ident, java.lang.String roid, java.lang.String pw, Attribute attribute)
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