org.opoo.press.impl
类 PostImpl
java.lang.Object
org.opoo.press.impl.AbstractConvertible
org.opoo.press.impl.AbstractBase
org.opoo.press.impl.PostImpl
- 所有已实现的接口:
- Comparable<Post>, Base, Convertible, Post
- 直接已知子类:
- Draft
public class PostImpl
- extends AbstractBase
- implements Post, Comparable<Post>
- 作者:
- Alex Lin
| 从类 org.opoo.press.impl.AbstractBase 继承的方法 |
containsHighlightCodeBlock, get, getContent, getConverter, getDate_formatted, getDate, getDateFormatted, getLayout, getOutputFileExtension, getPath, getPermalink, getRenderer, getSite, getSource, getUpdated_formatted, getUpdated, getUpdatedFormatted, getUrl, set, setContent, setUrl |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 从接口 org.opoo.press.Base 继承的方法 |
get, getContent, getDate, getDateFormatted, getLayout, getPath, getPermalink, getSource, getUpdated, getUpdatedFormatted, getUrl, set |
DEFAUL_EXCERPT_SEPARATOR
public static final String DEFAUL_EXCERPT_SEPARATOR
- 另请参见:
- 常量字段值
FILENAME_PATTERN
public static Pattern FILENAME_PATTERN
convert
public void convert()
- 指定者:
- 接口
Convertible 中的 convert - 覆盖:
- 类
AbstractBase 中的 convert
getStringCategories
public List<String> getStringCategories()
getStringTags
public List<String> getStringTags()
getId
public String getId()
- 指定者:
- 接口
Post 中的 getId
- 返回:
- the id
getTitle
public String getTitle()
- 指定者:
- 接口
Post 中的 getTitle
- 返回:
- the title
getExcerpt
public String getExcerpt()
- 指定者:
- 接口
Post 中的 getExcerpt
- 返回:
- the excerpt
isExcerpted
public boolean isExcerpted()
- 指定者:
- 接口
Post 中的 isExcerpted
- 返回:
- the excerpted
isPublished
public boolean isPublished()
getNext
public Post getNext()
- 指定者:
- 接口
Post 中的 getNext
- 返回:
- the next
setNext
public void setNext(Post next)
- 指定者:
- 接口
Post 中的 setNext
setPrevious
public void setPrevious(Post previous)
- 指定者:
- 接口
Post 中的 setPrevious
getPrevious
public Post getPrevious()
- 指定者:
- 接口
Post 中的 getPrevious
- 返回:
- the previous
getRelatedPosts
public List<Post> getRelatedPosts()
compareTo
public int compareTo(Post o)
- 指定者:
- 接口
Comparable<Post> 中的 compareTo
render
public void render(Map<String,Object> rootMap)
- 指定者:
- 接口
Convertible 中的 render - 覆盖:
- 类
AbstractConvertible 中的 render
- 参数:
rootMap - root object for FreeMarker template
mergeRootMap
protected void mergeRootMap(Map<String,Object> rootMap)
- 覆盖:
- 类
AbstractBase 中的 mergeRootMap
getCategories
public List<Category> getCategories()
- 指定者:
- 接口
Post 中的 getCategories
- 返回:
- the categories
setCategories
public void setCategories(List<Category> categories)
- 参数:
categories - the categories to set
getTags
public List<Tag> getTags()
- 指定者:
- 接口
Post 中的 getTags
- 返回:
- the tags
setTags
public void setTags(List<Tag> tags)
- 参数:
tags - the tags to set
Copyright © 2013-2014 Opoo.org. All Rights Reserved.