Package com.verisign.epp.codec.whois
Class EPPWhoisExtFactory
- java.lang.Object
-
- com.verisign.epp.codec.gen.EPPExtFactory
-
- com.verisign.epp.codec.whois.EPPWhoisExtFactory
-
public class EPPWhoisExtFactory extends EPPExtFactory
The EPPCodec Extension Factory that needs to be configured to encode/decode Whois extensions. The Whois URI is: http://www.verisign.com/epp/whoisInf-1.0
-
-
Constructor Summary
Constructors Constructor Description EPPWhoisExtFactory()Create a new instance of EPPWhoisExtFactory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EPPCodecComponentcreateExtension(org.w3c.dom.Element aExtensionElm)Creates the concrete Whois ext instance when decoding XML that contains a Whois Extension.EPPProtocolExtensioncreateProtocolExtension(org.w3c.dom.Element aExtensionElm)Overridden but doesn't do anything in the context of IDN.EPPServicegetService()Returns the EPPService instance associated with this ExtFactory.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
Namespace URI associated with EPPWhoisExtFactory.- See Also:
- Constant Field Values
-
NS_PREFIX
public static final java.lang.String NS_PREFIX
Namespace prefix associated with EPPWhoisExtFactory.- 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 IDN. Throws an EPPCodecException if called- Specified by:
createProtocolExtensionin classEPPExtFactory- Parameters:
aExtensionElm- DOMElementto create protocol extension from- Returns:
EPPProtocolExtensionif applicable- Throws:
EPPCodecException- If protocol extension not supported
-
createExtension
public EPPCodecComponent createExtension(org.w3c.dom.Element aExtensionElm) throws EPPCodecException
Creates the concrete Whois ext instance when decoding XML that contains a Whois Extension. This is only EPPWhoisLangCreate as of 05/11/04- Specified by:
createExtensionin classEPPExtFactory- Parameters:
aExtensionElm- The DOM element that is a parent to the IDN Lang 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 idn lang 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:
getServicein 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:
getXmlSchemasin classEPPExtFactory- Returns:
SetofStringXML Schema names that should be pre-loaded in the XML Parser.- See Also:
EPPMapFactory.getXmlSchemas()
-
-