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
           
 
构造方法摘要
AbstractConvertible()
           
 
方法摘要
abstract  String getContent()
           
abstract  String getLayout()
           
 File getOutputFile(File dest)
           
abstract  String getOutputFileExtension()
           
protected abstract  Renderer getRenderer()
           
abstract  Source getSource()
           
abstract  String getUrl()
           
protected abstract  void mergeRootMap(Map<String,Object> rootMap)
           
 void render(Map<String,Object> rootMap)
           
abstract  void setContent(String content)
           
 void write(File dest)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 org.opoo.press.Convertible 继承的方法
convert
 

字段详细信息

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.