|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.gen.EPPExtFactory
public abstract class EPPExtFactory
Represents an interface, used by EPPFactory
, and implemented by
concrete EPP Command Extensions for the creation of concrete
EPPCodecComponent
and EPPProtocolExtension
instances from a command extension XML element. Each
EPPExtFactory
is associated with an XML namespace, and is
delegated the responsibility by EPPFactory
of creating
concrete EPPCodecComponent
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 concrete EPPExtFactory
named
EPPPricingExtFactory
that will create all of the pricing
extension objects used by EPPCommand
's and
EPPResponse
's.
EPPFactory
Constructor Summary | |
---|---|
EPPExtFactory()
|
Method Summary | |
---|---|
abstract EPPCodecComponent |
createExtension(org.w3c.dom.Element aExtensionElm)
Creates a concrete EPPCodecComponent from an XML element
that represents an EPP extension. |
abstract EPPProtocolExtension |
createProtocolExtension(org.w3c.dom.Element aExtensionElm)
Creates a concrete EPPProtocolExtension from an XML element
that represents an EPP protocol extension. |
abstract EPPService |
getService()
Gets the service information associated with the concrete EPPExtFactory . |
java.util.Set |
getXmlSchemas()
Gets the list of XML schemas that need to be pre-loaded into the XML Parser. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EPPExtFactory()
Method Detail |
---|
public abstract EPPCodecComponent createExtension(org.w3c.dom.Element aExtensionElm) throws EPPCodecException
EPPCodecComponent
from an XML element
that represents an EPP extension. For example, a
EPPPricingQueryExt
could be created by
EPPPricingExtFactory
given the <pricing:query> XML
element.
aExtensionElm
- extension XML element. For example
<pricing:query>.
EPPCodecComponent
associated with the
extension XML element. For example,
EPPPricingQueryExt
might be associated with an
<pricing:query> element.
EPPCodecException
- Error creating the concrete
EPPCodecComponent
public abstract EPPProtocolExtension createProtocolExtension(org.w3c.dom.Element aExtensionElm) throws EPPCodecException
EPPProtocolExtension
from an XML element
that represents an EPP protocol extension.
aExtensionElm
- extension XML element.
EPPProtocolExtension
associated with the
extension XML element.
EPPCodecException
- Error creating the concrete
EPPProtocolExtension
public abstract EPPService getService()
EPPExtFactory
. The service information is used by
EPPFactory
for extracting the XML namespace associated
with the extension factory.
EPPExtFactory
.public java.util.Set getXmlSchemas()
Set
of String
XML Schema names that
should be pre-loaded in the XML Parser. Defaults to returning null
to indicate that no XML schemas need to be loaded.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |