lumis.search
Class Processor

Package class diagram package Processor
java.lang.Object
  extended by lumis.search.Processor
Direct Known Subclasses:
Indexer, Searcher

@StableMinor(version="6.1",
             sinceVersion="4.0")
public abstract class Processor
extends java.lang.Object

Represents an element that interacts to an index and provides searching services, such as indexing and searching, according to configuration in Search Config File (SearchConfig.xml).

Since:
4.0.4

Field Summary
protected  org.w3c.dom.Node definitionNode
          The processor definition node.
protected  java.lang.String searchEngineId
          The search engine identifier.
 
Constructor Summary
Processor(org.w3c.dom.Node definitionNode)
          Constructs a processor based on given definition node.
 
Method Summary
 org.w3c.dom.Node getConfigNode(IAttributeSetReader attributeSetReader)
          Returns the Processor's config node which contains criteria that matches the contents of the given attribute set.
 java.util.Collection<org.w3c.dom.Node> getConfigNodes(IAttributeSetReader attributeSetReader)
          Returns the Processor's config nodes which contain criteria that matches the contents of the given attribute set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

definitionNode

protected final org.w3c.dom.Node definitionNode
The processor definition node.


searchEngineId

protected final java.lang.String searchEngineId
The search engine identifier.

Constructor Detail

Processor

public Processor(org.w3c.dom.Node definitionNode)
          throws PortalException
Constructs a processor based on given definition node.

Parameters:
definitionNode -
Throws:
PortalException
Since:
4.0.4
Method Detail

getConfigNode

public org.w3c.dom.Node getConfigNode(IAttributeSetReader attributeSetReader)
                               throws PortalException
Returns the Processor's config node which contains criteria that matches the contents of the given attribute set.

Parameters:
attributeSetReader - the attribute set to be used to match the config criteria.
Returns:
the congig node.
Throws:
PortalException
Since:
4.0.4

getConfigNodes

public java.util.Collection<org.w3c.dom.Node> getConfigNodes(IAttributeSetReader attributeSetReader)
                                                      throws PortalException
Returns the Processor's config nodes which contain criteria that matches the contents of the given attribute set.

Parameters:
attributeSetReader - the attribute set to be used to match the config criteria.
Returns:
the config node.
Throws:
PortalException
Since:
4.0.4


Lumisportal  6.1.0.111014 - Copyright © 2001-2007, Lumis. All Rights Reserved.