public abstract class OnEmpty
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
OnEmpty.ReturnEmptyString
The ReturnNull subclass indicates that when an expression evaluates to the empty sequence, the value should
be returned as a zero-length string.
|
static class |
OnEmpty.ReturnNull
The ReturnNull subclass indicates that when an expression evaluates to the empty sequence, the value should
be returned as a Java null.
|
static class |
OnEmpty.UnwindAndJump
The UnwindAndJump subclass causes the code generator, when an expression evaluates to the empty sequence,
to generate a "goto" instruction to a defined label; but before executing the jump, the stack will be unwound
to a known position.
|
Modifier and Type | Field and Description |
---|---|
static OnEmpty |
RETURN_EMPTY_STRING |
static OnEmpty |
RETURN_NULL |
Constructor and Description |
---|
OnEmpty() |
Modifier and Type | Method and Description |
---|---|
abstract void |
generate(Generator ga) |
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.