org.apache.lucene.queryParser.standard.config
Class AllowLeadingWildcardAttributeImpl

java.lang.Object
  extended by org.apache.lucene.util.AttributeImpl
      extended by org.apache.lucene.queryParser.standard.config.AllowLeadingWildcardAttributeImpl
All Implemented Interfaces:
Serializable, Cloneable, AllowLeadingWildcardAttribute, org.apache.lucene.util.Attribute

public class AllowLeadingWildcardAttributeImpl
extends org.apache.lucene.util.AttributeImpl
implements AllowLeadingWildcardAttribute

This attribute is used by AllowLeadingWildcardProcessor processor and must be defined in the QueryConfigHandler. It basically tells the processor if it should allow leading wildcard.

See Also:
AllowLeadingWildcardAttribute, Serialized Form

Constructor Summary
AllowLeadingWildcardAttributeImpl()
           
 
Method Summary
 void clear()
           
 void copyTo(org.apache.lucene.util.AttributeImpl target)
           
 boolean equals(Object other)
           
 int hashCode()
           
 boolean isAllowLeadingWildcard()
           
 void setAllowLeadingWildcard(boolean allowLeadingWildcard)
           
 String toString()
           
 
Methods inherited from class org.apache.lucene.util.AttributeImpl
clone
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AllowLeadingWildcardAttributeImpl

public AllowLeadingWildcardAttributeImpl()
Method Detail

setAllowLeadingWildcard

public void setAllowLeadingWildcard(boolean allowLeadingWildcard)
Specified by:
setAllowLeadingWildcard in interface AllowLeadingWildcardAttribute

isAllowLeadingWildcard

public boolean isAllowLeadingWildcard()
Specified by:
isAllowLeadingWildcard in interface AllowLeadingWildcardAttribute

clear

public void clear()
Specified by:
clear in class org.apache.lucene.util.AttributeImpl

copyTo

public void copyTo(org.apache.lucene.util.AttributeImpl target)
Specified by:
copyTo in class org.apache.lucene.util.AttributeImpl

equals

public boolean equals(Object other)
Specified by:
equals in class org.apache.lucene.util.AttributeImpl

hashCode

public int hashCode()
Specified by:
hashCode in class org.apache.lucene.util.AttributeImpl

toString

public String toString()
Overrides:
toString in class org.apache.lucene.util.AttributeImpl


Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.