net.sourceforge.blogentis.utils
Class AbsoluteLinkURL
java.lang.Object
net.sourceforge.blogentis.utils.AbsoluteLinkURL
- All Implemented Interfaces:
- org.apache.turbine.services.pull.ApplicationTool
- public class AbsoluteLinkURL
- extends java.lang.Object
- implements org.apache.turbine.services.pull.ApplicationTool
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
YearFormat
public static final java.text.NumberFormat YearFormat
MonthFormat
public static final java.text.NumberFormat MonthFormat
DayFormat
public static final java.text.NumberFormat DayFormat
absolute_url
protected boolean absolute_url
blogName
protected java.lang.String blogName
buffer
protected java.lang.StringBuffer buffer
date
protected DateSpecification date
hasQueryData
protected boolean hasQueryData
map
protected java.util.Map map
postId
protected int postId
prefix
protected java.lang.String prefix
sectionName
protected java.lang.String sectionName
fragmentName
protected java.lang.String fragmentName
template
protected java.lang.String template
AbsoluteLinkURL
public AbsoluteLinkURL()
addMap
public AbsoluteLinkURL addMap(java.util.Map m)
throws java.lang.ClassCastException
- Throws:
java.lang.ClassCastException
addQueryData
public AbsoluteLinkURL addQueryData(java.lang.String name,
java.lang.String value)
clear
public AbsoluteLinkURL clear()
getBlogName
public java.lang.String getBlogName()
permaLink
public AbsoluteLinkURL permaLink(Blog blog)
permaLink
public AbsoluteLinkURL permaLink(Post post)
permaLink
public AbsoluteLinkURL permaLink(Comment c)
permaLink
public AbsoluteLinkURL permaLink(Section section)
getTemplate
public java.lang.String getTemplate()
setBlog
public AbsoluteLinkURL setBlog(Blog blog)
setBlogName
public void setBlogName(java.lang.String string)
setFile
public AbsoluteLinkURL setFile(java.lang.String file)
setPost
public AbsoluteLinkURL setPost(int post)
setPost
public AbsoluteLinkURL setPost(Post post)
setTemplate
public void setTemplate(java.lang.String string)
thisPage
public AbsoluteLinkURL thisPage(org.apache.turbine.util.RunData data)
thisBlog
public AbsoluteLinkURL thisBlog(org.apache.turbine.util.RunData data)
toString
public java.lang.String toString()
setAction
public AbsoluteLinkURL setAction(java.lang.String action)
init
public void init(java.lang.Object data)
- Specified by:
init
in interface org.apache.turbine.services.pull.ApplicationTool
refresh
public void refresh()
- Specified by:
refresh
in interface org.apache.turbine.services.pull.ApplicationTool
setPage
public AbsoluteLinkURL setPage(java.lang.String page)
setSection
public AbsoluteLinkURL setSection(java.lang.String name)
setSection
public AbsoluteLinkURL setSection(Section sec)
setDate
public AbsoluteLinkURL setDate(DateSpecification date)
setDate
public AbsoluteLinkURL setDate(java.util.Date date)
defaultTemplate
public AbsoluteLinkURL defaultTemplate()
setImage
public AbsoluteLinkURL setImage(java.lang.String image)
setFragment
public void setFragment(java.lang.String string)
Copyright © 2003-2004 SourceForge.net. All Rights Reserved.