Package com.verisign.epp.codec.rgpext
Class EPPRgpExtFactory
java.lang.Object
com.verisign.epp.codec.gen.EPPExtFactory
com.verisign.epp.codec.rgpext.EPPRgpExtFactory
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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateExtension(Element aExtensionElm) Creates the concrete RGPExt instance when decoding XML that contains an RGP Extension.createProtocolExtension(Element aExtensionElm) Overridden but doesn't do anything in the context of RGP.Returns the EPPService instance associated with this ExtFactory.Gets the list of XML schemas that need to be pre-loaded into the XML Parser.
-
Field Details
-
NS
Namespace URI associated with EPPRgpFactory.- See Also:
-
NS_PREFIX
Namespace prefix associated with EPPRgpFactory.- See Also:
-
-
Constructor Details
-
EPPRgpExtFactory
public EPPRgpExtFactory()Create a new instance of EPPRgpExtFactory
-
-
Method Details
-
createProtocolExtension
Overridden but doesn't do anything in the context of RGP. Throws an EPPCodecException if called- Specified by:
createProtocolExtensionin classEPPExtFactory- Parameters:
aExtensionElm- Element to create protocol extension from- Returns:
- Return protocol extension if applicable
- Throws:
EPPCodecException- When protocol extension is not supported
-
createExtension
Creates the concrete RGPExt instance when decoding XML that contains an RGP Extension. This is either a EPPRgpExtInfData or EPPRgpExtUpdate instance- Specified by:
createExtensionin classEPPExtFactory- 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
Returns the EPPService instance associated with this ExtFactory. The EPPService instance contains the XML Namespace and XML Schema location- Specified by:
getServicein classEPPExtFactory- Returns:
- the EPPService instance associated with this ExtFactory
-
getXmlSchemas
Gets the list of XML schemas that need to be pre-loaded into the XML Parser.- Overrides:
getXmlSchemasin classEPPExtFactory- Returns:
SetofStringXML Schema names that should be pre-loaded in the XML Parser.- See Also:
-