C D E F G I J M P R S T W X

C

close() - Method in class java.beans.XMLDecoder
This method closes the input stream associated with this stream.
close() - Method in class java.beans.XMLEncoder
This method calls flush, writes the closing postamble and then closes the output stream associated with this stream.
create(Class, Object, String) - Static method in class java.beans.EventHandler
Create an implementation of listenerInterface in which all of the methods in the listener interface apply the handler's action to the target.
create(Class, Object, String, String) - Static method in class java.beans.EventHandler
Create an implementation of listenerInterface in which all of the methods pass the value of the event expression, eventPropertyName, to the final method in the statement, action, which is applied to the target.
create(Class, Object, String, String, String) - Static method in class java.beans.EventHandler
Create an implementation of listenerInterface in which the listener method named listenerMethodName passes the value of the event expression, eventPropertyName, to the final method in the statement, action, which is applied to the target.

D

DefaultPersistenceDelegate - class java.beans.DefaultPersistenceDelegate.
The 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.
DefaultPersistenceDelegate() - Constructor for class java.beans.DefaultPersistenceDelegate
Creates a persistence delegate for a class with a nullary constructor.
DefaultPersistenceDelegate(String[]) - Constructor for class java.beans.DefaultPersistenceDelegate
Creates a default persistence delegate for a class with a constructor whose arguments are the values of the property names as specified by constructorPropertyNames.

E

Encoder - class java.beans.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.
Encoder() - Constructor for class java.beans.Encoder
 
EventHandler - class java.beans.EventHandler.
The EventHandler class provides support for dynamically generating event listeners whose methods execute a simple statement involving the incoming event object and a target object.
EventHandler(Object, String, String, String) - Constructor for class java.beans.EventHandler
 
ExceptionListener - interface java.beans.ExceptionListener.
An ExceptionListener is notified of internal exceptions.
exceptionThrown(Exception) - Method in interface java.beans.ExceptionListener
This method is called when a recoverable exception has been caught.
execute() - Method in class java.beans.Statement
When the target's class defines many methods with the given name the implementation should choose the most specific method using the algorithm specified in the Java Language Specification (15.11).
Expression - class java.beans.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()".
Expression(Object, Object, String, Object[]) - Constructor for class java.beans.Expression
Creates a new Expression object for a method that returns a result.
Expression(Object, String, Object[]) - Constructor for class java.beans.Expression
Creates a new Statement object with a target, methodName and arguments as per the parameters.

F

flush() - Method in class java.beans.XMLEncoder
This method writes out the preamble associated with the XML encoding if it has not been written already and then writes out all of the values that been written to the stream since the last time flush was called.

G

get(Object) - Method in class java.beans.Encoder
Returns a tentative value for oldInstance in the environment created by this stream.
getAction() - Method in class java.beans.EventHandler
Return the action of this handler.
getArguments() - Method in class java.beans.Statement
Returns the arguments of this statement.
getEventPropertyName() - Method in class java.beans.EventHandler
Return the property of the event which should be used in the action applied to the target.
getExceptionListener() - Method in class java.beans.XMLDecoder
Gets the exception handler for this stream.
getExceptionListener() - Method in class java.beans.Encoder
Gets the exception handler for this stream.
getListenerMethodName() - Method in class java.beans.EventHandler
Return the name of the method which will trigger the action.
getMethodName() - Method in class java.beans.Statement
Returns the name of the method.
getOwner() - Method in class java.beans.XMLDecoder
Gets the owner of this decoder.
getOwner() - Method in class java.beans.XMLEncoder
Gets the owner of this encoder.
getPersistenceDelegate(Class) - Method in class java.beans.Encoder
Returns the persistence delegate for the given type.
getTarget() - Method in class java.beans.EventHandler
Return the target of this handler.
getTarget() - Method in class java.beans.Statement
Returns the target of this statement.
getValue() - Method in class java.beans.Expression
If the value property of this instance is not already set, this method dynamically finds the method with the specified methodName on this target with these arguments and calls it.

I

