things.thinger.service.httptool
Class Page

java.lang.Object
  extended by things.thinger.service.httptool.Page

public class Page
extends java.lang.Object

A page. Pages use the StreamTools.merge for templating--the book ended question marks around property names.

Version:
1.0

Version History

EPG - Initial - 18 NOV 07
 
Author:
Erich P. Gatejen

Constructor Summary
Page(java.lang.String pageName, java.lang.String sourceString)
          Constructor.
 
Method Summary
 java.lang.String getPageName()
          Get the page name.
 java.lang.String process(ThingsPropertyViewReader tags)
          Run the process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Page

public Page(java.lang.String pageName,
            java.lang.String sourceString)
     throws java.lang.Throwable
Constructor. Makes good for template work.

Parameters:
pageName - the page name.
sourceString -
Throws:
java.lang.Throwable
Method Detail

process

public java.lang.String process(ThingsPropertyViewReader tags)
                         throws java.lang.Throwable
Run the process.

Parameters:
tags - tags for replacement.
Returns:
return the completed page.
Throws:
java.lang.Throwable

getPageName

public java.lang.String getPageName()
Get the page name.

Returns:
the name


Things.