Enterprise Information Portal APIs

com.ibm.gcs.component.config
Class HostHandler

java.lang.Object
  |
  +--com.ibm.gcs.component.config.HostHandler

public class HostHandler
extends java.lang.Object

This part of a SummarizerConfig maps a com.ibm.gcs.summarizer.Summarizable class and a com.ibm.gcs.summarizer.SummaryMaker class to a specified protocol String. It can also have a set of optional params. This class corresponds to a content-handler element in the config file.

See Also:
SummarizerConfig, Group, Config

Method Summary
 Group getGroup()
          returns the group that this handler belongs to
 java.lang.String getParam(java.lang.String name)
          returns the value of particular param (this will not work well if there is more than one param with the same name!!!)
 java.lang.String[][] getParams()
          returns all of the params
 java.lang.String getProtocol()
          returns the protocol String for this handler
 java.lang.reflect.Constructor getSummarizableConstructor()
          returns the Summarizable Constructor for this handler
 java.lang.reflect.Constructor getSummaryMakerConstructor()
          returns the SummaryMaker Constructor for this handler
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProtocol

public java.lang.String getProtocol()
returns the protocol String for this handler

getSummarizableConstructor

public java.lang.reflect.Constructor getSummarizableConstructor()
returns the Summarizable Constructor for this handler

getSummaryMakerConstructor

public java.lang.reflect.Constructor getSummaryMakerConstructor()
returns the SummaryMaker Constructor for this handler

getParams

public java.lang.String[][] getParams()
returns all of the params

getParam

public java.lang.String getParam(java.lang.String name)
returns the value of particular param (this will not work well if there is more than one param with the same name!!!)

getGroup

public Group getGroup()
returns the group that this handler belongs to

EIP Web Crawler APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.