com.saxonica.bytecode.converter
Class StringToBooleanCompiler

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

public class StringToBooleanCompiler
extends ConverterCompiler

Generate code for a String to Boolean CastExpression


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

StringToBooleanCompiler

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