com.verisign.epp.codec.whowas
Class EPPWhoWasMapFactory

java.lang.Object
  extended by com.verisign.epp.codec.gen.EPPMapFactory
      extended by com.verisign.epp.codec.whowas.EPPWhoWasMapFactory

public class EPPWhoWasMapFactory
extends EPPMapFactory

EPPWhoWasMapFactory represents the EPPCommand and EPPResponse factory for the EPP WhoWas Mapping with the XML Namespace URI "urn:ietf:params:xmlns:whowas". The fully qualified class name for EPPWhoWasMapFactory is included in a call to EPPFactory.init or EPPCodec.init.

Version:
1.0
Author:
Deepak Deshpande
See Also:
EPPCodec, EPPFactory, EPPCommand, EPPResponse

Field Summary
static java.lang.String NS
          Namespace URI associated with EPPWhoWasMapFactory.
static java.lang.String NS_PREFIX
          Namespace prefix associated with EPPWhoWasMapFactory.
static java.lang.String NS_SCHEMA
          EPP WhoWas XML Schema.
 
Fields inherited from class com.verisign.epp.codec.gen.EPPMapFactory
EPP_CHECK, EPP_CREATE, EPP_DELETE, EPP_INFO, EPP_LOGIN, EPP_LOGOUT, EPP_RENEW, EPP_TRANSFER, EPP_UPDATE
 
Constructor Summary
EPPWhoWasMapFactory()
          Allocates a new EPPWhoWasMapFactory.
 
Method Summary
 EPPCommand createCommand(org.w3c.dom.Element aMapElement)
          Returns a concrete EPPCommand from the passed in XML Element tree.
 EPPResponse createResponse(org.w3c.dom.Element aMapElement)
          Returns a concrete EPPResponse from the passed in XML Element tree.
 EPPService getService()
          Returns the EPPService for the WhoWas Command Mapping and associated with EPPWhoWasMapFactory.
 java.util.Set getXmlSchemas()
          Returns Set of String XML Schema names that should be pre-loaded in the XML Parser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NS

public static final java.lang.String NS
Namespace URI associated with EPPWhoWasMapFactory.

See Also:
Constant Field Values

NS_PREFIX

public static final java.lang.String NS_PREFIX
Namespace prefix associated with EPPWhoWasMapFactory.

See Also:
Constant Field Values

NS_SCHEMA

public static final java.lang.String NS_SCHEMA
EPP WhoWas XML Schema.

See Also:
Constant Field Values
Constructor Detail

EPPWhoWasMapFactory

public EPPWhoWasMapFactory()
Allocates a new EPPWhoWasMapFactory. The service attribute will be initialized with the XML namespace information defined by the EPPWhoWasMapFactory constants:

Method Detail

createCommand

public EPPCommand createCommand(org.w3c.dom.Element aMapElement)
                         throws EPPCodecException
Returns a concrete EPPCommand from the passed in XML Element tree. aMapElement must be the root node for the command extension. For example, <whowas:info> must be the element passed for a WhoWas Info Command.

Specified by:
createCommand in class EPPMapFactory
Parameters:
aMapElement - Mapping Extension EPP XML Element.
Returns:
a concrete EPPCommand from the passed in XML Element tree.
Throws:
EPPCodecException - Error creating concrete EPPCommand

createResponse

public EPPResponse createResponse(org.w3c.dom.Element aMapElement)
                           throws EPPCodecException
Returns a concrete EPPResponse from the passed in XML Element tree. aMapElement must be the root node for the command extension. For example, <whowas:info-data> must be the element passed for a WhoWas Info Response.

Specified by:
createResponse in class EPPMapFactory
Parameters:
aMapElement - Mapping Extension EPP XML Element.
Returns:
a concrete EPPResponse from the passed in XML Element tree.
Throws:
EPPCodecException - Error creating concrete EPPResponse

getService

public EPPService getService()
Returns the EPPService for the WhoWas Command Mapping and associated with EPPWhoWasMapFactory. 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:
the EPPService for the WhoWas Command Mapping and associated with EPPWhoWasMapFactory.

getXmlSchemas

public java.util.Set getXmlSchemas()
Returns Set of String XML Schema names that should be pre-loaded in 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:
EPPMapFactory.getXmlSchemas()


Copyright ? VeriSign Inc. All Rights Reserved.