public class TypeAttributeImpl extends AttributeImpl implements TypeAttribute, java.lang.Cloneable
TypeAttribute.DEFAULT_TYPE| Constructor and Description |
|---|
TypeAttributeImpl()
Initialize this attribute with
TypeAttribute.DEFAULT_TYPE |
TypeAttributeImpl(java.lang.String type)
Initialize this attribute with
type |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the values in this AttributeImpl and resets it to its
default value.
|
void |
copyTo(AttributeImpl target)
Copies the values from this Attribute into the passed-in
target attribute.
|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
void |
setType(java.lang.String type)
Set the lexical type.
|
java.lang.String |
type()
Returns this Token's lexical type.
|
clone, reflectAsString, reflectWithpublic TypeAttributeImpl()
TypeAttribute.DEFAULT_TYPEpublic TypeAttributeImpl(java.lang.String type)
typepublic java.lang.String type()
TypeAttributetype in interface TypeAttributeTypeAttribute.setType(String)public void setType(java.lang.String type)
TypeAttributesetType in interface TypeAttributeTypeAttribute.type()public void clear()
AttributeImplclear in class AttributeImplpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void copyTo(AttributeImpl target)
AttributeImplcopyTo in class AttributeImplCopyright © 2010 - 2024 Adobe. All Rights Reserved