public static class SerializerFormat.Literal extends java.lang.Object implements SerializerFormat
SerializerFormat annotation.SerializerFormat.Literal| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
annotationType()
Method returns the type of the annotation literal.
|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
static SerializerFormat.Literal |
of(java.lang.String sName)
Create a
SerializerFormat.Literal. |
java.lang.String |
value()
The name of the serializer.
|
public static SerializerFormat.Literal of(java.lang.String sName)
SerializerFormat.Literal.sName - the name of the serializerSerializerFormat.Literal with the specified valuepublic java.lang.String value()
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
annotationType in interface java.lang.annotation.Annotationpublic boolean equals(java.lang.Object other)
equals in interface java.lang.annotation.Annotationequals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.lang.annotation.AnnotationhashCode in class java.lang.Object