Package com.verisign.epp.codec.persreg
Class EPPPersRegExtFactory
- java.lang.Object
-
- com.verisign.epp.codec.gen.EPPExtFactory
-
- com.verisign.epp.codec.persreg.EPPPersRegExtFactory
-
public class EPPPersRegExtFactory extends EPPExtFactory
Factory for the Personal Registration Extension objects. The Personal Registration Extension only supports command, response extensions withcreateExtension
, but currently does not support protocol extensions withcreateProtocolExtension
. CallingcreateProtocolExtension
will result in an exception.
-
-
Constructor Summary
Constructors Constructor Description EPPPersRegExtFactory()
Default constructor forEPPPersRegExtFactory
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EPPCodecComponent
createExtension(org.w3c.dom.Element aExtensionElm)
Creates a concreteEPPCodecComponent
from an XML element that represents an EPP extension.EPPProtocolExtension
createProtocolExtension(org.w3c.dom.Element aExtensionElm)
Creates a concreteEPPProtocolExtension
from an XML element that represents an EPP protocol extension.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.
-
-
-
Field Detail
-
NS
public static final java.lang.String NS
XML Namespace- See Also:
- Constant Field Values
-
NS_PREFIX
public static final java.lang.String NS_PREFIX
XML Namespace Prefix- See Also:
- Constant Field Values
-
-
Method Detail
-
createExtension
public EPPCodecComponent createExtension(org.w3c.dom.Element aExtensionElm) throws EPPCodecException
Creates a concreteEPPCodecComponent
from an XML element that represents an EPP extension.- Specified by:
createExtension
in classEPPExtFactory
- Parameters:
aExtensionElm
- extension XML element.- Returns:
- Concrete
EPPCodecComponent
associated with the extension XML element. - Throws:
EPPCodecException
- Error creating the concreteEPPCodecComponent
-
createProtocolExtension
public EPPProtocolExtension createProtocolExtension(org.w3c.dom.Element aExtensionElm) throws EPPCodecException
Creates a concreteEPPProtocolExtension
from an XML element that represents an EPP protocol extension.- Specified by:
createProtocolExtension
in classEPPExtFactory
- Parameters:
aExtensionElm
- extension XML element.- Returns:
- Concrete
EPPProtocolExtension
associated with the extension XML element. - Throws:
EPPCodecException
- Error creating the concreteEPPProtocolExtension
-
getService
public 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.- Specified by:
getService
in classEPPExtFactory
- Returns:
- service description associated with the concrete
EPPExtFactory
.
-
getXmlSchemas
public java.util.Set getXmlSchemas()
Gets the list of XML schemas that need to be pre-loaded into the XML Parser.- Overrides:
getXmlSchemas
in classEPPExtFactory
- Returns:
Set
ofString
XML Schema names that should be pre-loaded in the XML Parser.- See Also:
EPPMapFactory.getXmlSchemas()
-
-