<h2>org.autoplot.state.SerializeUtil</h2><p>Utility class for creating a Document from a DomNode.  Note that there is special
 handling for:<ul>
 <li>controller -- these nodes are dropped.
 <li>class -- this is noise from java.
 <li>*Automatically -- properties ending in "Automatically" are used to set another property.
 </ul>
 There may be other exceptional properties that are not documented here.</p>
<h2>SerializeUtil( )</h2>
<p></p>

<hr>
<a name="getDomElement-org.w3c.dom.Document-org.autoplot.dom.DomNode-org.autoplot.state.VapScheme"></a>
<h2>getDomElement</h2>
getDomElement( <a href='https://cottagesystems.com/~jbf/autoplot/doc/org/w3c/dom/Document.html'>org.w3c.dom.Document</a> document, <a href='https://cottagesystems.com/~jbf/autoplot/doc/org/autoplot/dom/DomNode.html'>org.autoplot.dom.DomNode</a> node, <a href='https://cottagesystems.com/~jbf/autoplot/doc/org/autoplot/state/VapScheme.html'>org.autoplot.state.VapScheme</a> scheme ) &rarr; <a href='https://cottagesystems.com/~jbf/autoplot/doc/org/w3c/dom/Element.html'>org.w3c.dom.Element</a>

<p>Return the XML for the node.</p>

<h3>Parameters</h3>
document - the document to which the node is added.
<br>
node - the dom node (Application, Plot, PlotElement, etc.)
<br>
scheme - the version of the vap that we are writing.  This identifies the scheme, but also provides names for nodes.

<h3>Returns:</h3>
the Document (XML) element for the node.
<br><br>
<a href="https://github.com/autoplot/dev/search?q=getDomElement&unscoped_q=getDomElement">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/state/SerializeUtil.md">[view on GitHub]</a>
 <a href="https://cottagesystems.com/~jbf/autoplot/doc2018/org/autoplot/state/SerializeUtil.html#getDomElement-org.w3c.dom.Document-org.autoplot.dom.DomNode-org.autoplot.state.VapScheme">[view on old javadoc]</a>
<br>
<br>
<hr>
<a name="getDomElement-org.w3c.dom.Document-org.autoplot.dom.DomNode-org.autoplot.state.VapScheme-boolean"></a>
<h2>getDomElement</h2>
getDomElement( <a href='https://cottagesystems.com/~jbf/autoplot/doc/org/w3c/dom/Document.html'>org.w3c.dom.Document</a> document, <a href='https://cottagesystems.com/~jbf/autoplot/doc/org/autoplot/dom/DomNode.html'>org.autoplot.dom.DomNode</a> node, <a href='https://cottagesystems.com/~jbf/autoplot/doc/org/autoplot/state/VapScheme.html'>org.autoplot.state.VapScheme</a> scheme, boolean includeDefaults ) &rarr; <a href='https://cottagesystems.com/~jbf/autoplot/doc/org/w3c/dom/Element.html'>org.w3c.dom.Element</a>

<p>Return the XML for the node.</p>

<h3>Parameters</h3>
document - the document to which the node is added.
<br>
node - the dom node (Application, Plot, PlotElement, etc.)
<br>
scheme - the version of the vap that we are writing.  This identifies the scheme, but also provides names for nodes.
<br>
includeDefaults - if true, include nodes which are the default setting

<h3>Returns:</h3>
the Document (XML) element for the node.
<br><br>
<a href="https://github.com/autoplot/dev/search?q=getDomElement&unscoped_q=getDomElement">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/state/SerializeUtil.md">[view on GitHub]</a>
 <a href="https://cottagesystems.com/~jbf/autoplot/doc2018/org/autoplot/state/SerializeUtil.html#getDomElement-org.w3c.dom.Document-org.autoplot.dom.DomNode-org.autoplot.state.VapScheme-boolean">[view on old javadoc]</a>
<br>
<br>
<hr>
<a name="getDomNode-org.w3c.dom.Element-org.autoplot.state.VapScheme"></a>
<h2>getDomNode</h2>
getDomNode( <a href='https://cottagesystems.com/~jbf/autoplot/doc/org/w3c/dom/Element.html'>org.w3c.dom.Element</a> element, <a href='https://cottagesystems.com/~jbf/autoplot/doc/org/autoplot/state/VapScheme.html'>org.autoplot.state.VapScheme</a> scheme ) &rarr; <a href='https://cottagesystems.com/~jbf/autoplot/doc/org/autoplot/dom/DomNode.html'>org.autoplot.dom.DomNode</a>

<p>decode the DomNode from the document element.</p>

<h3>Parameters</h3>
element - the DOM element
<br>
scheme - the current version

<h3>Returns:</h3>
an org.autoplot.dom.DomNode

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getDomNode&unscoped_q=getDomNode">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/state/SerializeUtil.md">[view on GitHub]</a>
 <a href="https://cottagesystems.com/~jbf/autoplot/doc2018/org/autoplot/state/SerializeUtil.html#getDomNode-org.w3c.dom.Element-org.autoplot.state.VapScheme">[view on old javadoc]</a>
<br>
<br>
<hr>
<a name="getElementForLeafNode-org.w3c.dom.Document-java.lang.Class-java.lang.Object-java.lang.Object"></a>
<h2>getElementForLeafNode</h2>
getElementForLeafNode( <a href='https://cottagesystems.com/~jbf/autoplot/doc/org/w3c/dom/Document.html'>org.w3c.dom.Document</a> document, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html'>java.lang.Class</a> propClass, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> value, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> defltValue ) &rarr; <a href='https://cottagesystems.com/~jbf/autoplot/doc/org/w3c/dom/Element.html'>org.w3c.dom.Element</a>

<p>return the Element, or null if we can't handle it</p>

<h3>Parameters</h3>
document - a Document
<br>
propClass - a java.lang.Class
<br>
value - an Object
<br>
defltValue - an Object

<h3>Returns:</h3>
an org.w3c.dom.Element

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getElementForLeafNode&unscoped_q=getElementForLeafNode">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/state/SerializeUtil.md">[view on GitHub]</a>
 <a href="https://cottagesystems.com/~jbf/autoplot/doc2018/org/autoplot/state/SerializeUtil.html#getElementForLeafNode-org.w3c.dom.Document-java.lang.Class-java.lang.Object-java.lang.Object">[view on old javadoc]</a>
<br>
<br>
<hr>
<a name="getLeafNode-org.w3c.dom.Element"></a>
<h2>getLeafNode</h2>
getLeafNode( <a href='https://cottagesystems.com/~jbf/autoplot/doc/org/w3c/dom/Element.html'>org.w3c.dom.Element</a> element ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a>

<p></p>

<h3>Parameters</h3>
element - an Element

<h3>Returns:</h3>
java.lang.Object

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getLeafNode&unscoped_q=getLeafNode">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/state/SerializeUtil.md">[view on GitHub]</a>
 <a href="https://cottagesystems.com/~jbf/autoplot/doc2018/org/autoplot/state/SerializeUtil.html#getLeafNode-org.w3c.dom.Element">[view on old javadoc]</a>
<br>
<br>