Class EPPSecDNSExtFactory
- java.lang.Object
-
- com.verisign.epp.codec.gen.EPPExtFactory
-
- com.verisign.epp.codec.secdnsext.v10.EPPSecDNSExtFactory
-
public class EPPSecDNSExtFactory extends EPPExtFactory
The EPPCodec Extension Factory that needs to be configured to encode/decode secDNS Extensions. The secDNS URN is: "urn:ietf:params:xml:ns:secDNS-1.0"Title: EPP 1.0 secDNS
Description: secDNS Extension to the EPP SDK
Copyright: Copyright (c) 2006
Company: VeriSign
-
-
Constructor Summary
Constructors Constructor Description EPPSecDNSExtFactory()
Create a new instance of EPPSecDNSExtFactory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EPPCodecComponent
createExtension(org.w3c.dom.Element aExtensionElm)
Creates the concrete SecDNSExt instance when decoding XML that contains a secDNS Extension.EPPProtocolExtension
createProtocolExtension(org.w3c.dom.Element aExtensionElm)
Overridden but doesn't do anything in the context of secDNS.EPPService
getService()
Returns the EPPService instance associated with this ExtFactory.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
Namespace URI associated with EPPSecDNSExtFactory.- See Also:
- Constant Field Values
-
NS_PREFIX
public static final java.lang.String NS_PREFIX
Namespace prefix associated with EPPSecDNSExtFactory.- See Also:
- Constant Field Values
-
-
Method Detail
-
createProtocolExtension
public EPPProtocolExtension createProtocolExtension(org.w3c.dom.Element aExtensionElm) throws EPPCodecException
Overridden but doesn't do anything in the context of secDNS. Throws an EPPCodecException if called- Specified by:
createProtocolExtension
in classEPPExtFactory
- Parameters:
aExtensionElm
- Protocol extension element- Returns:
EPPProtocolExtension
instance if supported- Throws:
EPPCodecException
- Throws with message "EPPSecDNSExtFactory.createProtocolExtension: Protocol extensions not supported"
-
createExtension
public EPPCodecComponent createExtension(org.w3c.dom.Element aExtensionElm) throws EPPCodecException
Creates the concrete SecDNSExt instance when decoding XML that contains a secDNS Extension. This is either a EPPSecDNSExtInfData, EPPSecDNSExtCreate, or EPPSecDNSExtUpdate instance- Specified by:
createExtension
in classEPPExtFactory
- Parameters:
aExtensionElm
- The DOM element that is a parent to the secDNS XML fragment- Returns:
- A concrete EPPCodecComponet that knows how to decode itself from the rest of the DOM document.
- Throws:
EPPCodecException
- Thrown if an unrecognized secDNS element is found below the passed in extension element
-
getService
public EPPService getService()
Returns the EPPService instance associated with this ExtFactory. The EPPService instance contains the XML Namespace and XML Schema location- Specified by:
getService
in classEPPExtFactory
- Returns:
- the EPPService instance associated with this ExtFactory
-
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()
-
-