Class WebsiteHtmlBuilder
- java.lang.Object
-
- com.openindex.openestate.tool.agency.export.WebsiteHtmlBuilder
-
public class WebsiteHtmlBuilder extends Object
WebsiteHtmlBuilder.- Author:
- Andreas Rudolph
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATOM_XML
static String
COLORBOX_CSS
static String
COLORBOX_JQUERY_JS
static String
COLORBOX_JS
static String
EXPOSE_DIR
static String
IMMOBILIARE_XML
static String
INDEX_HTML
static String
KYERO_XML
static String
PREVIEW_JPG
static String
RSS_XML
static String
TROVIT_XML
static String
WEBSITE_CSS
-
Constructor Summary
Constructors Constructor Description WebsiteHtmlBuilder(WebsiteHtmlFormat format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
buildExposePage(ExportEntry entry, EstateImpl estate, AgentImpl agent, AgentContactImpl contact, File workDir, String downloadFileLink, Date stamp)
protected String
buildIndexItem(ExportEntry entry, EstateImpl estate, File workDir, String downloadFileLink)
protected String
buildIndexPage(Map<Long,String> indexItems, AgentImpl agent, int page, int pageCount, int elementsPerPage, Date stamp)
protected com.rometools.rome.feed.synd.SyndEntry
buildSyndEntry(ExportEntry entry, EstateImpl estate, AgentImpl agent, String estateUrl, Date stamp)
void
write(TransferImpl transfer, ExportContext context, DbAgencyExpose expose)
-
-
-
Field Detail
-
EXPOSE_DIR
public static final String EXPOSE_DIR
- See Also:
- Constant Field Values
-
INDEX_HTML
public static final String INDEX_HTML
- See Also:
- Constant Field Values
-
PREVIEW_JPG
public static final String PREVIEW_JPG
- See Also:
- Constant Field Values
-
RSS_XML
public static final String RSS_XML
- See Also:
- Constant Field Values
-
ATOM_XML
public static final String ATOM_XML
- See Also:
- Constant Field Values
-
KYERO_XML
public static final String KYERO_XML
- See Also:
- Constant Field Values
-
TROVIT_XML
public static final String TROVIT_XML
- See Also:
- Constant Field Values
-
IMMOBILIARE_XML
public static final String IMMOBILIARE_XML
- See Also:
- Constant Field Values
-
COLORBOX_CSS
public static final String COLORBOX_CSS
- See Also:
- Constant Field Values
-
COLORBOX_JS
public static final String COLORBOX_JS
- See Also:
- Constant Field Values
-
COLORBOX_JQUERY_JS
public static final String COLORBOX_JQUERY_JS
- See Also:
- Constant Field Values
-
WEBSITE_CSS
public static final String WEBSITE_CSS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WebsiteHtmlBuilder
public WebsiteHtmlBuilder(WebsiteHtmlFormat format)
-
-
Method Detail
-
buildExposePage
protected String buildExposePage(ExportEntry entry, EstateImpl estate, AgentImpl agent, AgentContactImpl contact, File workDir, String downloadFileLink, Date stamp)
-
buildIndexItem
protected String buildIndexItem(ExportEntry entry, EstateImpl estate, File workDir, String downloadFileLink)
-
buildIndexPage
protected String buildIndexPage(Map<Long,String> indexItems, AgentImpl agent, int page, int pageCount, int elementsPerPage, Date stamp)
-
buildSyndEntry
protected com.rometools.rome.feed.synd.SyndEntry buildSyndEntry(ExportEntry entry, EstateImpl estate, AgentImpl agent, String estateUrl, Date stamp)
-
write
public void write(TransferImpl transfer, ExportContext context, DbAgencyExpose expose) throws IOException
- Throws:
IOException
-
-