blob: 2f532a218d2772a016502eaa2d4ba2850776549d [file] [log] [blame]
<?xml version="1.0" encoding="US-ASCII"?>
<!--
Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0 which is available at
http://www.eclipse.org/legal/epl-2.0,
or the Eclipse Distribution License v. 1.0 which is available at
http://www.eclipse.org/org/documents/edl-v10.php.
SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
-->
<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="org.eclipse.persistence.testing.jaxb.xmlvirtualaccessmethods">
<xml-schema>
<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>
<xml-enums>
<xml-enum java-enum="org.eclipse.persistence.testing.jaxb.xmlvirtualaccessmethods.ExtEnum" value="java.lang.String">
<xml-enum-value java-enum-value="N">NORTH</xml-enum-value>
<xml-enum-value java-enum-value="S">SOUTH</xml-enum-value>
<xml-enum-value java-enum-value="E">EAST</xml-enum-value>
<xml-enum-value java-enum-value="W">WEST</xml-enum-value>
</xml-enum>
</xml-enums>
<java-types>
<java-type name="ExtObjectA">
<java-attributes>
<xml-attribute java-attribute="directatt" type="java.lang.String" />
<xml-element java-attribute="directelem" type="java.lang.String" />
<xml-element java-attribute="nullpol" type="java.lang.String">
<xml-null-policy null-representation-for-xml="XSI_NIL"
xsi-nil-represents-null="true" empty-node-represents-null="false" />
</xml-element>
<xml-join-nodes java-attribute="join" type="org.eclipse.persistence.testing.jaxb.xmlvirtualaccessmethods.ExtObjectB">
<xml-join-node xml-path="join/@directatt" referenced-xml-path="@directatt" />
</xml-join-nodes>
<xml-element java-attribute="idref" type="org.eclipse.persistence.testing.jaxb.xmlvirtualaccessmethods.ExtObjectB" xml-idref="true" />
<xml-element java-attribute="anEnum" type="org.eclipse.persistence.testing.jaxb.xmlvirtualaccessmethods.ExtEnum" />
<xml-element java-attribute="base64" type="[B">
<xml-schema-type name="base64Binary"/>
</xml-element>
<xml-element java-attribute="hex" type="[B">
<xml-schema-type name="hexBinary" />
</xml-element>
<!--
<xml-element java-attribute="bigByteArray" type="[Ljava.lang.Byte;"/>
-->
<xml-element java-attribute="myStringArray" type="[Ljava.lang.String;"/>
<xml-element java-attribute="xmllist" type="java.lang.String" container-type="java.util.ArrayList" xml-list="true" />
<xml-any-element java-attribute="mixed" container-type="java.util.ArrayList" />
</java-attributes>
</java-type>
<java-type name="ExtObjectB">
<java-attributes>
<xml-attribute java-attribute="directatt" xml-path="@directatt" xml-id="true" type="java.lang.String" />
<xml-element java-attribute="directelem" type="java.lang.String" />
<xml-element java-attribute="references" name="ref" type="org.eclipse.persistence.testing.jaxb.xmlvirtualaccessmethods.ExtObjectC" container-type="java.util.ArrayList">
<xml-element-wrapper name="references" />
</xml-element>
</java-attributes>
</java-type>
<java-type name="ExtObjectC">
<java-attributes>
<xml-attribute java-attribute="directatt" type="java.lang.String" />
<xml-element java-attribute="directelem" type="java.lang.String" />
<xml-inverse-reference java-attribute="inverse" type="org.eclipse.persistence.testing.jaxb.xmlvirtualaccessmethods.ExtObjectB" mapped-by="references" />
</java-attributes>
</java-type>
</java-types>
</xml-bindings>