Skip navigation links

Oracle Fusion Middleware Web 2.0 Services Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1)
E10693-01


oracle.webcenter.search.refine
Class DateRefiner

java.lang.Object
  extended by oracle.webcenter.search.refine.Refiner<java.util.Calendar>
      extended by oracle.webcenter.search.refine.DateRefiner

All Implemented Interfaces:
java.io.Serializable

public class DateRefiner
extends Refiner<java.util.Calendar>

The DateRefiner is a Calendar subclass of the base Refiner class that focuses on Refinements of the Calendar type.

Since:
11.1.1.0.0 Beta 2
See Also:
Serialized Form

Constructor Summary
DateRefiner(QName column, java.util.Map<java.util.Calendar,java.lang.Integer> counters)
          Constructs a DateRefiner on a column with a map of counters registering counts for each Calendar value.

 

Method Summary
protected  Refinement<java.util.Calendar> createRefinement(java.util.Calendar key, int count)
          The only responsbility of the DateRefiner subclass is to create a Refinement of type Calendar; so we just return a new DateRefinement.

 

Methods inherited from class oracle.webcenter.search.refine.Refiner
addRefinements, getName, getRefinements, lookupRefinement, organize, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

DateRefiner

public DateRefiner(QName column,
                   java.util.Map<java.util.Calendar,java.lang.Integer> counters)
Constructs a DateRefiner on a column with a map of counters registering counts for each Calendar value.
Parameters:
column - the qualified QName of a column in a Row of results
counters - a Map of counters keyed by a Calendar value

Method Detail

createRefinement

protected Refinement<java.util.Calendar> createRefinement(java.util.Calendar key,
                                                          int count)
The only responsbility of the DateRefiner subclass is to create a Refinement of type Calendar; so we just return a new DateRefinement.
Specified by:
createRefinement in class Refiner<java.util.Calendar>
Parameters:
key - the Calendar value to create the DateRefinement with
count - how many times has this Calendar been used?
Returns:
a Refinement of type T

Skip navigation links

Oracle Fusion Middleware Web 2.0 Services Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1)
E10693-01


Copyright © 2009, Oracle. All rights reserved.