|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.rtf.helper.RTFTemplateBuilder
public class RTFTemplateBuilder
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_FREEMARKER_RTFTEMPLATE
|
static java.lang.String |
DEFAULT_RTFDOCUMENTPARSER
|
static java.lang.String |
DEFAULT_VELOCITY_RTFTEMPLATE
|
static java.lang.String |
FREEMARKER_ENGINE
|
static java.lang.String |
FREEMARKER_TRANSFORMER
|
static java.lang.String |
VELOCITY_ENGINE
|
static java.lang.String |
VELOCITY_TRANSFORMER
|
| Method Summary | |
|---|---|
IRTFDocumentParser |
newRTFDocumentParser()
|
IRTFDocumentParser |
newRTFDocumentParser(java.lang.String rtfDocumentParserType)
Return RTFDocumentParser implementation of template engine type rtfDocumentParserType. |
IRTFDocumentTransformer |
newRTFDocumentTransformer(java.lang.String rtfDocumentTransformerType)
Return RTFDocumentTransformer implementation of template engine type rtfDocumentTransformerType. |
RTFTemplate |
newRTFTemplate()
Reurn RTFTemplate with Velocity Implementation. |
RTFTemplate |
newRTFTemplate(java.lang.String rtfTemplateType)
Return RTFTemplate implementation of rtf template type rtfTemplateType. |
static RTFTemplateBuilder |
newRTFTemplateBuilder()
|
static RTFTemplateBuilder |
newRTFTemplateBuilder(org.springframework.context.ApplicationContext applicationContext)
|
static RTFTemplateBuilder |
newRTFTemplateBuilder(java.lang.String configLocation)
|
static RTFTemplateBuilder |
newRTFTemplateBuilder(java.lang.String key,
org.springframework.context.ApplicationContext applicationContext)
|
ITemplateEngine |
newTemplateEngine(java.lang.String templateEngineType)
Return TemplateEngine implementation of template engine type templateEngineType. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_FREEMARKER_RTFTEMPLATE
public static final java.lang.String DEFAULT_VELOCITY_RTFTEMPLATE
public static final java.lang.String DEFAULT_RTFDOCUMENTPARSER
public static final java.lang.String VELOCITY_ENGINE
public static final java.lang.String VELOCITY_TRANSFORMER
public static final java.lang.String FREEMARKER_ENGINE
public static final java.lang.String FREEMARKER_TRANSFORMER
| Method Detail |
|---|
public static RTFTemplateBuilder newRTFTemplateBuilder()
public static RTFTemplateBuilder newRTFTemplateBuilder(java.lang.String configLocation)
public static RTFTemplateBuilder newRTFTemplateBuilder(java.lang.String key,
org.springframework.context.ApplicationContext applicationContext)
public static RTFTemplateBuilder newRTFTemplateBuilder(org.springframework.context.ApplicationContext applicationContext)
public RTFTemplate newRTFTemplate(java.lang.String rtfTemplateType)
throws UnsupportedRTFTemplate
rtfTemplateType. Throw
exception UnsupportedRTFTemplate if template
type is not supported.
RTFfDocument - Type (fmRTFTemplate, vmRTFTemplate,...)
UnsupportedRTFDocumentTransformer
UnsupportedRTFTemplate
public RTFTemplate newRTFTemplate()
throws UnsupportedRTFTemplate
UnsupportedRTFTemplate
public ITemplateEngine newTemplateEngine(java.lang.String templateEngineType)
throws UnsupportedTemplateEngine
templateEngineType. Throw
exception UnsupportedTemplateEngine if template
engine is not supported.
templateEngineType - template engine type (fm, vm,...)
UnsupportedTemplateEngine
public IRTFDocumentTransformer newRTFDocumentTransformer(java.lang.String rtfDocumentTransformerType)
throws UnsupportedRTFDocumentTransformer
rtfDocumentTransformerType. Throw
exception UnsupportedRTFDocumentTransformer if template
engine is not supported.
RTFfDocument - Transformer Type (fmTransformer, vmTransformer,...)
UnsupportedRTFDocumentTransformer
public IRTFDocumentParser newRTFDocumentParser(java.lang.String rtfDocumentParserType)
throws UnsupportedRTFDocumentParser
rtfDocumentParserType. Throw
exception UnsupportedRTFDocumentParser if template
engine is not supported.
RTFfDocument - Parser Type (defaultRTFParser,...)
UnsupportedRTFDocumentParser
public IRTFDocumentParser newRTFDocumentParser()
throws UnsupportedRTFDocumentParser
UnsupportedRTFDocumentParser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||