EPP 0.2.5

com.neulevel.epp.core
Class EppUnspec

java.lang.Object
  |
  +--com.neulevel.epp.core.EppEntity
        |
        +--com.neulevel.epp.core.EppUnspec

public class EppUnspec
extends EppEntity

The EppUnspec class implement EPP unspecType objects.

Version:
$Revision: 1.1 $ $Date: 2001/11/05 20:20:36 $
Author:
Ning Zhang ning.zhang@neustar.com

Constructor Summary
EppUnspec()
          Creates an EppUnspec object
EppUnspec(java.lang.String value)
          Creates an EppUnspec object with a value
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppUnspec object.
 java.lang.String getValue()
          Gets the value associated with EppUnspec object
 void setValue(java.lang.String value)
          Sets the value associated with EppUnspec object
 java.lang.String toString()
           
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppUnspec object into an XML element
 
Methods inherited from class com.neulevel.epp.core.EppEntity
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EppUnspec

public EppUnspec()
Creates an EppUnspec object

EppUnspec

public EppUnspec(java.lang.String value)
Creates an EppUnspec object with a value
Method Detail

getValue

public java.lang.String getValue()
Gets the value associated with EppUnspec object

setValue

public void setValue(java.lang.String value)
Sets the value associated with EppUnspec object

fromXML

public static EppEntity fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppUnspec object. The caller of this method must make sure that the root node is of EPP unspecType
Parameters:
root - root node for an EppUnspec object in XML format
Returns:
an EppUnspec object, or null if the node is invalid

toXML

public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
                                 java.lang.String tag)
Converts the EppUnspec object into an XML element
Overrides:
toXML in class EppEntity
Parameters:
doc - the XML Document object
tag - the tag/element name for the EppUnspec object
Returns:
an Element object

toString

public java.lang.String toString()
Overrides:
toString in class EppEntity

EPP 0.2.5

Copyright © 2001-2002 NeuLevel, Inc. All Rights Reserved.