| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.util.AttributeImpl
org.apache.lucene.analysis.icu.tokenattributes.ScriptAttributeImpl
public class ScriptAttributeImpl
Implementation of ScriptAttribute that stores the script
 as an integer.
| Constructor Summary | |
|---|---|
ScriptAttributeImpl()
Initializes this attribute with UScript.COMMON | 
|
| Method Summary | |
|---|---|
 void | 
clear()
 | 
 void | 
copyTo(AttributeImpl target)
 | 
 boolean | 
equals(Object other)
 | 
 int | 
getCode()
Get the numeric code for this script value.  | 
 String | 
getName()
Get the full name.  | 
 String | 
getShortName()
Get the abbreviated name.  | 
 int | 
hashCode()
 | 
 void | 
reflectWith(AttributeReflector reflector)
 | 
 void | 
setCode(int code)
Set the numeric code for this script value.  | 
| Methods inherited from class org.apache.lucene.util.AttributeImpl | 
|---|
clone, reflectAsString | 
| Methods inherited from class java.lang.Object | 
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ScriptAttributeImpl()
UScript.COMMON
| Method Detail | 
|---|
public int getCode()
ScriptAttributeUScript.
getCode in interface ScriptAttributepublic void setCode(int code)
ScriptAttributeUScript.
setCode in interface ScriptAttributecode - numeric codepublic String getName()
ScriptAttribute
getName in interface ScriptAttributepublic String getShortName()
ScriptAttribute
getShortName in interface ScriptAttributepublic void clear()
clear in class AttributeImplpublic void copyTo(AttributeImpl target)
copyTo in class AttributeImplpublic boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic void reflectWith(AttributeReflector reflector)
reflectWith in class AttributeImpl
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||