org.apache.xalan.xsltc.compiler.util
public class StringType extends Type
Method Summary | |
---|---|
String | getClassName()
Returns the class name of an internal type's external representation. |
boolean | identicalTo(Type other) |
boolean | isSimple() |
Instruction | LOAD(int slot) |
Instruction | STORE(int slot) |
Type | toJCType() |
String | toSignature() |
String | toString() |
void | translateBox(ClassGenerator classGen, MethodGenerator methodGen)
Translates an object of this type to its boxed representation. |
void | translateFrom(ClassGenerator classGen, MethodGenerator methodGen, Class clazz)
Translates an external (primitive) Java type into a string.
|
void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type)
Translates a string into an object of internal type type .
|
void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type)
Translates a string into a synthesized boolean.
|
void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, RealType type)
Translates a string into a real by calling stringToReal() from the
basis library.
|
void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, ReferenceType type)
Expects a string on the stack and pushes a boxed string.
|
void | translateTo(ClassGenerator classGen, MethodGenerator methodGen, Class clazz)
Translates a internal string into an external (Java) string.
|
FlowList | translateToDesynthesized(ClassGenerator classGen, MethodGenerator methodGen, BooleanType type)
Translates a string into a non-synthesized boolean. |
void | translateUnBox(ClassGenerator classGen, MethodGenerator methodGen)
Translates an object of this type to its unboxed representation. |
See Also: Type
type
.
The translation to int is undefined since strings are always converted
to reals in arithmetic expressions.
See Also: Type
See Also: Type
See Also: Type
See Also: Type
See Also: Type
See Also: Type