org.gcube.data.harmonization.occurrence.stubs
Class StringFormat
java.lang.Object
org.gcube.data.harmonization.occurrence.stubs.StringFormat
- All Implemented Interfaces:
- Serializable
public class StringFormat
- extends Object
- implements Serializable
- See Also:
- Serialized Form
_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
StringFormat
protected StringFormat(String value)
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.