<h2>org.das2.qstream.SerializeDelegate</h2><p>interface for serializing (formatting) and parsing objects.</p>
<hr>
<a name="format"></a>
<h2>format</h2>
format( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> o ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a>

<p>format the object.</p>

<h3>Parameters</h3>
o - the object

<h3>Returns:</h3>
the string representation of the object.
<br><br>
<a href="https://github.com/autoplot/dev/search?q=format&unscoped_q=format">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qstream/SerializeDelegate.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qstream/SerializeDelegate.html#format">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/qstream/SerializeDelegate.java">[view source]</a>
<br>
<br>
<hr>
<a name="parse"></a>
<h2>parse</h2>
parse( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> typeId, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> s ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a>

<p>parse the object from the string</p>

<h3>Parameters</h3>
typeId - the type ID
<br>
s - the string, e.g. "royalBlue"

<h3>Returns:</h3>
the object, e.g. Color.decode("#4169E1")
<br><br>
<a href="https://github.com/autoplot/dev/search?q=parse&unscoped_q=parse">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qstream/SerializeDelegate.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qstream/SerializeDelegate.html#parse">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/qstream/SerializeDelegate.java">[view source]</a>
<br>
<br>
<hr>
<a name="typeId"></a>
<h2>typeId</h2>
typeId( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html'>java.lang.Class</a> clas ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a>

<p>identifier for the delegate, that is used to qualify the name of the thing formatted.</p>

<h3>Parameters</h3>
clas - the class

<h3>Returns:</h3>
a String

<br><br>
<a href="https://github.com/autoplot/dev/search?q=typeId&unscoped_q=typeId">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qstream/SerializeDelegate.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qstream/SerializeDelegate.html#typeId">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/qstream/SerializeDelegate.java">[view source]</a>
<br>
<br>