|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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()
ScriptAttribute
UScript
.
getCode
in interface ScriptAttribute
public void setCode(int code)
ScriptAttribute
UScript
.
setCode
in interface ScriptAttribute
code
- numeric codepublic String getName()
ScriptAttribute
getName
in interface ScriptAttribute
public String getShortName()
ScriptAttribute
getShortName
in interface ScriptAttribute
public void clear()
clear
in class AttributeImpl
public void copyTo(AttributeImpl target)
copyTo
in class AttributeImpl
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void reflectWith(AttributeReflector reflector)
reflectWith
in class AttributeImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |