net.sf.sail.core.curnit
Class SAILXMLEncoder
java.lang.Object
java.beans.Encoder
java.beans.XMLEncoder
net.sf.sail.core.curnit.SAILXMLEncoder
- Direct Known Subclasses:
- CurnitXMLEncoder, PodXMLEncoder
public class SAILXMLEncoder
- extends java.beans.XMLEncoder
Our XMLEncoder which adds PeristanceDelegates that we need and the standard
XMLEncoder doesn't provide.
- Author:
- turadg
Method Summary |
void |
closeXML()
Alternative to close() which closes the XML node and also the
OutputStream. |
static void |
registerPersistenceDelegate(java.lang.Class<?> clazz,
java.beans.PersistenceDelegate delegate)
|
Methods inherited from class java.beans.XMLEncoder |
close, flush, getOwner, setOwner, writeExpression, writeObject, writeStatement |
Methods inherited from class java.beans.Encoder |
get, getExceptionListener, getPersistenceDelegate, remove, setExceptionListener, setPersistenceDelegate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
haltingExceptionListener
public static final java.beans.ExceptionListener haltingExceptionListener
SAILXMLEncoder
public SAILXMLEncoder(java.io.OutputStream out)
registerPersistenceDelegate
public static void registerPersistenceDelegate(java.lang.Class<?> clazz,
java.beans.PersistenceDelegate delegate)
closeXML
public void closeXML()
throws java.io.IOException
- Alternative to close() which closes the XML node and also the
OutputStream. Sometimes we need to close the XML without closing the
OutputStream. For example, entries in a ZipOutputStream.
- Throws:
java.io.IOException
Copyright © 2004-2008 TELS Center. All Rights Reserved.