public interface RtflType
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(RtflType value,
Scope scope)
Checks two RtflTypes to see if they qualify as equals in Rtfl
|
static RtflType |
fromJavaType(java.lang.Object javaType)
Converts the provided Java type of an RtflType object
|
java.lang.String |
name()
The name of the type
|
static java.lang.Object |
toJavaType(RtflType rtflType)
Converts the provided RtflType into its corresponding Java type
|
java.lang.Object |
value()
The Java value stored in this RtflType wrapper
|
java.lang.String name()
java.lang.Object value()
boolean equals(RtflType value, Scope scope) throws RuntimeException
value - The value to check this RtflType againstscope - The scope in which to check (to use functions and variables)RuntimeException - If any references are invalid or if executing a function failsstatic RtflType fromJavaType(java.lang.Object javaType)
javaType - The Java object to convert to an RtflType objectstatic java.lang.Object toJavaType(RtflType rtflType)
rtflType - The RtflType object to convert to a Java type