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, reflectAsString
public ScriptAttributeImpl()
UScript.COMMON
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 void reflectWith(AttributeReflector reflector)
reflectWith
in class AttributeImpl
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.