Class EPPUnhandledNamespace
java.lang.Object
com.verisign.epp.codec.unhandlednamespaces.v1_0.EPPUnhandledNamespace
Class used to hold the unhandled namespace information, which includes the
namespace URI and the response XML of the unhandled namespace.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor forUnhandledNamespace.EPPUnhandledNamespace(String aNamespaceUri, String aXml) Constructor forUnhandledNamespacethat takes to two attributes of the namespace URI and the response XML. -
Method Summary
Modifier and TypeMethodDescriptionbooleanfromEppExtValue(EPPExtValue aExtValue) Method to set the unhandled namespace attribute from anEPPExtValueof anEPPResponse.static List<EPPUnhandledNamespace> fromResponse(EPPResponse aResponse) Create a list ofUnhandledNamespaceinstances from the passed inEPPResponseGets the namespace URI of the unhandled namespace.getXml()Gets the response XML of the unhandled namespace.static voidlogUnhandledNamespaces(List<EPPUnhandledNamespace> aUnhandledNamespaces) Utility method to log the list ofEPPUnhandledNamespaceinstances.static voidprintUnhandledNamespaces(List<EPPUnhandledNamespace> aUnhandledNamespaces) Utility method to print the list ofEPPUnhandledNamespaceinstances.voidsetNamespaceUri(String aNamespaceUri) Sets the namespace URI of the unhandled namespace.voidSets the response XML of the unhandled namespace.toString()Creates aStringof theEPPUnhandledNamespaceattributes.
-
Constructor Details
-
EPPUnhandledNamespace
public EPPUnhandledNamespace()Default constructor forUnhandledNamespace. -
EPPUnhandledNamespace
Constructor forUnhandledNamespacethat takes to two attributes of the namespace URI and the response XML.- Parameters:
aNamespaceUri- Namespace URI of the unhandled namespaceaXml- Response XML of the unhandled namespace
-
-
Method Details
-
getNamespaceUri
Gets the namespace URI of the unhandled namespace.- Returns:
- the namespaceUri namespace URI of the unhandled namespace if set;
nullotherwise.
-
setNamespaceUri
Sets the namespace URI of the unhandled namespace.- Parameters:
aNamespaceUri- tnamespace URI of the unhandled namespace
-
getXml
Gets the response XML of the unhandled namespace.- Returns:
- Response XML of unhandled namespace if set;
nullotherwise.
-
setXml
Sets the response XML of the unhandled namespace.- Parameters:
aXml- Response XML of the unhandled namespace.
-
fromEppExtValue
Method to set the unhandled namespace attribute from anEPPExtValueof anEPPResponse.- Parameters:
aExtValue-EPPExtValuecontaining the unhandled namespaces information and content.- Returns:
trueif theaExtValuedoes represent an unhandled namespace;falseotherwise.
-
fromResponse
Create a list ofUnhandledNamespaceinstances from the passed inEPPResponse- Parameters:
aResponse- Response to get the list ofUnhandledNamespaceinstances.- Returns:
- List of
UnhandledNamespaceinstances if at least one unhandled namespace was found;nullotherwise.
-
toString
Creates aStringof theEPPUnhandledNamespaceattributes. -
printUnhandledNamespaces
Utility method to print the list ofEPPUnhandledNamespaceinstances.- Parameters:
aUnhandledNamespaces- List ofEPPUnhandledNamespaceinstances.
-
logUnhandledNamespaces
Utility method to log the list ofEPPUnhandledNamespaceinstances.- Parameters:
aUnhandledNamespaces- List ofEPPUnhandledNamespaceinstances.
-