com.openindex.openestate.tool.agency.utils
Class HtmlIndexBuilder

java.lang.Object
  extended by com.openindex.openestate.tool.agency.utils.HtmlBuilder
      extended by com.openindex.openestate.tool.agency.utils.HtmlIndexBuilder

public class HtmlIndexBuilder
extends HtmlBuilder

HtmlIndexBuilder.
$Id: HtmlIndexBuilder.java 1829 2012-10-14 14:24:52Z andy $

Author:
Andreas Rudolph

Field Summary
 
Fields inherited from class com.openindex.openestate.tool.agency.utils.HtmlBuilder
BASE_STYLESHEET, HTML_RES_PATH
 
Constructor Summary
HtmlIndexBuilder(WebsiteHtmlExport e)
           
 
Method Summary
 void addItem(AgencyEstate estate, String exposePath, boolean showPreviewImage, boolean showPdfLink)
           
protected  String buildWebsite(AgencyAgent agent, int page, int pageCount, int elementsPerPage, String baseStylesheet, String addonStylesheet)
           
protected  String buildWebsiteItem(AgencyEstate estate, String exposePath, boolean showPreviewImage, boolean showPdfLink)
           
 void setLocale(Locale val)
           
 void storeWebsites(AgencyAgent agent, int elementsPerPage, File baseDir)
           
 void storeWebsites(AgencyAgent agent, int elementsPerPage, File baseDir, String baseStylesheet)
           
 
Methods inherited from class com.openindex.openestate.tool.agency.utils.HtmlBuilder
getEncoding, getExport, getLocale, prepareString, saveFile, saveHtml, setEncoding, storeDefaultStylesheet, writeText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlIndexBuilder

public HtmlIndexBuilder(WebsiteHtmlExport e)
Method Detail

addItem

public void addItem(AgencyEstate estate,
                    String exposePath,
                    boolean showPreviewImage,
                    boolean showPdfLink)

buildWebsite

protected String buildWebsite(AgencyAgent agent,
                              int page,
                              int pageCount,
                              int elementsPerPage,
                              String baseStylesheet,
                              String addonStylesheet)

buildWebsiteItem

protected String buildWebsiteItem(AgencyEstate estate,
                                  String exposePath,
                                  boolean showPreviewImage,
                                  boolean showPdfLink)

setLocale

public void setLocale(Locale val)
Overrides:
setLocale in class HtmlBuilder

storeWebsites

public void storeWebsites(AgencyAgent agent,
                          int elementsPerPage,
                          File baseDir)
                   throws IOException
Throws:
IOException

storeWebsites

public void storeWebsites(AgencyAgent agent,
                          int elementsPerPage,
                          File baseDir,
                          String baseStylesheet)
                   throws IOException
Throws:
IOException


Copyright © 2012 OpenEstate. All Rights Reserved.