Package com.verisign.epp.codec.coaext
Class EPPCoaExtFactory
java.lang.Object
com.verisign.epp.codec.gen.EPPExtFactory
com.verisign.epp.codec.coaext.EPPCoaExtFactory
The EPPCodec Extension Factory that needs to be configured to encode/decode
Client Object Attribute extensions. The COA URI is:
urn:ietf:params:xml:ns:coa-1.0
Title: EPP 1.0 COA
Description: COA Extension to the EPP SDK
Copyright: Copyright (c) 2011
Company: VeriSign
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateExtension(Element aExtensionElm) Creates the concrete Client Object Attribute ext instance when decoding XML that contains a Coa Extension.createProtocolExtension(Element aExtensionElm) Overridden but doesn't do anything in the context of Client Object Attribute.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 EPPCoaExtFactory.- See Also:
-
NS_PREFIX
Namespace prefix associated with EPPCoaExtFactory.- See Also:
-
-
Constructor Details
-
EPPCoaExtFactory
public EPPCoaExtFactory()Create a new instance of EPPCoaExtFactory
-
-
Method Details
-
createProtocolExtension
Overridden but doesn't do anything in the context of Client Object Attribute. Throws an EPPCodecException if called- Specified by:
createProtocolExtensionin classEPPExtFactory- Parameters:
aExtensionElm- DOM Element containing the protocol extension- Returns:
- nothing
- Throws:
EPPCodecException- Not supported by COA
-
createExtension
Creates the concrete Client Object Attribute ext instance when decoding XML that contains a Coa Extension. This is only EPPCoaIdCreate as of 01/28/11- Specified by:
createExtensionin classEPPExtFactory- Parameters:
aExtensionElm- The DOM element that is a parent to the Coa 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 coa 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:
-