org.opoo.press.impl
类 TagImpl
java.lang.Object
org.opoo.press.impl.TagImpl
- 所有已实现的接口:
- PostsHolder, Tag
public class TagImpl
- extends Object
- implements Tag
- 作者:
- Alex Lin
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagImpl
public TagImpl(String slug,
String name,
Site site)
- 参数:
slug - name -
getSlug
public String getSlug()
- 指定者:
- 接口
Tag 中的 getSlug
- 返回:
- the slug
setSlug
public void setSlug(String slug)
- 参数:
slug - the slug to set
getName
public String getName()
- 指定者:
- 接口
Tag 中的 getName
- 返回:
- the name
setName
public void setName(String name)
- 参数:
name - the name to set
isNameOrSlug
public boolean isNameOrSlug(String nameOrSlug)
- 指定者:
- 接口
Tag 中的 isNameOrSlug
getUrl
public String getUrl()
- 指定者:
- 接口
Tag 中的 getUrl
getPosts
public List<Post> getPosts()
- 指定者:
- 接口
PostsHolder 中的 getPosts
getPostSize
public int getPostSize()
Copyright © 2013-2014 Opoo.org. All Rights Reserved.