public class TdbRendition extends TdbFieldTemplate
| Constructor and Description |
|---|
TdbRendition(java.lang.String stringFieldName,
java.lang.String filenameFieldName,
TdbRenditionType type)
Constructor for a string template field with optional conversion.
|
TdbRendition(java.lang.String name,
TdbRenditionType type)
Constructor for a string template field with optional conversion
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFilenameFieldName()
Retrieve the name of the phrase field containing the name of the file
stored in the string field to which this field template applies.
|
java.lang.String |
getRenditionType()
Retrieve the type (protocol string) that reflects the rendition request
|
clear, getAfterHits, getBaseName, getBeforeHits, getFetchType, getFieldContent, getFieldFetchOption, getName, getSizeHint, isFocused, isSummarized, setAfterHits, setBaseName, setBeforeHits, setFetchType, setFieldContent, setFieldFetchOption, setFocused, setName, setSizeHint, setSummarized, setSurroundHitspublic TdbRendition(java.lang.String name,
TdbRenditionType type)
name - Name of field to be retrievedtype - The type of rendition to be performed during retrievalpublic TdbRendition(java.lang.String stringFieldName,
java.lang.String filenameFieldName,
TdbRenditionType type)
This constructor is strongly recommended for server-side HTML conversion using TRIPcof or TRIPview-C. If the file name is unknown, the rendition may not be successful.
stringFieldName - Name of the string field to be retrievedfilenameFieldName - Name of a phrase field that contains the name of the file stored in the string fieldtype - The type of the rendition to producepublic java.lang.String getRenditionType()
public java.lang.String getFilenameFieldName()