net.sourceforge.blogentis.storage
Class VelocityFragment

java.lang.Object
  extended bynet.sourceforge.blogentis.storage.VelocityFragment
Direct Known Subclasses:
AdminBlog, ArchivesByMonth, BlogFileList, BlogList, CalendarBox, DefaultStripe, EditableSection, Post, PostDetails, PostListByDay, RecentComments, RecentPosts, SectionList, ShowComment, TrackbackPostEdit

public class VelocityFragment
extends java.lang.Object

Author:
abas

Field Summary
protected  int blogID
           
protected  org.apache.velocity.Template template
           
protected  java.lang.String templateName
           
 
Constructor Summary
VelocityFragment()
           
 
Method Summary
 java.lang.String build(org.apache.turbine.util.RunData data)
           
protected  void doBuildTemplate(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context)
           
 java.lang.Object getName()
           
 void init(Blog blog, java.lang.String name)
           
 VelocityFragment invoke(org.apache.velocity.context.Context context)
           
 VelocityFragment invoke(org.apache.velocity.context.Context context, java.lang.Object param)
           
 VelocityFragment invoke(org.apache.velocity.context.Context context, java.lang.Object param1, java.lang.Object param2)
           
 VelocityFragment invoke(org.apache.turbine.util.RunData data)
           
 VelocityFragment invoke(org.apache.turbine.util.RunData data, java.lang.Object param)
           
 VelocityFragment invoke(org.apache.turbine.util.RunData data, java.lang.Object param1, java.lang.Object param2)
           
protected  void loadTemplate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blogID

protected int blogID

templateName

protected java.lang.String templateName

template

protected org.apache.velocity.Template template
Constructor Detail

VelocityFragment

public VelocityFragment()
Method Detail

getName

public java.lang.Object getName()

init

public void init(Blog blog,
                 java.lang.String name)
          throws java.lang.Exception
Throws:
java.lang.Exception

loadTemplate

protected void loadTemplate()
                     throws java.lang.Exception
Throws:
java.lang.Exception

build

public java.lang.String build(org.apache.turbine.util.RunData data)
                       throws java.lang.Exception
Throws:
java.lang.Exception

doBuildTemplate

protected void doBuildTemplate(org.apache.turbine.util.RunData data,
                               org.apache.velocity.context.Context context)
                        throws java.lang.Exception
Throws:
java.lang.Exception

invoke

public VelocityFragment invoke(org.apache.velocity.context.Context context)
                        throws java.lang.Exception
Throws:
java.lang.Exception

invoke

public VelocityFragment invoke(org.apache.velocity.context.Context context,
                               java.lang.Object param)
                        throws java.lang.Exception
Throws:
java.lang.Exception

invoke

public VelocityFragment invoke(org.apache.velocity.context.Context context,
                               java.lang.Object param1,
                               java.lang.Object param2)
                        throws java.lang.Exception
Throws:
java.lang.Exception

invoke

public VelocityFragment invoke(org.apache.turbine.util.RunData data)
                        throws java.lang.Exception
Throws:
java.lang.Exception

invoke

public VelocityFragment invoke(org.apache.turbine.util.RunData data,
                               java.lang.Object param)
                        throws java.lang.Exception
Throws:
java.lang.Exception

invoke

public VelocityFragment invoke(org.apache.turbine.util.RunData data,
                               java.lang.Object param1,
                               java.lang.Object param2)
                        throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2003-2004 SourceForge.net. All Rights Reserved.