Package com.verisign.epp.codec.gen
Class EPPExtFactory
java.lang.Object
com.verisign.epp.codec.gen.EPPExtFactory
- Direct Known Subclasses:
EPPAddlEmailExtFactory,EPPAllocationTokenExtFactory,EPPChangeExtFactory,EPPChangePollExtFactory,EPPCoaExtFactory,EPPFeeExtFactory,EPPIdnExtFactory,EPPIdnMapExtFactory,EPPLaunchExtFactory,EPPLaunchPolicyExtFactory,EPPLoginSecExtFactory,EPPLoginSecPolicyExtFactory,EPPNamestoreExtExtFactory,EPPOrgExtFactory,EPPPersRegExtFactory,EPPRelatedDomainExtFactory,EPPRgpExtFactory,EPPSecDNSExtFactory,EPPSecDNSExtFactory,EPPSecureAuthInfoExtFactory,EPPSyncExtFactory,EPPTtlExtFactory,EPPUnhandledNamespacesExtFactory,EPPVerificationCodeExtFactory,EPPWhoisExtFactory
Represents an interface, used by
For example, a Domain Create Command might include a price extension element, referencing an XML namespace of "urn:verisign:xmlns:pricing" and has a concrete
EPPFactory, and implemented by
concrete EPP Command Extensions for the creation of concrete
EPPCodecComponent and EPPProtocolExtension
instances from a command extension XML element. Each
EPPExtFactory is associated with an XML namespace, and is
delegated the responsibility by EPPFactory of creating
concrete EPPCodecComponent objects representing an EPP extension.For example, a Domain Create Command might include a price extension element, referencing an XML namespace of "urn:verisign:xmlns:pricing" and has a concrete
EPPExtFactory named
EPPPricingExtFactory that will create all of the pricing
extension objects used by EPPCommand's and
EPPResponse's.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract EPPCodecComponentcreateExtension(Element aExtensionElm) Creates a concreteEPPCodecComponentfrom an XML element that represents an EPP extension.abstract EPPProtocolExtensioncreateProtocolExtension(Element aExtensionElm) Creates a concreteEPPProtocolExtensionfrom an XML element that represents an EPP protocol extension.abstract EPPServiceGets the service information associated with the concreteEPPExtFactory.Gets the list of XML schemas that need to be pre-loaded into the XML Parser.
-
Constructor Details
-
EPPExtFactory
public EPPExtFactory()
-
-
Method Details
-
createExtension
Creates a concreteEPPCodecComponentfrom an XML element that represents an EPP extension. For example, aEPPPricingQueryExtcould be created byEPPPricingExtFactorygiven the <pricing:query> XML element.- Parameters:
aExtensionElm- extension XML element. For example <pricing:query>.- Returns:
- Concrete
EPPCodecComponentassociated with the extension XML element. For example,EPPPricingQueryExtmight be associated with an <pricing:query> element. - Throws:
EPPCodecException- Error creating the concreteEPPCodecComponent
-
createProtocolExtension
public abstract EPPProtocolExtension createProtocolExtension(Element aExtensionElm) throws EPPCodecException Creates a concreteEPPProtocolExtensionfrom an XML element that represents an EPP protocol extension.- Parameters:
aExtensionElm- extension XML element.- Returns:
- Concrete
EPPProtocolExtensionassociated with the extension XML element. - Throws:
EPPCodecException- Error creating the concreteEPPProtocolExtension
-
getService
Gets the service information associated with the concreteEPPExtFactory. The service information is used byEPPFactoryfor extracting the XML namespace associated with the extension factory.- Returns:
- service description associated with the concret
EPPExtFactory.
-
getXmlSchemas
Gets the list of XML schemas that need to be pre-loaded into the XML Parser.- Returns:
SetofStringXML Schema names that should be pre-loaded in the XML Parser. Defaults to returningnullto indicate that no XML schemas need to be loaded.
-