Package com.verisign.epp.codec.gen
Class EPPExtFactory
- java.lang.Object
-
- com.verisign.epp.codec.gen.EPPExtFactory
-
- Direct Known Subclasses:
EPPAddlEmailExtFactory,EPPAllocationTokenExtFactory,EPPChangePollExtFactory,EPPCoaExtFactory,EPPFeeExtFactory,EPPIdnExtFactory,EPPIdnMapExtFactory,EPPLaunchExtFactory,EPPLaunchPolicyExtFactory,EPPLoginSecExtFactory,EPPLoginSecPolicyExtFactory,EPPNamestoreExtExtFactory,EPPOrgExtFactory,EPPPersRegExtFactory,EPPRelatedDomainExtFactory,EPPRgpExtFactory,EPPSecDNSExtFactory,EPPSecDNSExtFactory,EPPSecureAuthInfoExtFactory,EPPSyncExtFactory,EPPTtlExtFactory,EPPUnhandledNamespacesExtFactory,EPPVerificationCodeExtFactory,EPPWhoisExtFactory
public abstract class EPPExtFactory extends java.lang.ObjectRepresents an interface, used byEPPFactory, and implemented by concrete EPP Command Extensions for the creation of concreteEPPCodecComponentandEPPProtocolExtensioninstances from a command extension XML element. EachEPPExtFactoryis associated with an XML namespace, and is delegated the responsibility byEPPFactoryof creating concreteEPPCodecComponentobjects 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 concreteEPPExtFactorynamedEPPPricingExtFactorythat will create all of the pricing extension objects used byEPPCommand's andEPPResponse's.- See Also:
EPPFactory
-
-
Constructor Summary
Constructors Constructor Description EPPExtFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract EPPCodecComponentcreateExtension(org.w3c.dom.Element aExtensionElm)Creates a concreteEPPCodecComponentfrom an XML element that represents an EPP extension.abstract EPPProtocolExtensioncreateProtocolExtension(org.w3c.dom.Element aExtensionElm)Creates a concreteEPPProtocolExtensionfrom an XML element that represents an EPP protocol extension.abstract EPPServicegetService()Gets the service information associated with the concreteEPPExtFactory.java.util.Set<java.lang.String>getXmlSchemas()Gets the list of XML schemas that need to be pre-loaded into the XML Parser.
-
-
-
Method Detail
-
createExtension
public abstract EPPCodecComponent createExtension(org.w3c.dom.Element aExtensionElm) throws EPPCodecException
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(org.w3c.dom.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
public abstract EPPService 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
public java.util.Set<java.lang.String> 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.
-
-