public enum TdbRenditionType extends java.lang.Enum<TdbRenditionType>
Enum Constant and Description |
---|
BasicHTML
Requests a basic HTML rendition -- this results in a single stream
that reflects the basic layout and content of the rendered document, but
does not include any embedded graphics or other such objects that may
result from the rendition process.
|
DefaultRendition
Default, retrieves the blob unrendered / unaltered
|
MimeEncodedHtml
Requests a rich HTML rendition -- this results in a MIME-encoded
stream of data that reflects the basic HTML document as well as any
rich objects or graphics that may have been created by the rendition
process.
|
TripXmlExport
Export the contents of the field as XML.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRenditionName()
Retrieve the name (protocol string) that corresponds to the rendition
|
static TdbRenditionType |
getRenditionType(java.lang.String name)
Retrieve the rendition type that matches the provided protocol name
|
static TdbRenditionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TdbRenditionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TdbRenditionType DefaultRendition
public static final TdbRenditionType BasicHTML
public static final TdbRenditionType MimeEncodedHtml
public static final TdbRenditionType TripXmlExport
The use of this rendition type requires a server-side installation of TRIPxml and is only valid for the TRIPxml database field D_XMLDOC.
public static TdbRenditionType[] values()
for (TdbRenditionType c : TdbRenditionType.values()) System.out.println(c);
public static TdbRenditionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static TdbRenditionType getRenditionType(java.lang.String name)
name
- The name to matchpublic java.lang.String getRenditionName()