public abstract class CheckCommand extends ObjectCommand
Modifier and Type | Field and Description |
---|---|
protected java.util.logging.Logger |
userLogger |
protected XMLWriter |
xmlWriter |
objElement
cmdElement, command, extension
Constructor and Description |
---|
CheckCommand(ObjectType objType,
java.lang.String ident)
Create a check command mapped to the specified object type to check the
availability of the identified object.
|
CheckCommand(ObjectType objType,
java.lang.String[] idents)
Create a check command mapped to the specified object type to check the
availability of the identified object.
|
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 CheckCommand(ObjectType objType, java.lang.String ident)
objType
- The object mapping to use.ident
- An object type-specific label identifying the object to
check the availability of.public CheckCommand(ObjectType objType, java.lang.String[] idents)
objType
- The object mapping to use.idents
- An object type-specific array of labels identifying the
objects to check the availability of.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