Esri Geoportal Server
1.0

com.esri.gpt.control.georss
Class HtmlAdvancedWriter

java.lang.Object
  extended by com.esri.gpt.control.georss.HtmlAdvancedWriter
All Implemented Interfaces:
FeedWriter

public class HtmlAdvancedWriter
extends Object
implements FeedWriter

The Class HtmlAdvancedWriter. Generates the JSF page from rest.


Constructor Summary
HtmlAdvancedWriter()
           
 
Method Summary
 SearchCriteria getCriteria()
          Gets the criteria.
 RequestContext getRequestContext()
          Gets the request context.
 boolean isResultsOnly()
          Checks if is results only.
 void setCriteria(SearchCriteria criteria)
          Sets the criteria.
 void setRequestContext(RequestContext requestContext)
          Sets the request context.
 void setResultsOnly(boolean resultsOnly)
          Sets the results only.
protected  void showResults()
          Show results.
 void write(SearchResult result)
          Write.
 void write(SearchResultRecords records)
          Write.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlAdvancedWriter

public HtmlAdvancedWriter()
Method Detail

isResultsOnly

public boolean isResultsOnly()
Checks if is results only.

Returns:
true, if is results only

setResultsOnly

public void setResultsOnly(boolean resultsOnly)
Sets the results only.

Parameters:
resultsOnly - the new results only

getCriteria

public SearchCriteria getCriteria()
Gets the criteria.

Returns:
the criteria (possibly null)

setCriteria

public void setCriteria(SearchCriteria criteria)
Sets the criteria.

Parameters:
criteria - the new criteria

getRequestContext

public RequestContext getRequestContext()
Gets the request context.

Returns:
the request context

setRequestContext

public void setRequestContext(RequestContext requestContext)
Sets the request context.

Parameters:
requestContext - the new request context

write

public void write(SearchResultRecords records)
Write.

Specified by:
write in interface FeedWriter
Parameters:
records - the records
See Also:
FeedWriter.write(com.esri.gpt.catalog.search.SearchResultRecords)

write

public void write(SearchResult result)
Write.

Parameters:
result - the result

showResults

protected void showResults()
                    throws Exception
Show results.

Throws:
Exception - the exception

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.