| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_252) on Fri Jul 16 09:38:42 UTC 2021 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>NullPolicy (EclipseLink 3.0.2, API Reference)</title> |
| <meta name="date" content="2021-07-16"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="NullPolicy (EclipseLink 3.0.2, API Reference)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage">EclipseLink 3.0.2, API Reference</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/IsSetNullPolicy.html" title="class in org.eclipse.persistence.oxm.mappings.nullpolicy"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/XMLNullRepresentationType.html" title="enum in org.eclipse.persistence.oxm.mappings.nullpolicy"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/eclipse/persistence/oxm/mappings/nullpolicy/NullPolicy.html" target="_top">Frames</a></li> |
| <li><a href="NullPolicy.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#fields.inherited.from.class.org.eclipse.persistence.oxm.mappings.nullpolicy.AbstractNullPolicy">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.eclipse.persistence.oxm.mappings.nullpolicy</div> |
| <h2 title="Class NullPolicy" class="title">Class NullPolicy</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html" title="class in org.eclipse.persistence.oxm.mappings.nullpolicy">org.eclipse.persistence.oxm.mappings.nullpolicy.AbstractNullPolicy</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.persistence.oxm.mappings.nullpolicy.NullPolicy</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">NullPolicy</span> |
| extends <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html" title="class in org.eclipse.persistence.oxm.mappings.nullpolicy">AbstractNullPolicy</a></pre> |
| <div class="block">PUBLIC: |
| <b>Description</b>: |
| This null policy is the default implementation class.<br> |
| Marshal:<br> |
| The boolean value of the isSet() state of a node has no effect on whether a node will be written out |
| for a null value - a set is always performed unless the isSetPerformedForAbsentNode flag |
| is set to false for absent nodes.<br> |
| Unmarshal:<br> |
| |
| <p><b>The following instance field can be set on top of the two from AbstractNullPolicy</b>:<ul> |
| <li>isSetPerformedForAbsentNode: </li> |
| |
| </ul> |
| <p> |
| <b>Usage</b>:<br> |
| <p><b>Unmarshal null direct element xsi:nil node</b>: |
| |
| <p><em>Code Sample</em><br> |
| <code> |
| XMLDescriptor aDescriptor = new XMLDescriptor();<br> |
| aDescriptor.setJavaClass(Employee.class);<br> |
| aDescriptor.setDefaultRootElement("employee");<br> |
| XMLDirectMapping firstNameMapping = new XMLDirectMapping();<br> |
| firstNameMapping.setAttributeName("firstname");<br> |
| firstNameMapping.setXPath("first-name/text()");<br> |
| AbstractNullPolicy aNullPolicy = new NullPolicy();<br> |
| aDescriptor.addMapping(firstNameMapping);<br> |
| aNullPolicy.setSetPerformedForAbsentNode(false); // no effect<br> |
| aNullPolicy.setNullRepresentedByEmptyNodeNode(false); // default or no effect<br> |
| aNullPolicy.setNullRepresentedByXsiNil(false); // default or no effect<br> |
| </code> |
| <p><em>Input XML</em><br> |
| <code> |
| <employee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><br> |
| <firstname xsi:nil=true/><br> |
| </employee><br> |
| </code> |
| <p><em>Output Object State</em><br> |
| <code> |
| anEmployee.getFirstname() = null<br> |
| anEmployee.isSet(firstname) = true<br> |
| </code> |
| |
| <p><b>Marshal null composite object (isSet=true) as empty node</b>: . |
| |
| <p><em>Code Sample</em><br> |
| <code> |
| XMLDescriptor aDescriptor = new XMLDescriptor();<br> |
| aDescriptor.setJavaClass(Team.class);<br> |
| aDescriptor.setDefaultRootElement("team");<br> |
| XMLCompositeObjectMapping aManagerMapping = new XMLCompositeObjectMapping();<br> |
| aManagerMapping.setAttributeName("manager");<br> |
| aManagerMapping.setXPath("manager/text()");<br> |
| // do not modify the default NullPolicy or the 3 boolean flags<br> |
| AbstractNullPolicy aNullPolicy = afirstNameMapping.getNullPolicy();<br> |
| aDescriptor.addMapping(aManagerMapping);<br> |
| aNullPolicy.setMarshalNullRepresentation(XMLNullRepresentationType.EMPTY_NODE);<br> |
| </code> |
| |
| <p><em>Input Object State</em><br> |
| <code> |
| aTeam.getManager() = null<br> |
| aTeam.isSet(manager) = no effect<br> |
| </code> |
| <p><em>Output XML</em><br> |
| <code> |
| <team xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><br> |
| <manager/><br> |
| </team><br> |
| </code></div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>NullCapableValue</code></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>Oracle TopLink 11<i>g</i> Release 1 (11.1.1)</dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.eclipse.persistence.oxm.mappings.nullpolicy.AbstractNullPolicy"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.eclipse.persistence.oxm.mappings.nullpolicy.<a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html" title="class in org.eclipse.persistence.oxm.mappings.nullpolicy">AbstractNullPolicy</a></h3> |
| <code><a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#COLON_W_SCHEMA_NIL_ATTRIBUTE">COLON_W_SCHEMA_NIL_ATTRIBUTE</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#ignoreAttributesForNil">ignoreAttributesForNil</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#isNullRepresentedByEmptyNode">isNullRepresentedByEmptyNode</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#isNullRepresentedByXsiNil">isNullRepresentedByXsiNil</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#isSetPerformedForAbsentNode">isSetPerformedForAbsentNode</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#marshalNullRepresentation">marshalNullRepresentation</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#TRUE">TRUE</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#XSI_NIL_ATTRIBUTE">XSI_NIL_ATTRIBUTE</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/NullPolicy.html#NullPolicy--">NullPolicy</a></span>()</code> |
| <div class="block">Default Constructor</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/NullPolicy.html#NullPolicy-java.lang.String-boolean-boolean-boolean-">NullPolicy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> anIsSetMethodName, |
| boolean bIsSetPerformedForAbsentNode, |
| boolean bIsNullRepresentedByEmptyNode, |
| boolean bIsNullRepresentedByXsiNil)</code> |
| <div class="block">Specific Constructor to set the Unmarshal flags</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/NullPolicy.html#NullPolicy-java.lang.String-boolean-boolean-boolean-org.eclipse.persistence.oxm.mappings.nullpolicy.XMLNullRepresentationType-">NullPolicy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> anIsSetMethodName, |
| boolean bIsSetPerformedForAbsentNode, |
| boolean bIsNullRepresentedByEmptyNode, |
| boolean bIsNullRepresentedByXsiNil, |
| <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/XMLNullRepresentationType.html" title="enum in org.eclipse.persistence.oxm.mappings.nullpolicy">XMLNullRepresentationType</a> aMarshalNullRepresentation)</code> |
| <div class="block">Specific Constructor to set both the Marshal enum and the Unmarshal flags</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/NullPolicy.html#setSetPerformedForAbsentNode-boolean-">setSetPerformedForAbsentNode</a></span>(boolean performSet)</code> |
| <div class="block">Set the isSetPerformedForAbsentNode flag</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/NullPolicy.html#xPathNode-org.eclipse.persistence.internal.oxm.XPathNode-org.eclipse.persistence.internal.oxm.NullCapableValue-">xPathNode</a></span>(org.eclipse.persistence.internal.oxm.XPathNode xPathNode, |
| org.eclipse.persistence.internal.oxm.NullCapableValue nullCapableValue)</code> |
| <div class="block">INTERNAL: When using the SAX Platform this allows a NodeValue to be |
| registered to receive events from the TreeObjectBuilder.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.persistence.oxm.mappings.nullpolicy.AbstractNullPolicy"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.persistence.oxm.mappings.nullpolicy.<a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html" title="class in org.eclipse.persistence.oxm.mappings.nullpolicy">AbstractNullPolicy</a></h3> |
| <code><a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#compositeObjectMarshal-org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord-java.lang.Object-org.eclipse.persistence.internal.oxm.mappings.Field-org.eclipse.persistence.internal.core.sessions.CoreAbstractSession-">compositeObjectMarshal</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#compositeObjectMarshal-org.eclipse.persistence.internal.oxm.XPathFragment-org.eclipse.persistence.internal.oxm.record.MarshalRecord-java.lang.Object-org.eclipse.persistence.core.sessions.CoreSession-org.eclipse.persistence.internal.oxm.NamespaceResolver-">compositeObjectMarshal</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#directMarshal-org.eclipse.persistence.internal.oxm.mappings.Field-org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord-java.lang.Object-">directMarshal</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#directMarshal-org.eclipse.persistence.internal.oxm.XPathFragment-org.eclipse.persistence.internal.oxm.record.MarshalRecord-java.lang.Object-org.eclipse.persistence.core.sessions.CoreSession-org.eclipse.persistence.internal.oxm.NamespaceResolver-">directMarshal</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#getIsSetPerformedForAbsentNode--">getIsSetPerformedForAbsentNode</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#getMarshalNullRepresentation--">getMarshalNullRepresentation</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#ignoreAttributesForNil--">ignoreAttributesForNil</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#isNullRepresentedByEmptyNode--">isNullRepresentedByEmptyNode</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#isNullRepresentedByXsiNil--">isNullRepresentedByXsiNil</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#processNamespaceResolverForXSIPrefix-org.eclipse.persistence.internal.oxm.NamespaceResolver-org.eclipse.persistence.internal.oxm.record.MarshalRecord-">processNamespaceResolverForXSIPrefix</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#setIgnoreAttributesForNil-boolean-">setIgnoreAttributesForNil</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#setMarshalNullRepresentation-org.eclipse.persistence.oxm.mappings.nullpolicy.XMLNullRepresentationType-">setMarshalNullRepresentation</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#setNullRepresentedByEmptyNode-boolean-">setNullRepresentedByEmptyNode</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#setNullRepresentedByXsiNil-boolean-">setNullRepresentedByXsiNil</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#valueIsNull-org.xml.sax.Attributes-">valueIsNull</a>, <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#valueIsNull-org.w3c.dom.Element-">valueIsNull</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="NullPolicy--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>NullPolicy</h4> |
| <pre>public NullPolicy()</pre> |
| <div class="block">Default Constructor</div> |
| </li> |
| </ul> |
| <a name="NullPolicy-java.lang.String-boolean-boolean-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>NullPolicy</h4> |
| <pre>public NullPolicy(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> anIsSetMethodName, |
| boolean bIsSetPerformedForAbsentNode, |
| boolean bIsNullRepresentedByEmptyNode, |
| boolean bIsNullRepresentedByXsiNil)</pre> |
| <div class="block">Specific Constructor to set the Unmarshal flags</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>anIsSetMethodName</code> - </dd> |
| <dd><code>bIsSetPerformedForAbsentNode</code> - </dd> |
| <dd><code>bIsNullRepresentedByEmptyNode</code> - </dd> |
| <dd><code>bIsNullRepresentedByXsiNil</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="NullPolicy-java.lang.String-boolean-boolean-boolean-org.eclipse.persistence.oxm.mappings.nullpolicy.XMLNullRepresentationType-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>NullPolicy</h4> |
| <pre>public NullPolicy(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> anIsSetMethodName, |
| boolean bIsSetPerformedForAbsentNode, |
| boolean bIsNullRepresentedByEmptyNode, |
| boolean bIsNullRepresentedByXsiNil, |
| <a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/XMLNullRepresentationType.html" title="enum in org.eclipse.persistence.oxm.mappings.nullpolicy">XMLNullRepresentationType</a> aMarshalNullRepresentation)</pre> |
| <div class="block">Specific Constructor to set both the Marshal enum and the Unmarshal flags</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>anIsSetMethodName</code> - </dd> |
| <dd><code>bIsSetPerformedForAbsentNode</code> - </dd> |
| <dd><code>bIsNullRepresentedByEmptyNode</code> - </dd> |
| <dd><code>bIsNullRepresentedByXsiNil</code> - </dd> |
| <dd><code>aMarshalNullRepresentation</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="xPathNode-org.eclipse.persistence.internal.oxm.XPathNode-org.eclipse.persistence.internal.oxm.NullCapableValue-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>xPathNode</h4> |
| <pre>public void xPathNode(org.eclipse.persistence.internal.oxm.XPathNode xPathNode, |
| org.eclipse.persistence.internal.oxm.NullCapableValue nullCapableValue)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#xPathNode-org.eclipse.persistence.internal.oxm.XPathNode-org.eclipse.persistence.internal.oxm.NullCapableValue-">AbstractNullPolicy</a></code></span></div> |
| <div class="block">INTERNAL: When using the SAX Platform this allows a NodeValue to be |
| registered to receive events from the TreeObjectBuilder.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html#xPathNode-org.eclipse.persistence.internal.oxm.XPathNode-org.eclipse.persistence.internal.oxm.NullCapableValue-">xPathNode</a></code> in class <code><a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/AbstractNullPolicy.html" title="class in org.eclipse.persistence.oxm.mappings.nullpolicy">AbstractNullPolicy</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSetPerformedForAbsentNode-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>setSetPerformedForAbsentNode</h4> |
| <pre>public void setSetPerformedForAbsentNode(boolean performSet)</pre> |
| <div class="block">Set the isSetPerformedForAbsentNode flag</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>performSet</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage">EclipseLink 3.0.2, API Reference</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/IsSetNullPolicy.html" title="class in org.eclipse.persistence.oxm.mappings.nullpolicy"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../../org/eclipse/persistence/oxm/mappings/nullpolicy/XMLNullRepresentationType.html" title="enum in org.eclipse.persistence.oxm.mappings.nullpolicy"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/eclipse/persistence/oxm/mappings/nullpolicy/NullPolicy.html" target="_top">Frames</a></li> |
| <li><a href="NullPolicy.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#fields.inherited.from.class.org.eclipse.persistence.oxm.mappings.nullpolicy.AbstractNullPolicy">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2007–2021 <a href="http://www.eclipse.org/eclipselink">Eclipse.org - EclipseLink Project</a>. All rights reserved.</small></p> |
| </body> |
| </html> |