com.isenshi.util.extlib
クラス BasicExpressionFactoryTxtContainsCJK

java.lang.Object
  拡張com.isenshi.util.extlib.BasicExpressionFactoryTxtContainsCJK
すべての実装インタフェース:
org.apache.slide.search.basic.IBasicExpressionFactory

public class BasicExpressionFactoryTxtContainsCJK
extends Object
implements org.apache.slide.search.basic.IBasicExpressionFactory

This factory creates executable BasicExpressions. An instance is created for each SEARCH request.


フィールドの概要
protected  org.apache.slide.search.PropertyProvider propertyProvider
           
 
インタフェース org.apache.slide.search.basic.IBasicExpressionFactory から継承したフィールド
BASIC_EXPRESSION_FACTORY_CLASS
 
コンストラクタの概要
BasicExpressionFactoryTxtContainsCJK(String rootPath)
          Constructor
 
メソッドの概要
 org.apache.slide.search.basic.IBasicExpression createExpression(org.jdom.Element element)
          Called by the expression compiler for each leave expression.
 org.apache.slide.search.basic.IBasicExpression createMergeExpression(String mergeOperator, String namespace, Collection expressionsToMerge)
          called for merge expressions (or, and).
 org.apache.slide.search.PropertyProvider getPropertyProvider()
          Method getPropertyProvider
 org.apache.slide.search.basic.IBasicQuery getQuery()
          Method getQuery
 void init(org.apache.slide.search.basic.IBasicQuery query, org.apache.slide.search.PropertyProvider propertyProvider)
          called by BasicExpressionCompiler after construction.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

propertyProvider

protected org.apache.slide.search.PropertyProvider propertyProvider
コンストラクタの詳細

BasicExpressionFactoryTxtContainsCJK

public BasicExpressionFactoryTxtContainsCJK(String rootPath)
Constructor

パラメータ:
rootPath - path to the content files
メソッドの詳細

createMergeExpression

public org.apache.slide.search.basic.IBasicExpression createMergeExpression(String mergeOperator,
                                                                            String namespace,
                                                                            Collection expressionsToMerge)
                                                                     throws org.apache.slide.search.BadQueryException
called for merge expressions (or, and). Not defined here

定義:
インタフェース org.apache.slide.search.basic.IBasicExpressionFactory 内の createMergeExpression
パラメータ:
mergeOperator - and, or
namespace - the namespace of this expression
expressionsToMerge - all expressions, that shall be merged
戻り値:
an IBasicExpression
例外:
org.apache.slide.search.BadQueryException

createExpression

public org.apache.slide.search.basic.IBasicExpression createExpression(org.jdom.Element element)
                                                                throws org.apache.slide.search.BadQueryException
Called by the expression compiler for each leave expression.

定義:
インタフェース org.apache.slide.search.basic.IBasicExpressionFactory 内の createExpression
パラメータ:
element - an Element discribing the expression
戻り値:
an IBasicExpression
例外:
org.apache.slide.search.BadQueryException

init

public void init(org.apache.slide.search.basic.IBasicQuery query,
                 org.apache.slide.search.PropertyProvider propertyProvider)
          throws org.apache.slide.search.BadQueryException
called by BasicExpressionCompiler after construction.

定義:
インタフェース org.apache.slide.search.basic.IBasicExpressionFactory 内の init
パラメータ:
query - the associated BasicQuery
propertyProvider - the PropertyProvider for this expression.
例外:
org.apache.slide.search.BadQueryException

getPropertyProvider

public org.apache.slide.search.PropertyProvider getPropertyProvider()
Method getPropertyProvider

定義:
インタフェース org.apache.slide.search.basic.IBasicExpressionFactory 内の getPropertyProvider
戻り値:
the PropertyProvider

getQuery

public org.apache.slide.search.basic.IBasicQuery getQuery()
Method getQuery

定義:
インタフェース org.apache.slide.search.basic.IBasicExpressionFactory 内の getQuery
戻り値:
the IBasicQuery


Copyright © 2005-2006 The Seasar Foundation and the others.. All Rights Reserved.