org.apache.jackrabbit.core.query.lucene
Class TermFactory

java.lang.Object
  extended by org.apache.jackrabbit.core.query.lucene.TermFactory

public final class TermFactory
extends Object

TermFactory is a factory for Term instances with frequently used field names.


Constructor Summary
TermFactory()
           
 
Method Summary
static org.apache.lucene.index.Term createUUIDTerm(String id)
          Creates a Term with the given id value and with a field name FieldNames.UUID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TermFactory

public TermFactory()
Method Detail

createUUIDTerm

public static org.apache.lucene.index.Term createUUIDTerm(String id)
Creates a Term with the given id value and with a field name FieldNames.UUID.

Parameters:
id - the id.
Returns:
the UUIDTerm.


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.