Class EPPNamestoreExtExtFactory
- java.lang.Object
-
- com.verisign.epp.codec.gen.EPPExtFactory
-
- com.verisign.epp.codec.namestoreext.EPPNamestoreExtExtFactory
-
public class EPPNamestoreExtExtFactory extends EPPExtFactory
Factory for the Namestore Extension objects. The Namestore Extension only supports command, response extensions withcreateExtension, but currently does not support protocol extensions withcreateProtocolExtension. CallingcreateProtocolExtensionwill result in an exception.
-
-
Constructor Summary
Constructors Constructor Description EPPNamestoreExtExtFactory()Default constructor forEPPNamestoreExtExtFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EPPCodecComponentcreateExtension(org.w3c.dom.Element aExtensionElm)Creates a concreteEPPCodecComponentfrom an XML element that represents an EPP extension.EPPProtocolExtensioncreateProtocolExtension(org.w3c.dom.Element aExtensionElm)Creates a concreteEPPProtocolExtensionfrom an XML element that represents an EPP protocol extension.EPPServicegetService()Gets the service information associated with the concreteEPPExtFactory.java.util.SetgetXmlSchemas()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 concreteEPPCodecComponentfrom an XML element that represents an EPP extension.- Specified by:
createExtensionin classEPPExtFactory- Parameters:
aExtensionElm- extension XML element.- Returns:
- Concrete
EPPCodecComponentassociated with the extension XML element. - Throws:
EPPCodecException- Error creating the concreteEPPCodecComponent
-
createProtocolExtension
public EPPProtocolExtension createProtocolExtension(org.w3c.dom.Element aExtensionElm) throws EPPCodecException
Creates a concreteEPPProtocolExtensionfrom an XML element that represents an EPP protocol extension.- Specified by:
createProtocolExtensionin classEPPExtFactory- Parameters:
aExtensionElm- extension XML element.- Returns:
- Concrete
EPPProtocolExtensionassociated 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 byEPPFactoryfor extracting the XML namespace associated with the extension factory.- Specified by:
getServicein 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:
getXmlSchemasin classEPPExtFactory- Returns:
SetofStringXML Schema names that should be pre-loaded in the XML Parser.- See Also:
EPPMapFactory.getXmlSchemas()
-
-