com.saxonica.bytecode.converter
Class BooleanToDoubleCompiler

java.lang.Object
  extended by com.saxonica.bytecode.converter.ConverterCompiler
      extended by com.saxonica.bytecode.converter.BooleanToDoubleCompiler

public class BooleanToDoubleCompiler
extends ConverterCompiler

Bytecode generator for a cast from boolean to double


Nested Class Summary
 
Nested classes/interfaces inherited from class com.saxonica.bytecode.converter.ConverterCompiler
ConverterCompiler.GenericConverterCompiler
 
Constructor Summary
BooleanToDoubleCompiler()
           
 
Method Summary
 void compileToItem(CompilerService compiler, Expression expression)
           
 void compileToPrimitive(CompilerService compiler, Expression expression, Class requiredClass, OnEmpty onEmpty)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanToDoubleCompiler

public BooleanToDoubleCompiler()
Method Detail

compileToItem

public void compileToItem(CompilerService compiler,
                          Expression expression)
                   throws CannotCompileException
Specified by:
compileToItem in class ConverterCompiler
Throws:
CannotCompileException

compileToPrimitive

public void compileToPrimitive(CompilerService compiler,
                               Expression expression,
                               Class requiredClass,
                               OnEmpty onEmpty)
                        throws CannotCompileException
Overrides:
compileToPrimitive in class ConverterCompiler
Throws:
CannotCompileException


Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.