Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.saxonica.bytecode.util
Class OnEmpty.ReturnEmptyString

    java.lang.Object
      com.saxonica.bytecode.util.OnEmpty
          com.saxonica.bytecode.util.OnEmpty.ReturnEmptyString

Enclosing class:
  OnEmpty

    public static class OnEmpty.ReturnEmptyString

extends OnEmpty

The ReturnNull subclass indicates that when an expression evaluates to the empty sequence, the value should be returned as a zero-length string. This works only for expressions that evaluate to a string.

Nested Class Summary

Nested classes/interfaces inherited from class com.saxonica.bytecode.util.OnEmpty
`OnEmpty.ReturnEmptyString, OnEmpty.ReturnNull, OnEmpty.UnwindAndJump`

Field Summary

Fields inherited from class com.saxonica.bytecode.util.OnEmpty
`RETURN_EMPTY_STRING, RETURN_NULL`

Constructor Summary
`OnEmpty.ReturnEmptyString()`

Method Summary
`void` | `generate(Generator ga)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### OnEmpty.ReturnEmptyString

    public OnEmpty.ReturnEmptyString()

Method Detail

### generate

    public void generate(Generator ga)

  Specified by:
    `generate` in class `OnEmpty`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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