<?xml version="1.0" encoding="US-ASCII"?> | |
<xml-bindings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" package-name="mynamespace"> | |
<xml-schema element-form-default="UNQUALIFIED" attribute-form-default="UNQUALIFIED" namespace="mynamespace"> | |
<xml-ns prefix="ns1" namespace-uri="mynamespace"/> | |
<xml-ns prefix="xsd" namespace-uri="http://www.w3.org/2001/XMLSchema"/> | |
<xml-ns prefix="xsi" namespace-uri="http://www.w3.org/2001/XMLSchema-instance"/> | |
</xml-schema> | |
<java-types> | |
<java-type name="mynamespace.Person"> | |
<xml-root-element name="person"/> | |
<java-attributes> | |
<xml-element java-attribute="write1" type="java.lang.String"> | |
<xml-null-policy null-representation-for-xml="EMPTY_NODE"/> | |
</xml-element> | |
<xml-element java-attribute="write2" type="java.lang.String"> | |
<xml-null-policy null-representation-for-xml="ABSENT_NODE"/> | |
</xml-element> | |
<xml-element java-attribute="write3" type="java.lang.String"> | |
<xml-null-policy null-representation-for-xml="XSI_NIL"/> | |
</xml-element> | |
<xml-element java-attribute="read1" type="java.lang.String"> | |
<xml-null-policy null-representation-for-xml="ABSENT_NODE" xsi-nil-represents-null="true" empty-node-represents-null="false"/> | |
</xml-element> | |
<xml-element java-attribute="read2" type="java.lang.String"> | |
<xml-null-policy null-representation-for-xml="ABSENT_NODE" xsi-nil-represents-null="false" empty-node-represents-null="false"/> | |
</xml-element> | |
<xml-element java-attribute="read3" type="java.lang.String"> | |
<xml-null-policy null-representation-for-xml="ABSENT_NODE" xsi-nil-represents-null="true" empty-node-represents-null="true"/> | |
</xml-element> | |
<xml-element java-attribute="read4" type="java.lang.String"> | |
<xml-null-policy null-representation-for-xml="ABSENT_NODE" xsi-nil-represents-null="false" empty-node-represents-null="true"/> | |
</xml-element> | |
<xml-element java-attribute="read5" type="mynamespace.Address"> | |
<xml-null-policy null-representation-for-xml="ABSENT_NODE" xsi-nil-represents-null="true" empty-node-represents-null="false"/> | |
</xml-element> | |
<xml-element java-attribute="read6" type="mynamespace.Address"> | |
<xml-null-policy null-representation-for-xml="ABSENT_NODE" xsi-nil-represents-null="false" empty-node-represents-null="false"/> | |
</xml-element> | |
<xml-element java-attribute="read7" type="mynamespace.Address"> | |
<xml-null-policy null-representation-for-xml="ABSENT_NODE" xsi-nil-represents-null="true" empty-node-represents-null="true"/> | |
</xml-element> | |
<xml-element java-attribute="read8" type="mynamespace.Address"> | |
<xml-null-policy null-representation-for-xml="ABSENT_NODE" xsi-nil-represents-null="false" empty-node-represents-null="true"/> | |
</xml-element> | |
<xml-element java-attribute="read9" type="java.lang.String"> | |
<xml-null-policy null-representation-for-xml="ABSENT_NODE" xsi-nil-represents-null="true" empty-node-represents-null="false"/> | |
</xml-element> | |
<xml-element java-attribute="read10" type="java.lang.String"> | |
<xml-null-policy null-representation-for-xml="ABSENT_NODE" xsi-nil-represents-null="false" empty-node-represents-null="false"/> | |
</xml-element> | |
<xml-element java-attribute="read11" type="java.lang.String"> | |
<xml-null-policy null-representation-for-xml="ABSENT_NODE" xsi-nil-represents-null="true" empty-node-represents-null="true"/> | |
</xml-element> | |
<xml-element java-attribute="read12" type="java.lang.String"> | |
<xml-null-policy null-representation-for-xml="ABSENT_NODE" xsi-nil-represents-null="false" empty-node-represents-null="true"/> | |
</xml-element> | |
</java-attributes> | |
</java-type> | |
<java-type name="mynamespace.Address"> | |
<java-attributes> | |
<xml-element java-attribute="info" type="java.lang.String"/> | |
</java-attributes> | |
</java-type> | |
</java-types> | |
</xml-bindings> |