org.opoo.press.impl
类 PageImpl
java.lang.Object
org.opoo.press.impl.AbstractConvertible
org.opoo.press.impl.AbstractBase
org.opoo.press.impl.PageImpl
- 所有已实现的接口:
- Base, Convertible, Page
public class PageImpl
- extends AbstractBase
- implements Page
- 作者:
- Alex Lin
| 从类 org.opoo.press.impl.AbstractBase 继承的方法 |
convert, 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 |
PageImpl
public PageImpl(Site site,
Source source)
- Construct a page instance.
- 参数:
site - source -
PageImpl
public PageImpl(Site site,
Source source,
Pager pager)
- 参数:
site - source - pager -
setPager
public void setPager(Pager pager)
- 指定者:
- 接口
Page 中的 setPager
getPager
public Pager getPager()
- 指定者:
- 接口
Page 中的 getPager
mergeRootMap
protected void mergeRootMap(Map<String,Object> rootMap)
- 覆盖:
- 类
AbstractBase 中的 mergeRootMap
containsHighlightCodeBlock
protected boolean containsHighlightCodeBlock(Highlighter highlighter)
- 覆盖:
- 类
AbstractBase 中的 containsHighlightCodeBlock
getPage
public Page getPage(Page current,
int targetPageNumber)
- 参数:
current - targetPageNumber -
- 返回:
- the page object by the specified page number.
getPage
public Page getPage(int targetPageNumber)
- 查找指定页码的 page 对象。
- 参数:
targetPageNumber -
- 返回:
- the target page
Copyright © 2013 Opoo.org. All Rights Reserved.