public class EPPRegistryPolicyAdapter
extends java.lang.Object
EPPRegistryPolicyAdapter
is a base class used to adapt zone or system
policy extensions from local server classes to / from EPP extensions. The
methods of EPPRegistryPolicyAdapter
are concrete and return
null
by default. A derived class can support either a zone or system
policy extension by overriding the appropriate methods.Constructor and Description |
---|
EPPRegistryPolicyAdapter() |
Modifier and Type | Method and Description |
---|---|
EPPRegistryZoneInterface |
eppExtToZoneExt(java.util.List<EPPCodecComponent> aEppExtensions)
Adapt a list of EPP extensions used with a registry create or update to a
matching zone policy extension.
|
EPPCodecComponent |
getSystemExt()
Gets the system policy extension to include in a registry info response
for the system.
|
EPPCodecComponent |
zoneExtToEppExt(java.util.List<EPPRegistryZoneInterface> aZoneExtensions)
Adapt a list of zone policy extensions available for the zone to a
matching EPP extension for an info response.
|
public EPPRegistryZoneInterface eppExtToZoneExt(java.util.List<EPPCodecComponent> aEppExtensions)
EPPRegistryPolicyAdapter
for each versioned policy extension that
will be used to extract the contained zone policy information in a
matching EPP extension.aEppExtensions
- List of EPP extensions to adapt to a zone policy extension.null
otherwise.public EPPCodecComponent zoneExtToEppExt(java.util.List<EPPRegistryZoneInterface> aZoneExtensions)
aZoneExtensions
- List of zone policy extensions to adapt to an EPP extension for
an info response.null
otherwise.public EPPCodecComponent getSystemExt()
EPPCodecComponent
that represents the system policy
extension if defined; null
otherwise.