API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.beans. Encoder View Source
Author(s)
Philip Milne
Since
1.4
Version
1.3 11/15/00
Serial
Hierarchy
 Object
      Encoder
Implements
Subclasses
Description
public class Encoder
  An Encoder is a class which can be used to create files or streams that encode the state of a collection of JavaBeans in terms of their public APIs.
See also:   
Constructors
public Encoder ()
Methods
Hide/Show inherited methods
pack-private void clear ()
public Object get (Object oldInstance)
  Returns a tentative value for oldInstance in the environment created by this stream.
pack-private Object getAttribute (Object key)
public ExceptionListener getExceptionListener ()
  Gets the exception handler for this stream.
public PersistenceDelegate getPersistenceDelegate (Class<Object> type)
  Returns the persistence delegate for the given type.
pack-private Object getValue (Expression exp)
public Object remove (Object oldInstance)
  Removes the entry for this instance, returning the old entry.
pack-private void setAttribute (Object key, Object value)
public void setExceptionListener (ExceptionListener exceptionListener)
  Sets the exception handler for this stream to exceptionListener.
public void setPersistenceDelegate (Class<Object> type, PersistenceDelegate persistenceDelegate)
  Sets the persistence delegate associated with this type to persistenceDelegate.
public void writeExpression (Expression oldExp)
  The implementation first checks to see if an expression with this value has already been written.
protected void writeObject (Object o)
  Write the specified object to the output stream.
public void writeStatement (Statement oldStm)
  Writes statement oldStm to the stream.
Fields
pack-private boolean executeStatements
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar