| Package | Description | 
|---|---|
| java.beans | Contains classes related to developing
beans -- components
based on the JavaBeans™ architecture. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Expression | DefaultPersistenceDelegate. instantiate(Object oldInstance,
           Encoder out)This default implementation of the  instantiatemethod returns
 an expression containing the predefined method name "new" which denotes a
 call to a constructor with the arguments as specified in
 theDefaultPersistenceDelegate's constructor. | 
| protected abstract Expression | PersistenceDelegate. instantiate(Object oldInstance,
           Encoder out)Returns an expression whose value is  oldInstance. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | XMLEncoder. writeExpression(Expression oldExp)Records the Expression so that the Encoder will
 produce the actual output when the stream is flushed. | 
| void | Encoder. writeExpression(Expression oldExp)The implementation first checks to see if an
 expression with this value has already been written. | 
 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.