com.verisign.epp.codec.rgpext
Class EPPRgpExtFactory

java.lang.Object
  extended by com.verisign.epp.codec.gen.EPPExtFactory
      extended by com.verisign.epp.codec.rgpext.EPPRgpExtFactory

public class EPPRgpExtFactory
extends EPPExtFactory

The EPPCodec Extension Factory that needs to be configured to encode/decode RgpExtensions. The RGP URN is: urn:ietf:params:xml:ns:rgp-1.0

Title: EPP 1.0 RGP

Description: RGP Extension to the EPP SDK

Copyright: Copyright (c) 2004

Company: VeriSign

Version:
1.0
Author:
clloyd

Field Summary
static java.lang.String NS
          Namespace URI associated with EPPRgpFactory.
static java.lang.String NS_PREFIX
          Namespace prefix associated with EPPRgpFactory.
static java.lang.String NS_SCHEMA
          EPP Rgp XML Schema.
 
Constructor Summary
EPPRgpExtFactory()
          Create a new instance of EPPRgpExtFactory
 
Method Summary
 EPPCodecComponent createExtension(org.w3c.dom.Element aExtensionElm)
          Creates the concrete RGPExt instance when decoding XML that contains an RGP Extension.
 EPPProtocolExtension createProtocolExtension(org.w3c.dom.Element aExtensionElm)
          Overridden but doesn't do anything in the context of RGP.
 EPPService getService()
          Returns the EPPService instance associated with this ExtFactory.
 java.util.Set getXmlSchemas()
          Gets the list of XML schemas that need to be pre-loaded into 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 EPPRgpFactory.

See Also:
Constant Field Values

NS_PREFIX

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

See Also:
Constant Field Values

NS_SCHEMA

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

See Also:
Constant Field Values
Constructor Detail

EPPRgpExtFactory

public EPPRgpExtFactory()
Create a new instance of EPPRgpExtFactory

Method Detail

createProtocolExtension

public EPPProtocolExtension createProtocolExtension(org.w3c.dom.Element aExtensionElm)
                                             throws EPPCodecException
Overridden but doesn't do anything in the context of RGP. Throws an EPPCodecException if called

Specified by:
createProtocolExtension in class EPPExtFactory
Parameters:
aExtensionElm - Element to create protocol extension from
Returns:
Return protocol extension if applicable
Throws:
EPPCodecException - When protocol extension is not supported

createExtension

public EPPCodecComponent createExtension(org.w3c.dom.Element aExtensionElm)
                                  throws EPPCodecException
Creates the concrete RGPExt instance when decoding XML that contains an RGP Extension. This is either a EPPRgpExtInfData or EPPRgpExtUpdate instance

Specified by:
createExtension in class EPPExtFactory
Parameters:
aExtensionElm - The DOM element that is a parent to the RGP XML fragment
Returns:
A concrete EPPCodecComponet that knows how to decode itself from the rest of the DOM document.
Throws:
EPPCodecException - Thrown if an unrecognized rgp element is found below the passed in extension element

getService

public EPPService getService()
Returns the EPPService instance associated with this ExtFactory. The EPPService instance contains the XML Namespace and XML Schema location

Specified by:
getService in class EPPExtFactory
Returns:
the EPPService instance associated with this ExtFactory

getXmlSchemas

public java.util.Set getXmlSchemas()
Gets the list of XML schemas that need to be pre-loaded into the XML Parser.

Overrides:
getXmlSchemas in class EPPExtFactory
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.