public class ScriptAttributeImpl extends AttributeImpl implements ScriptAttribute, Cloneable
ScriptAttribute that stores the script
as an integer.| Constructor and Description |
|---|
ScriptAttributeImpl()
Initializes this attribute with
UScript.COMMON |
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, end, reflectAsStringpublic ScriptAttributeImpl()
UScript.COMMONpublic int getCode()
ScriptAttributeUScript.getCode in interface ScriptAttributepublic void setCode(int code)
ScriptAttributeUScript.setCode in interface ScriptAttributecode - numeric codepublic String getName()
ScriptAttributegetName in interface ScriptAttributepublic String getShortName()
ScriptAttributegetShortName in interface ScriptAttributepublic void clear()
clear in class AttributeImplpublic void copyTo(AttributeImpl target)
copyTo in class AttributeImplpublic void reflectWith(AttributeReflector reflector)
reflectWith in class AttributeImplCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.