initialize(Class, Object, Object, Encoder) - Method in class java.beans.PersistenceDelegate
Produce a series of statements with side effects on newInstance so that the new instance becomes equivalent to oldInstance.
initialize(Class, Object, Object, Encoder) - Method in class java.beans.DefaultPersistenceDelegate
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.
instantiate(Object, Encoder) - Method in class java.beans.PersistenceDelegate
Returns an expression whose value is oldInstance.
instantiate(Object, Encoder) - Method in class java.beans.DefaultPersistenceDelegate
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.
invoke(Object, Method, Object[]) - Method in class java.beans.EventHandler
Extract the appropriate property value from the event and pass it to the action associated with this EventHandler.

J

java.beans - package java.beans
Contains classes related to Java Beans development.

M

mutatesTo(Object, Object) - Method in class java.beans.PersistenceDelegate
Returns true if an equivalent copy of oldInstance may be created by applying a series of statements to newInstance.
mutatesTo(Object, Object) - Method in class java.beans.DefaultPersistenceDelegate
If the number of arguments in the specified constructor is non-zero this method returns true if, and only if, oldInstance.equals(newInstance).

P

PersistenceDelegate - class java.beans.PersistenceDelegate.
The PersistenceDelegate class takes the responsibility for expressing the state of an instance of a given class in terms of the methods in the class's public API.
PersistenceDelegate() - Constructor for class java.beans.PersistenceDelegate
 

R

readObject() - Method in class java.beans.XMLDecoder
Reads the next object from the input.
remove(Object) - Method in class java.beans.Encoder
Removes the entry for this instance, returning the old entry.

S

setExceptionListener(ExceptionListener) - Method in class java.beans.XMLDecoder
Sets the exception handler for this stream to exceptionListener.
setExceptionListener(ExceptionListener) - Method in class java.beans.Encoder
Sets the exception handler for this stream to exceptionListener.
setOwner(Object) - Method in class java.beans.XMLDecoder
Sets the owner of this decoder to owner.
setOwner(Object) - Method in class java.beans.XMLEncoder
Sets the owner of this encoder to owner.
setPersistenceDelegate(Class, PersistenceDelegate) - Method in class java.beans.Encoder
Sets the "persistenceDelegate" property of the BeanDescriptor associated with type to persistenceDelegate.
setValue(Object) - Method in class java.beans.Expression
Sets the value of this expression to value.
Statement - class java.beans.Statement.
A 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, String, Object[]) - Constructor for class java.beans.Statement
Creates a new Statement object with a target, methodName and arguments as per the parameters.

T

toString() - Method in class java.beans.Statement
Prints the value of this statement using a Java-style syntax.
toString() - Method in class java.beans.Expression
Prints the value of this expression using a Java-style syntax.

W

writeExpression(Expression) - Method in class java.beans.Encoder
The implementation first checks to see if an expression with this value has already been written.
writeExpression(Expression) - Method in class java.beans.XMLEncoder
This method calls the superclass's implementation and records oldExp so that it can produce the actual output when the stream is flushed.
writeObject(Object) - Method in class java.beans.Encoder
Write the specified object to the output stream.
writeObject(Object) - Method in class java.beans.XMLEncoder
Write an XML representation of the specified object to the output.
writeObject(Object, Encoder) - Method in class java.beans.PersistenceDelegate
The writeObject is a single entry point to the persistence and is used by a Encoder in the traditional mode of delegation.
writeStatement(Statement) - Method in class java.beans.Encoder
Writes statement oldStm to the stream.
writeStatement(Statement) - Method in class java.beans.XMLEncoder
This method calls the superclass's implementation and records oldStm so that it can produce the actual output when the stream is flushed.

X

XMLDecoder - class java.beans.XMLDecoder.
The XMLDecoder class is used to read XML documents created using the XMLEncoder and is used just like the ObjectInputStream.
XMLDecoder(InputStream) - Constructor for class java.beans.XMLDecoder
Creates a new input stream for reading archives created by the XMLEncoder class.
XMLDecoder(InputStream, Object) - Constructor for class java.beans.XMLDecoder
Creates a new input stream for reading archives created by the XMLEncoder class.
XMLDecoder(InputStream, Object, ExceptionListener) - Constructor for class java.beans.XMLDecoder
Creates a new input stream for reading archives created by the XMLEncoder class.
XMLEncoder - class java.beans.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.
XMLEncoder(OutputStream) - Constructor for class java.beans.XMLEncoder
Creates a new output stream for sending JavaBeans to the stream out using an XML encoding.

C D E F G I J M P R S T W X