java.beans
public class XMLEncoder extends Encoder
PersistenceDelegate
and Encoder
infrastructure to generate an XML representation of the objects it
serializes.Constructor and Description |
---|
XMLEncoder(OutputStream os) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
Object |
getOwner() |
void |
setOwner(Object o) |
void |
writeExpression(Expression expr)
Note: If you call this method not from within an object instantiation and
initialization sequence it will be silently ignored.
|
void |
writeObject(Object o) |
void |
writeStatement(Statement stmt)
Note: If you call this method not from within an object instantiation and
initialization sequence it will be silently ignored.
|
get, getExceptionListener, getPersistenceDelegate, remove, setExceptionListener, setPersistenceDelegate
public XMLEncoder(OutputStream os)
public void close()
public void flush()
public void writeExpression(Expression expr)
Encoder
Note: If you call this method not from within an object instantiation and initialization sequence it will be silently ignored.
writeExpression
in class Encoder
public void writeStatement(Statement stmt)
Encoder
Note: If you call this method not from within an object instantiation and initialization sequence it will be silently ignored.
writeStatement
in class Encoder
public void writeObject(Object o)
writeObject
in class Encoder