public abstract class ProtocolExtensionCommand extends ObjectCommand
| Modifier and Type | Field and Description |
|---|---|
protected java.util.logging.Logger |
userLogger |
protected XMLWriter |
xmlWriter |
objElementcmdElement, command, extension| Constructor and Description |
|---|
ProtocolExtensionCommand(CommandType cmdType,
ObjectType objType) |
ProtocolExtensionCommand(CommandType cmdType,
ObjectType objType,
java.lang.String ident) |
ProtocolExtensionCommand(CommandType cmdType,
ObjectType objType,
java.lang.String ident,
java.lang.String attrName,
java.lang.String attrValue) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Extension |
getExtension() |
protected void |
initCmdElement() |
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, toXMLImplprotected final transient XMLWriter xmlWriter
protected final transient java.util.logging.Logger userLogger
public ProtocolExtensionCommand(CommandType cmdType, ObjectType objType)
public ProtocolExtensionCommand(CommandType cmdType, ObjectType objType, java.lang.String ident)
public ProtocolExtensionCommand(CommandType cmdType, ObjectType objType, java.lang.String ident, java.lang.String attrName, java.lang.String attrValue)
protected void initCmdElement()
initCmdElement in class Commandprotected abstract Extension getExtension()
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