Class EPPChangeMapFactory

java.lang.Object
com.verisign.epp.codec.gen.EPPMapFactory
com.verisign.epp.codec.change.EPPChangeMapFactory

public class EPPChangeMapFactory extends EPPMapFactory
EPPChangeMapFactory represents the EPPCommand and EPPResponseMap factory for the EPP Change Mapping with the XML Namespace URI "urn:ietf:params:xmlns:change". The fully qualified class name for EPPChangeMapFactory is included in a call to EPPFactory.init or EPPCodec.init.

See Also:
  • Field Details

  • Constructor Details

    • EPPChangeMapFactory

      public EPPChangeMapFactory()
      Allocates a new EPPChangeMapFactory. The service attribute will be initialized with the XML namespace information defined by the EPPChangeMapFactory constants:
      • NS_PREFIX Namespace prefix of EPPChangeMapFactory
      • NS Namespace URI of EPPChangeMapFactory
      • NS_SCHEMA Namespace schema reference of EPPChangeMapFactory
  • Method Details

    • createCommand

      public EPPCommand createCommand(Element aMapElement) throws EPPCodecException
      Creates a concrete EPPCommand from the passed in XML Element tree. aMapElement must be the root node for the command extension.
      Specified by:
      createCommand in class EPPMapFactory
      Parameters:
      aMapElement - Mapping Extension EPP XML Element.
      Returns:
      Concrete EPPCommand instance associated with aMapElement.
      Throws:
      EPPCodecException - Error creating concrete EPPCommand
    • createResponse

      public EPPResponse createResponse(Element aMapElement) throws EPPCodecException
      Creates a concrete EPPResponse from the passed in XML Element tree. aMapElement must be the root node for the command extension.
      Specified by:
      createResponse in class EPPMapFactory
      Parameters:
      aMapElement - Mapping Extension EPP XML Element.
      Returns:
      Concrete EPPResponse instance associated with aMapElement.
      Throws:
      EPPCodecException - Error creating concrete EPPResponse
    • getService

      public EPPService getService()
      Gets the EPPService associated with EPPChangeMapFactory. The EPPService is used by EPPFactory for distributing the responsibility of creating concrete EPPCommand and EPPResponse objects by XML namespace. The XML namespace is defined in the returned EPPService.
      Specified by:
      getService in class EPPMapFactory
      Returns:
      service description for the Change Command Mapping.
    • getXmlSchemas

      public Set getXmlSchemas()
      Gets the list of XML schemas that need to be pre-loaded into the XML Parser.
      Overrides:
      getXmlSchemas in class EPPMapFactory
      Returns:
      Set of String XML Schema names that should be pre-loaded in the XML Parser.
      See Also: