java.beans
Class XMLEncoder
java.lang.Object
java.beans.Encoder
java.beans.XMLEncoder
public class XMLEncoder
- extends Encoder
This class uses the PersistenceDelegate
and Encoder
infrastructure to generate an XML representation of the objects it
serializes.
- Since:
- 1.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLEncoder
public XMLEncoder(OutputStream os)
close
public void close()
flush
public void flush()
writeExpression
public void writeExpression(Expression expr)
- Description copied from class:
Encoder
Note: If you call this method not from within an object instantiation and
initialization sequence it will be silently ignored.
- Overrides:
writeExpression
in class Encoder
writeStatement
public void writeStatement(Statement stmt)
- Description copied from class:
Encoder
Note: If you call this method not from within an object instantiation and
initialization sequence it will be silently ignored.
- Overrides:
writeStatement
in class Encoder
writeObject
public void writeObject(Object o)
- Overrides:
writeObject
in class Encoder
setOwner
public void setOwner(Object o)
getOwner
public Object getOwner()