| /* |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. |
| * The ASF licenses this file to You under the Apache License, Version 2.0 |
| * (the "License"); you may not use this file except in compliance with |
| * the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| /** |
| * Miscellaneous objects and adapters defined in the {@code "gml"} namespace. |
| * This package contains adapters mapping GeoAPI interfaces to their SIS implementation. |
| * We must use adapters since JAXB cannot handle interfaces. Consequently, the purpose of |
| * these adapters is to replace arbitrary instances of interfaces by SIS implementations. |
| * |
| * <p>Every time JAXB try to marshal or unmarshal an instance of an interface, |
| * the adapter will be invoked for eventually substituting that instance.</p> |
| * |
| * @author Guilhem Legal (Geomatys) |
| * @author Cédric Briançon (Geomatys) |
| * @author Martin Desruisseaux (Geomatys) |
| * |
| * @see jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter |
| */ |
| @XmlSchema(elementFormDefault = XmlNsForm.QUALIFIED, namespace = Namespaces.GML, xmlns = { |
| @XmlNs(prefix = "gml", namespaceURI = Namespaces.GML), |
| @XmlNs(prefix = "gco", namespaceURI = Namespaces.GCO) |
| }) |
| @XmlAccessorType(XmlAccessType.NONE) |
| package org.apache.sis.xml.bind.gml; |
| |
| import jakarta.xml.bind.annotation.XmlNs; |
| import jakarta.xml.bind.annotation.XmlNsForm; |
| import jakarta.xml.bind.annotation.XmlSchema; |
| import jakarta.xml.bind.annotation.XmlAccessType; |
| import jakarta.xml.bind.annotation.XmlAccessorType; |
| import org.apache.sis.xml.Namespaces; |