Uses of Class java.beans.Statement (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Class
java.beans.Statement

- Packages that use Statement
  Package | Description
  --- | ---
  java.beans | Contains classes related to developing beans -- components based on the JavaBeans™ architecture.

- - ### Uses of Statement in java.beans

    Subclasses of Statement in java.beans
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Expression` An `Expression` object represents a primitive expression in which a single method is applied to a target and a set of arguments to return a result - as in `"a.getFoo()"`.

    Methods in java.beans with parameters of type Statement
    Modifier and Type | Method and Description
    --- | ---
    `void` | Encoder.`writeStatement(Statement oldStm)` Writes statement `oldStm` to the stream.
    `void` | XMLEncoder.`writeStatement(Statement oldStm)` Records the Statement so that the Encoder will produce the actual output when the stream is flushed.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.