net.sourceforge.blogentis.utils
Class AbsoluteLinkURL

java.lang.Object
  extended bynet.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


Field Summary
protected  boolean absolute_url
           
protected  java.lang.String blogName
           
protected  java.lang.StringBuffer buffer
           
protected  DateSpecification date
           
static java.text.NumberFormat DayFormat
           
protected  java.lang.String fragmentName
           
protected  boolean hasQueryData
           
protected  java.util.Map map
           
static java.text.NumberFormat MonthFormat
           
protected  int postId
           
protected  java.lang.String prefix
           
protected  java.lang.String sectionName
           
protected  java.lang.String template
           
static java.text.NumberFormat YearFormat
           
 
Constructor Summary
AbsoluteLinkURL()
           
 
Method Summary
 AbsoluteLinkURL addMap(java.util.Map m)
           
 AbsoluteLinkURL addQueryData(java.lang.String name, java.lang.String value)
           
 AbsoluteLinkURL clear()
           
 AbsoluteLinkURL defaultTemplate()
           
 java.lang.String getBlogName()
           
 java.lang.String getTemplate()
           
 void init(java.lang.Object data)
           
 AbsoluteLinkURL permaLink(Blog blog)
           
 AbsoluteLinkURL permaLink(Comment c)
           
 AbsoluteLinkURL permaLink(Post post)
           
 AbsoluteLinkURL permaLink(Section section)
           
 void refresh()
           
 AbsoluteLinkURL setAction(java.lang.String action)
           
 AbsoluteLinkURL setBlog(Blog blog)
           
 void setBlogName(java.lang.String string)
           
 AbsoluteLinkURL setDate(java.util.Date date)
           
 AbsoluteLinkURL setDate(DateSpecification date)
           
 AbsoluteLinkURL setFile(java.lang.String file)
           
 void setFragment(java.lang.String string)
           
 AbsoluteLinkURL setImage(java.lang.String image)
           
 AbsoluteLinkURL setPage(java.lang.String page)
           
 AbsoluteLinkURL setPost(int post)
           
 AbsoluteLinkURL setPost(Post post)
           
 AbsoluteLinkURL setSection(Section sec)
           
 AbsoluteLinkURL setSection(java.lang.String name)
           
 void setTemplate(java.lang.String string)
           
 AbsoluteLinkURL thisBlog(org.apache.turbine.util.RunData data)
           
 AbsoluteLinkURL thisPage(org.apache.turbine.util.RunData data)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

AbsoluteLinkURL

public AbsoluteLinkURL()
Method Detail

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.