Xindice API
version 1.2m1

org.apache.xindice.webadmin.viewer.components
Class ListCollectionViewer

java.lang.Object
  extended byorg.apache.xindice.webadmin.viewer.HtmlViewerComponent
      extended byorg.apache.xindice.webadmin.viewer.components.ListCollectionViewer
All Implemented Interfaces:
HtmlCollectionViewer

public class ListCollectionViewer
extends HtmlViewerComponent
implements HtmlCollectionViewer

Xindice Html Viewer for collection listings.

Version:
$Revision: 541515 $, $Date: 2007-05-24 22:45:06 -0400 (Thu, 24 May 2007) $
Author:
Jan Metzner

Nested Class Summary
protected  class ListCollectionViewer.TableRow
           
 
Field Summary
static String DATE_FORMAT
          Simple date format for the modification date representation.
 
Fields inherited from class org.apache.xindice.webadmin.viewer.HtmlViewerComponent
CREATE_FORM_COMPRESSED_DEFAULT, CREATE_FORM_COMPRESSED_END, CREATE_FORM_FILER, CREATE_FORM_META_DEFAULT, CREATE_FORM_META_END, CREATE_FORM_START, END_CONFIG_FORM, END_HTML_HEADER_SECTION, END_PATH_SECTION, END_SEARCH_FORM, END_TAB, END_TABLE, END_TABLE_BOX, END_TABLE_ROW, END_TABS_SECTION, FOOTER, HTML_HEADER_SECTION, HTML_TAIL_SECTION, LEFT_PATH_SECTION, LOGO_SECTION, RIGHT_PATH_SECTION, SEARCH_FROM_END_HIDDEN_VIEWER, SEARCH_FROM_END_NS_HEADER, SEARCH_FROM_END_NS_HEADER_OPT, SEARCH_FROM_END_NS_PREFIX, SEARCH_FROM_END_NS_URI, SEARCH_FROM_END_QUERY, SEARCH_FROM_MIDDLE_NS_URI, SEARCH_FROM_START_HIDDEN_VIEWER, SEARCH_FROM_START_NS, SEARCH_FROM_START_NS_HEADER, SEARCH_FROM_START_NS_HEADER_OPT, SEARCH_FROM_START_NS_HEADER_OPT_SEL, SEARCH_FROM_START_NS_PREFIX, SEARCH_FROM_START_NS_URI, SEARCH_FROM_START_QUERY, START_CONFIG_FORM, START_SEARCH_FORM, START_TAB, START_TAB_SELECTED, START_TABLE, START_TABLE_BOX, START_TABLE_BOX_TITLE, START_TABLE_ROW, START_TABS_SECTION, TAB_SPACE, TAB_SPACE_SELECTED, UPLOAD_FORM
 
Constructor Summary
ListCollectionViewer()
           
 
Method Summary
 void execute(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, Collection col)
          Executes request to a collection.
protected  String getName()
           
 
Methods inherited from class org.apache.xindice.webadmin.viewer.HtmlViewerComponent
finishViewer, htmlescape, htmlescape, printEndSingleTableBox, printEndTable, printHeader, printSearchFromRow, printStartSingleTableBox, printStartTable, printStartTable, printTableRow, printTableRow, printTabs, startViewer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE_FORMAT

public static final String DATE_FORMAT
Simple date format for the modification date representation.

See Also:
Constant Field Values
Constructor Detail

ListCollectionViewer

public ListCollectionViewer()
Method Detail

execute

public void execute(javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse res,
                    Collection col)
             throws javax.servlet.ServletException,
                    IOException
Description copied from interface: HtmlCollectionViewer
Executes request to a collection.

Specified by:
execute in interface HtmlCollectionViewer
Parameters:
req - request from servlet.
res - servlet response.
col - requested collection (not null).
Throws:
javax.servlet.ServletException
IOException

getName

protected String getName()
Specified by:
getName in class HtmlViewerComponent

Xindice API
version 1.2m1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.