Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
java.beans.Encoder

Packages that use Encoder
Package Description
java.beans Contains classes related to developing beans -- components based on the JavaBeansTM architecture. 
 

Uses of Encoder in java.beans
 

Subclasses of Encoder in java.beans
Modifier and Type Class and Description
 class XMLEncoder
          The XMLEncoder class is a complementary alternative to the ObjectOutputStream and can used to generate a textual representation of a JavaBean in the same way that the ObjectOutputStream can be used to create binary representation of Serializable objects.
 

Methods in java.beans with parameters of type Encoder
Modifier and Type Method and Description
protected  void DefaultPersistenceDelegate.initialize(Class<?> type, Object oldInstance, Object newInstance, Encoder out)
          This default implementation of the initialize method assumes all state held in objects of this type is exposed via the matching pairs of "setter" and "getter" methods in the order they are returned by the Introspector.
protected  void PersistenceDelegate.initialize(Class<?> type, Object oldInstance, Object newInstance, Encoder out)
          Produce a series of statements with side effects on newInstance so that the new instance becomes equivalent to oldInstance.
protected  Expression DefaultPersistenceDelegate.instantiate(Object oldInstance, Encoder out)
          This default implementation of the instantiate method returns an expression containing the predefined method name "new" which denotes a call to a constructor with the arguments as specified in the DefaultPersistenceDelegate's constructor.
protected abstract  Expression PersistenceDelegate.instantiate(Object oldInstance, Encoder out)
          Returns an expression whose value is oldInstance.
 void PersistenceDelegate.writeObject(Object oldInstance, Encoder out)
          The writeObject is a single entry point to the persistence and is used by a Encoder in the traditional mode of delegation.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

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, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.