@Deprecated public class GenericTemplateSet extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ENCODING
Deprecated.
|
static String |
DEFAULT_MIMETYPE
Deprecated.
|
Constructor and Description |
---|
GenericTemplateSet(String name,
String mimeType,
String encoding)
Deprecated.
Creates a template set containing no templates
|
Modifier and Type | Method and Description |
---|---|
String |
getBoldCloseTag()
Deprecated.
|
String |
getBoldOpenTag()
Deprecated.
|
String |
getEncoding()
Deprecated.
Returns the text encoding
|
String |
getMimeType()
Deprecated.
Returns the text MIME
|
String |
getName()
Deprecated.
|
String |
getRequestedEncoding(Query query)
Deprecated.
Returns the encoding of the query, or the encoding given by the template if none is set
|
String |
getSeparatorTag()
Deprecated.
|
String |
getSummaryClass()
Deprecated.
Type safe accessor to get the default document summary class for this
template set.
|
Template<? extends Writer> |
getTemplate(String templateName)
Deprecated.
Returns the selected template
|
void |
setHighlightTags(String start,
String end,
String sep)
Deprecated.
Sets the highligting marks for this template
|
void |
setSummaryClass(String summaryClass)
Deprecated.
Set the default summary class to use with this template.
|
void |
setTemplate(String templateName,
Template<? extends Writer> template)
Deprecated.
Sets the selected template
|
void |
setTemplateNotNull(String templateName,
Template<? extends Writer> template)
Deprecated.
Sets the selected template
|
public static final String DEFAULT_MIMETYPE
public static final String DEFAULT_ENCODING
public String getName()
public String getMimeType()
public String getEncoding()
public final String getRequestedEncoding(Query query)
public Template<? extends Writer> getTemplate(String templateName)
public void setTemplate(String templateName, Template<? extends Writer> template)
NullPointerException
- if the given template is nullpublic void setTemplateNotNull(String templateName, Template<? extends Writer> template)
NullPointerException
- if the given template is nullpublic void setHighlightTags(String start, String end, String sep)
start
- the highlingting start markend
- the highlingting end marksep
- the highlingting separator markpublic String getBoldOpenTag()
public String getBoldCloseTag()
public String getSeparatorTag()
public void setSummaryClass(String summaryClass)
public String getSummaryClass()
Copyright © 2018. All rights reserved.