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 StringRefinerBuilder

java.lang.Object
  extended by oracle.webcenter.search.refine.RefinerBuilder<java.lang.String>
      extended by oracle.webcenter.search.refine.StringRefinerBuilder


public class StringRefinerBuilder
extends RefinerBuilder<java.lang.String>

This class builds refiners of type String. It is constructed with a QName that it eventually passes on to the StringNavigator it builds.

Since:
11.1.1.0.0 Beta 2

Constructor Summary
StringRefinerBuilder(QName name)
          Constructs a StringRefinerBuilder with a qualified name.

 

Method Summary
protected  java.lang.String convert(java.lang.Object value)
          Method used by subclasses to convert any Object into a String.
protected  Refiner<java.lang.String> createRefiner(QName column, java.util.Map<java.lang.String,java.lang.Integer> counters)
          Creates a StringRefiner with the column name and a map of counters for each entry of String.

 

Methods inherited from class oracle.webcenter.search.refine.RefinerBuilder
consumeRow, getRefiner, visit, visit

 

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

 

Constructor Detail

StringRefinerBuilder

public StringRefinerBuilder(QName name)
Constructs a StringRefinerBuilder with a qualified name.
Parameters:
name - the name to associate with the eventual StringRefiner built

Method Detail

convert

protected final java.lang.String convert(java.lang.Object value)
Method used by subclasses to convert any Object into a String.
Specified by:
convert in class RefinerBuilder<java.lang.String>
Parameters:
value - an arbitrary Object that can be converted to type T

createRefiner

protected Refiner<java.lang.String> createRefiner(QName column,
                                                  java.util.Map<java.lang.String,java.lang.Integer> counters)
Creates a StringRefiner with the column name and a map of counters for each entry of String.
Specified by:
createRefiner in class RefinerBuilder<java.lang.String>
Parameters:
column - a QName signifying the column to navigate over
counters - a Map of String counters, one for each String value encountered

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.