ccc.migration.ccc6.handlers
Class StyleSheetSelector

java.lang.Object
  extended by ccc.migration.ccc6.handlers.StyleSheetSelector
All Implemented Interfaces:
SqlQuery<java.lang.String>, org.apache.commons.dbutils.ResultSetHandler

public final class StyleSheetSelector
extends java.lang.Object
implements SqlQuery<java.lang.String>

A SQL query that retrieves CCC6 style sheet code for a resource.

Author:
Civic Computing Ltd.

Constructor Summary
StyleSheetSelector()
           
 
Method Summary
 java.lang.String getSql()
          Accessor.
 java.lang.String handle(java.sql.ResultSet rs)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleSheetSelector

public StyleSheetSelector()
Method Detail

handle

public java.lang.String handle(java.sql.ResultSet rs)
                        throws java.sql.SQLException

Specified by:
handle in interface SqlQuery<java.lang.String>
Specified by:
handle in interface org.apache.commons.dbutils.ResultSetHandler
Throws:
java.sql.SQLException

getSql

public java.lang.String getSql()
Accessor.

Specified by:
getSql in interface SqlQuery<java.lang.String>
Returns:
The SQL for this query, as a string.


Copyright © 2010. All Rights Reserved.