org.opengts.war.tools
Class PageDecorationsAdaptor

java.lang.Object
  extended by org.opengts.war.tools.PageDecorationsAdaptor
All Implemented Interfaces:
PageDecorations

public class PageDecorationsAdaptor
extends java.lang.Object
implements PageDecorations


Constructor Summary
PageDecorationsAdaptor()
           
PageDecorationsAdaptor(PageDecorations dftPageDecor)
           
 
Method Summary
 PageDecorations getDefaultPageDecorations()
           
 java.lang.String getJspURI()
           
 java.lang.String getPageFooter()
           
 java.lang.String getPageHeader()
           
 java.lang.String getPageLeft()
           
 java.lang.String getPageNavigation()
           
 java.lang.String getPageRight()
           
 java.lang.String getPageStyle()
           
 boolean hasJspURI()
           
 void setDefaultPageDecorations(PageDecorations dftPageDecor)
           
 void setJspURI(java.lang.String jspURI)
           
 void setPageFooter(java.lang.String footer)
           
 void setPageHeader(java.lang.String header)
           
 void setPageLeft(java.lang.String left)
           
 void setPageNavigation(java.lang.String navigate)
           
 void setPageRight(java.lang.String right)
           
 void setPageStyle(java.lang.String style)
           
protected  java.lang.String trimStringRecords(java.lang.String s)
           
 void writeFooter(java.io.PrintWriter out, RequestProperties reqState)
           
 void writeHeader(java.io.PrintWriter out, RequestProperties reqState)
           
 void writeLeft(java.io.PrintWriter out, RequestProperties reqState)
           
 void writeNavigation(java.io.PrintWriter out, RequestProperties reqState)
           
 void writeRight(java.io.PrintWriter out, RequestProperties reqState)
           
 void writeStyle(java.io.PrintWriter out, RequestProperties reqState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageDecorationsAdaptor

public PageDecorationsAdaptor()

PageDecorationsAdaptor

public PageDecorationsAdaptor(PageDecorations dftPageDecor)
Method Detail

setDefaultPageDecorations

public void setDefaultPageDecorations(PageDecorations dftPageDecor)
Specified by:
setDefaultPageDecorations in interface PageDecorations

getDefaultPageDecorations

public PageDecorations getDefaultPageDecorations()

hasJspURI

public boolean hasJspURI()
Specified by:
hasJspURI in interface PageDecorations

setJspURI

public void setJspURI(java.lang.String jspURI)
Specified by:
setJspURI in interface PageDecorations

getJspURI

public java.lang.String getJspURI()
Specified by:
getJspURI in interface PageDecorations

trimStringRecords

protected java.lang.String trimStringRecords(java.lang.String s)

setPageStyle

public void setPageStyle(java.lang.String style)
Specified by:
setPageStyle in interface PageDecorations

getPageStyle

public java.lang.String getPageStyle()

writeStyle

public void writeStyle(java.io.PrintWriter out,
                       RequestProperties reqState)
                throws java.io.IOException
Specified by:
writeStyle in interface PageDecorations
Throws:
java.io.IOException

setPageHeader

public void setPageHeader(java.lang.String header)
Specified by:
setPageHeader in interface PageDecorations

getPageHeader

public java.lang.String getPageHeader()

writeHeader

public void writeHeader(java.io.PrintWriter out,
                        RequestProperties reqState)
                 throws java.io.IOException
Specified by:
writeHeader in interface PageDecorations
Throws:
java.io.IOException

setPageNavigation

public void setPageNavigation(java.lang.String navigate)
Specified by:
setPageNavigation in interface PageDecorations

getPageNavigation

public java.lang.String getPageNavigation()

writeNavigation

public void writeNavigation(java.io.PrintWriter out,
                            RequestProperties reqState)
                     throws java.io.IOException
Specified by:
writeNavigation in interface PageDecorations
Throws:
java.io.IOException

setPageFooter

public void setPageFooter(java.lang.String footer)
Specified by:
setPageFooter in interface PageDecorations

getPageFooter

public java.lang.String getPageFooter()

writeFooter

public void writeFooter(java.io.PrintWriter out,
                        RequestProperties reqState)
                 throws java.io.IOException
Specified by:
writeFooter in interface PageDecorations
Throws:
java.io.IOException

setPageLeft

public void setPageLeft(java.lang.String left)
Specified by:
setPageLeft in interface PageDecorations

getPageLeft

public java.lang.String getPageLeft()

writeLeft

public void writeLeft(java.io.PrintWriter out,
                      RequestProperties reqState)
               throws java.io.IOException
Specified by:
writeLeft in interface PageDecorations
Throws:
java.io.IOException

setPageRight

public void setPageRight(java.lang.String right)
Specified by:
setPageRight in interface PageDecorations

getPageRight

public java.lang.String getPageRight()

writeRight

public void writeRight(java.io.PrintWriter out,
                       RequestProperties reqState)
                throws java.io.IOException
Specified by:
writeRight in interface PageDecorations
Throws:
java.io.IOException