|
|||||||||
| Home >> All >> java >> [ beans overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.beans
Class XMLEncoder

java.lang.Objectjava.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
| Field Summary | |
private int |
accessCounter
|
(package private) java.lang.Exception |
exception
|
(package private) java.lang.Object |
owner
|
(package private) gnu.java.beans.encoder.ScanEngine |
scanEngine
|
| Fields inherited from class java.beans.Encoder |
|
| Constructor Summary | |
XMLEncoder(java.io.OutputStream os)
|
|
| Method Summary | |
void |
close()
|
void |
flush()
|
java.lang.Object |
getOwner()
|
void |
setOwner(java.lang.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(java.lang.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. |
| Methods inherited from class java.beans.Encoder |
get, getExceptionListener, getPersistenceDelegate, isImmutableType, putCandidate, remove, setExceptionListener, setPersistenceDelegate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
owner
java.lang.Object owner
exception
java.lang.Exception exception
scanEngine
gnu.java.beans.encoder.ScanEngine scanEngine
accessCounter
private int accessCounter
| Constructor Detail |
XMLEncoder
public XMLEncoder(java.io.OutputStream os)
| Method Detail |
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:
writeExpressionin classEncoder
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:
writeStatementin classEncoder
writeObject
public void writeObject(java.lang.Object o)
- Overrides:
writeObjectin classEncoder
setOwner
public void setOwner(java.lang.Object o)
getOwner
public java.lang.Object getOwner()
|
|||||||||
| Home >> All >> java >> [ beans overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC