public class BaseTokenID extends Object implements TokenID
Constructor and Description |
---|
BaseTokenID(String name) |
BaseTokenID(String name,
int numericID) |
BaseTokenID(String name,
int numericID,
TokenCategory category) |
BaseTokenID(String name,
TokenCategory category) |
Modifier and Type | Method and Description |
---|---|
TokenCategory |
getCategory()
Get the optional category of the token.
|
String |
getName()
Get the name of the category.
|
int |
getNumericID()
Get the optional numeric identification of this token-category.
|
String |
toString() |
public BaseTokenID(String name)
public BaseTokenID(String name, int numericID)
public BaseTokenID(String name, TokenCategory category)
public BaseTokenID(String name, int numericID, TokenCategory category)
public String getName()
TokenCategory
getName
in interface TokenCategory
public int getNumericID()
TokenCategory
getNumericID
in interface TokenCategory
public TokenCategory getCategory()
TokenID
getCategory
in interface TokenID
Built on October 1 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.