Package com.verisign.epp.codec.gen
Class EPPExtFactory
- java.lang.Object
-
- com.verisign.epp.codec.gen.EPPExtFactory
-
- Direct Known Subclasses:
EPPAllocationTokenExtFactory
,EPPChangePollExtFactory
,EPPCoaExtFactory
,EPPEAIExtFactory
,EPPFeeExtFactory
,EPPIdnExtFactory
,EPPIdnMapExtFactory
,EPPLaunchExtFactory
,EPPLaunchPolicyExtFactory
,EPPLoginSecExtFactory
,EPPLoginSecPolicyExtFactory
,EPPNamestoreExtExtFactory
,EPPOrgExtFactory
,EPPPersRegExtFactory
,EPPRelatedDomainExtFactory
,EPPRgpExtFactory
,EPPSecDNSExtFactory
,EPPSecDNSExtFactory
,EPPSecureAuthInfoExtFactory
,EPPSyncExtFactory
,EPPUnhandledNamespacesExtFactory
,EPPVerificationCodeExtFactory
,EPPWhoisExtFactory
public abstract class EPPExtFactory extends java.lang.Object
Represents an interface, used byEPPFactory
, and implemented by concrete EPP Command Extensions for the creation of concreteEPPCodecComponent
andEPPProtocolExtension
instances from a command extension XML element. EachEPPExtFactory
is associated with an XML namespace, and is delegated the responsibility byEPPFactory
of creating concreteEPPCodecComponent
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 concreteEPPExtFactory
namedEPPPricingExtFactory
that 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 EPPCodecComponent
createExtension(org.w3c.dom.Element aExtensionElm)
Creates a concreteEPPCodecComponent
from an XML element that represents an EPP extension.abstract EPPProtocolExtension
createProtocolExtension(org.w3c.dom.Element aExtensionElm)
Creates a concreteEPPProtocolExtension
from an XML element that represents an EPP protocol extension.abstract EPPService
getService()
Gets the service information associated with the concreteEPPExtFactory
.java.util.Set
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 concreteEPPCodecComponent
from an XML element that represents an EPP extension. For example, aEPPPricingQueryExt
could be created byEPPPricingExtFactory
given the <pricing:query> XML element.- Parameters:
aExtensionElm
- extension XML element. For example <pricing:query>.- Returns:
- Concrete
EPPCodecComponent
associated with the extension XML element. For example,EPPPricingQueryExt
might 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 concreteEPPProtocolExtension
from an XML element that represents an EPP protocol extension.- Parameters:
aExtensionElm
- extension XML element.- Returns:
- Concrete
EPPProtocolExtension
associated 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 byEPPFactory
for extracting the XML namespace associated with the extension factory.- Returns:
- service description associated with the concret
EPPExtFactory
.
-
getXmlSchemas
public java.util.Set getXmlSchemas()
Gets the list of XML schemas that need to be pre-loaded into the XML Parser.- Returns:
Set
ofString
XML Schema names that should be pre-loaded in the XML Parser. Defaults to returningnull
to indicate that no XML schemas need to be loaded.
-
-