org.gcube.data.harmonization.occurrence.stubs
Class StringFormat

java.lang.Object
  extended by org.gcube.data.harmonization.occurrence.stubs.StringFormat
All Implemented Interfaces:
Serializable

public class StringFormat
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static String _JSON
           
static String _XML
           
static StringFormat JSON
           
static StringFormat XML
           
 
Constructor Summary
protected StringFormat(String value)
           
 
Method Summary
 boolean equals(Object obj)
           
static StringFormat fromString(String value)
           
static StringFormat fromValue(String value)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
           
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
           
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 String getValue()
           
 int hashCode()
           
 Object readResolve()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_XML

public static final String _XML
See Also:
Constant Field Values

_JSON

public static final String _JSON
See Also:
Constant Field Values

XML

public static final StringFormat XML

JSON

public static final StringFormat JSON
Constructor Detail

StringFormat

protected StringFormat(String value)
Method Detail

getValue

public String getValue()

fromValue

public static StringFormat fromValue(String value)
                              throws IllegalArgumentException
Throws:
IllegalArgumentException

fromString

public static StringFormat fromString(String value)
                               throws IllegalArgumentException
Throws:
IllegalArgumentException

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

readResolve

public Object readResolve()
                   throws ObjectStreamException
Throws:
ObjectStreamException

getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)

getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object



Copyright © 2012. All Rights Reserved.