|
||||||||
PREV NEXT | FRAMES NO FRAMES |
flush
, writes the closing
postamble and then closes the output stream associated
with this stream.
DefaultPersistenceDelegate
is a concrete implementation of
the abstract PersistenceDelegate
class and
is the delegate used by default for classes about
which no information is available.constructorPropertyNames
.
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.EventHandler
class provides
support for dynamically generating event listeners whose methods
execute a simple statement involving the incoming event object
and a target object.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()"
.Expression
object for a method
that returns a result.
Statement
object with a target
,
methodName
and arguments
as per the parameters.
flush
was called.
oldInstance
in
the environment created by this stream.
newInstance
so that the new instance becomes equivalent to oldInstance
.
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.
oldInstance
.
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.
EventHandler
.
oldInstance
may be
created by applying a series of statements to newInstance
.
oldInstance.equals(newInstance)
.
exceptionListener
.
exceptionListener
.
owner
.
owner
.
BeanDescriptor
associated with type
to persistenceDelegate
.
value
.
Statement
object represents a primitive statement
in which a single method is applied to a target and
a set of arguments - as in "a.setFoo(b)"
.Statement
object with a target
,
methodName
and arguments
as per the parameters.
oldExp
so that it can produce the
actual output when the stream is flushed.
writeObject
is a single entry point to the persistence
and is used by a Encoder
in the traditional
mode of delegation.
oldStm
to the stream.
oldStm
so that it can produce the
actual output when the stream is flushed.
XMLDecoder
class is used to read XML documents
created using the XMLEncoder
and is used just like
the ObjectInputStream
.XMLEncoder
class.
XMLEncoder
class.
XMLEncoder
class.
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.out
using an XML encoding.
|
||||||||
PREV NEXT | FRAMES NO FRAMES |