org.apache.xalan.xsltc.compiler.util

Class VoidType

public final class VoidType extends Type

Author: Jacek Ambroziak Santiago Pericas-Geertsen

Method Summary
booleanidenticalTo(Type other)
InstructionPOP()
TypetoJCType()
StringtoSignature()
StringtoString()
voidtranslateFrom(ClassGenerator classGen, MethodGenerator methodGen, Class clazz)
Translates an external (primitive) Java type into a void.
voidtranslateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type)
Translates a void into an object of internal type type.
voidtranslateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type)
Translates a void into a string by pushing the empty string ''.

Method Detail

identicalTo

public boolean identicalTo(Type other)

POP

public Instruction POP()

toJCType

public Type toJCType()

toSignature

public String toSignature()

toString

public String toString()

translateFrom

public void translateFrom(ClassGenerator classGen, MethodGenerator methodGen, Class clazz)
Translates an external (primitive) Java type into a void. Only an external "void" can be converted to this class.

translateTo

public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, Type type)
Translates a void into an object of internal type type. This translation is needed when calling external functions that return void.

See Also: Type

translateTo

public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, StringType type)
Translates a void into a string by pushing the empty string ''.

See Also: Type

Copyright © 2005 Apache XML Project. All Rights Reserved.