|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ptolemy.data.type.BaseType ptolemy.data.type.BaseType.XmlTokenType
public static class BaseType.XmlTokenType
The XmlToken data type.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ptolemy.data.type.BaseType |
---|
BaseType.ArrayBottomType, BaseType.BooleanType, BaseType.ComplexType, BaseType.DoubleType, BaseType.EventType, BaseType.FloatType, BaseType.GeneralType, BaseType.IntType, BaseType.LongType, BaseType.NilType, BaseType.PetiteType, BaseType.ScalarType, BaseType.ShortType, BaseType.StringType, BaseType.UnknownType, BaseType.UnsignedByteType, BaseType.UnsizedFixType, BaseType.XmlTokenType |
Field Summary |
---|
Fields inherited from class ptolemy.data.type.BaseType |
---|
ACTOR, ARRAY_BOTTOM, BOOLEAN, BOOLEAN_MATRIX, COMPLEX, COMPLEX_MATRIX, DOUBLE, DOUBLE_MATRIX, EVENT, FIX, FIX_MATRIX, FLOAT, GENERAL, INT, INT_MATRIX, LONG, LONG_MATRIX, MATRIX, NIL, OBJECT, PETITE, RECORD, SCALAR, SHORT, SIZED_FIX, STRING, UNKNOWN, UNSIGNED_BYTE, UNSIZED_FIX, XMLTOKEN |
Fields inherited from interface ptolemy.data.type.Type |
---|
HASH_INVALID, HASH_MAX |
Constructor Summary | |
---|---|
private |
BaseType.XmlTokenType()
|
Method Summary | |
---|---|
Token |
convert(Token t)
Convert the specified token to a token having the type represented by this object. |
int |
getTypeHash()
Return a perfect hash for this type. |
Methods inherited from class ptolemy.data.type.BaseType |
---|
_addType, add, clone, divide, equals, forClassName, forName, getTokenClass, hashCode, isAbstract, isCompatible, isConstant, isInstantiable, isSubstitutionInstance, modulo, multiply, one, subtract, toString, zero |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
private BaseType.XmlTokenType()
Method Detail |
---|
public Token convert(Token t) throws IllegalActionException
BaseType
convert
in interface Type
convert
in class BaseType
t
- A token.
IllegalActionException
- If lossless conversion cannot
be done.public int getTypeHash()
BaseType
getTypeHash
in interface Type
getTypeHash
in class BaseType
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |