blob: 542827c39932525d4cf5dcf258ee9854065f7884 [file] [log] [blame]
<?xml version="1.0"?>
<!--
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"
package-name="org.eclipse.persistence.testing.jaxb.dynamic.withstatic">
<java-types>
<java-type name="Customer">
<xml-root-element/>
<java-attributes>
<xml-element java-attribute="name" type="java.lang.String"/>
<xml-element java-attribute="address" type="org.eclipse.persistence.testing.jaxb.dynamic.withstatic.AddressWithPhone"/>
<xml-element java-attribute="phoneNumber" type="org.eclipse.persistence.testing.jaxb.dynamic.withstatic.PhoneNumber" container-type="java.util.List"/>
</java-attributes>
</java-type>
<java-type name="AddressWithPhone">
<java-attributes>
<xml-element java-attribute="phone" type="org.eclipse.persistence.testing.jaxb.dynamic.withstatic.PhoneNumber"/>
</java-attributes>
</java-type>
<java-type name="PhoneNumber">
<java-attributes>
<xml-attribute java-attribute="type" type="java.lang.String"/>
<xml-value java-attribute="value" type="java.lang.String"/>
</java-attributes>
</java-type>
</java-types>
</xml-bindings>