|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.tamino.db.api.accessor.TMediaType
public final class TMediaType
TMediaType represents the media-type parameter for a serialization specification. It provides type safe constant objects representing the possible settings for the media-type parameter.
Field Summary | |
---|---|
static TMediaType |
TEXTHTML
Constant that represents media-type=text/html in serialization specification. |
static TMediaType |
TEXTPLAIN
Constant that represents media-type=text/plain in serialization specification. |
Constructor Summary | |
---|---|
protected |
TMediaType(java.lang.String description)
Protected Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
int |
hashCode()
Returns a hash code value for the object. |
java.lang.String |
toString()
Returns the string representation of a TOutputMethod object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final TMediaType TEXTHTML
e.g. {?serialization method="xml" media-type="text/html"?}
public static final TMediaType TEXTPLAIN
e.g. {?serialization method="xml" media-type="text/plain"?}
Constructor Detail |
---|
protected TMediaType(java.lang.String description)
description
- the description for the method parameterMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- - the reference object with which to compare.
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |