com.saxonica.bytecode.converter
Class DoubleToIntegerCompiler

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

public class DoubleToIntegerCompiler
extends ConverterCompiler

Generate code for a Double to Integer CastExpression


Nested Class Summary
 
Nested classes/interfaces inherited from class com.saxonica.bytecode.converter.ConverterCompiler
ConverterCompiler.GenericConverterCompiler
 
Constructor Summary
DoubleToIntegerCompiler()
           
 
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

DoubleToIntegerCompiler

public DoubleToIntegerCompiler()
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.