List of usage examples for java.io ObjectOutputStream defaultWriteObject
public void defaultWriteObject() throws IOException
From source file:net.sf.maltcms.chromaui.annotations.XYSelectableShapeAnnotation.java
/** * Provides serialization support./*from w w w . java 2 s . co m*/ * * @param stream the output stream. * * @throws IOException if there is an I/O error. */ private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); SerialUtilities.writeShape(this.s, stream); SerialUtilities.writeStroke(this.stroke, stream); SerialUtilities.writePaint(this.outline, stream); SerialUtilities.writePaint(this.highlight, stream); stream.writeBoolean(this.active); }
From source file:cn.clxy.studio.common.web.multipart.GFileItem.java
/** * Writes the state of this object during serialization. * * @param out The stream to which the state should be written. * * @throws IOException if an error occurs. *///w w w.j a v a 2 s .co m private void writeObject(ObjectOutputStream out) throws IOException { // Read the data cachedContent = get(); // write out values out.defaultWriteObject(); }
From source file:MersenneTwister.java
private synchronized void writeObject(final ObjectOutputStream out) throws IOException { // just so we're synchronized. out.defaultWriteObject(); }
From source file:org.apache.axis.message.RPCParam.java
private void writeObject(ObjectOutputStream out) throws IOException { if (getQName() == null) { out.writeBoolean(false);// w ww . java 2 s .c o m } else { out.writeBoolean(true); out.writeObject(getQName().getNamespaceURI()); out.writeObject(getQName().getLocalPart()); } out.defaultWriteObject(); }
From source file:extern.AsymmetricStatisticalBarRenderer.java
/** * Provides serialization support./*from w w w.ja v a 2 s. c o m*/ * * @param stream the output stream. * * @throws IOException if there is an I/O error. */ private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); SerialUtilities.writePaint(this.errorIndicatorPaint, stream); SerialUtilities.writeStroke(this.errorIndicatorStroke, stream); }
From source file:net.ymate.platform.log.slf4j.Log4jLogger.java
private void writeObject(final ObjectOutputStream aOutputStream) throws IOException { aOutputStream.defaultWriteObject(); }
From source file:org.seasar.mayaa.impl.engine.specification.NamespaceImpl.java
private void writeObject(java.io.ObjectOutputStream out) throws IOException { if (getClass() == NamespaceImpl.class) { getSerializeKey();/* w w w . ja v a2s . c o m*/ out.defaultWriteObject(); } }
From source file:userinterface.graph.PrismErrorRenderer.java
/** * Provides serialization support./*from w w w . j a v a 2s . c o m*/ * * @param stream the output stream. * * @throws IOException if there is an I/O error. */ private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); SerialUtilities.writeStroke(this.errorStroke, stream); }
From source file:WeakSet.java
private void writeObject(ObjectOutputStream obtos) throws IOException { obtos.defaultWriteObject(); obtos.writeObject(toArray());//from w w w . ja va2 s . com }
From source file:org.trade.ui.chart.renderer.PivotRenderer.java
/** * Provides serialization support.//from w ww . ja va2 s . c om * * @param stream * the output stream. * * * @throws IOException * if there is an I/O error. */ private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); SerialUtilities.writeShape(this.legendShape, stream); }