org.opoo.press.impl
类 AbstractConvertible
java.lang.Object
org.opoo.press.impl.AbstractConvertible
- 所有已实现的接口:
- Convertible
- 直接已知子类:
- AbstractBase, CategoryGenerator.CategoryPage, TagGenerator.TagPage
public abstract class AbstractConvertible
- extends Object
- implements Convertible
- 作者:
- Alex Lin
|
字段摘要 |
protected org.slf4j.Logger |
log
|
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.slf4j.Logger log
AbstractConvertible
public AbstractConvertible()
getUrl
public abstract String getUrl()
getContent
public abstract String getContent()
setContent
public abstract void setContent(String content)
getOutputFileExtension
public abstract String getOutputFileExtension()
getLayout
public abstract String getLayout()
getRenderer
protected abstract Renderer getRenderer()
mergeRootMap
protected abstract void mergeRootMap(Map<String,Object> rootMap)
getSource
public abstract Source getSource()
render
public void render(Map<String,Object> rootMap)
- 指定者:
- 接口
Convertible 中的 render
- 参数:
rootMap - root object for FreeMarker template
getOutputFile
public File getOutputFile(File dest)
- 指定者:
- 接口
Convertible 中的 getOutputFile
- 返回:
- output file
write
public void write(File dest)
- 指定者:
- 接口
Convertible 中的 write
Copyright © 2013-2014 Opoo.org. All Rights Reserved.