sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1418222 [2/2] - /sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/
Date Fri, 07 Dec 2012 08:52:27 GMT
Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_RestrictionCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_RestrictionCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_RestrictionCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_RestrictionCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,91 @@
+/*
+ * 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.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.constraint.Restriction;
+
+
+/**
+ * JAXB adapter for {@link Restriction}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information about
+ * the handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_RestrictionCode extends CodeListAdapter<MD_RestrictionCode, Restriction> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(Restriction.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_RestrictionCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_RestrictionCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_RestrictionCode wrap(CodeListProxy proxy) {
+        return new MD_RestrictionCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<Restriction> getCodeListClass() {
+        return Restriction.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_RestrictionCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_RestrictionCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_RestrictionCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ScopeCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ScopeCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ScopeCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ScopeCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,91 @@
+/*
+ * 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.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.maintenance.ScopeCode;
+
+
+/**
+ * JAXB adapter for {@link ScopeCode}, in order to integrate the value in an element respecting
+ * the ISO-19139 standard. See package documentation for more information about the handling
+ * of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_ScopeCode extends CodeListAdapter<MD_ScopeCode, ScopeCode> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(ScopeCode.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_ScopeCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_ScopeCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_ScopeCode wrap(CodeListProxy proxy) {
+        return new MD_ScopeCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<ScopeCode> getCodeListClass() {
+        return ScopeCode.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_ScopeCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ScopeCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_ScopeCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_SpatialRepresentationTypeCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_SpatialRepresentationTypeCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_SpatialRepresentationTypeCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_SpatialRepresentationTypeCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,93 @@
+/*
+ * 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.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.spatial.SpatialRepresentationType;
+
+
+/**
+ * JAXB adapter for {@link SpatialRepresentationType}, in order to integrate the value in an
+ * element respecting the ISO-19139 standard. See package documentation for more information
+ * about the handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_SpatialRepresentationTypeCode
+        extends CodeListAdapter<MD_SpatialRepresentationTypeCode, SpatialRepresentationType>
+{
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(SpatialRepresentationType.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_SpatialRepresentationTypeCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_SpatialRepresentationTypeCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_SpatialRepresentationTypeCode wrap(CodeListProxy proxy) {
+        return new MD_SpatialRepresentationTypeCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<SpatialRepresentationType> getCodeListClass() {
+        return SpatialRepresentationType.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_SpatialRepresentationTypeCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_SpatialRepresentationTypeCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_SpatialRepresentationTypeCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_TopicCategoryCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_TopicCategoryCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_TopicCategoryCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_TopicCategoryCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,101 @@
+/*
+ * 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.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.identification.TopicCategory;
+
+
+/**
+ * JAXB adapter for {@link TopicCategory}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information
+ * about the handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @author  Guihem Legal (Geomatys)
+ * @author  Martin Desruisseaux (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_TopicCategoryCode extends CodeListAdapter<MD_TopicCategoryCode, TopicCategory> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(TopicCategory.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_TopicCategoryCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_TopicCategoryCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_TopicCategoryCode wrap(CodeListProxy proxy) {
+        return new MD_TopicCategoryCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<TopicCategory> getCodeListClass() {
+        return TopicCategory.class;
+    }
+
+    /**
+     * Returns {@code true} since this code list is actually an enum.
+     */
+    @Override
+    protected boolean isEnum() {
+        return true;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_TopicCategoryCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_TopicCategoryCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_TopicCategoryCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_TopologyLevelCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_TopologyLevelCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_TopologyLevelCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_TopologyLevelCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,91 @@
+/*
+ * 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.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.spatial.TopologyLevel;
+
+
+/**
+ * JAXB adapter for {@link TopologyLevel}, in order to integrate the value in an element
+ * complying with ISO-19139 standard. See package documentation for more information about
+ * the handling of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-2.5)
+ * @version 0.3
+ * @module
+ */
+public final class MD_TopologyLevelCode extends CodeListAdapter<MD_TopologyLevelCode, TopologyLevel> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(TopologyLevel.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MD_TopologyLevelCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MD_TopologyLevelCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MD_TopologyLevelCode wrap(CodeListProxy proxy) {
+        return new MD_TopologyLevelCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<TopologyLevel> getCodeListClass() {
+        return TopologyLevel.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MD_TopologyLevelCode")
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_TopologyLevelCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MD_TopologyLevelCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_BandDefinition.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_BandDefinition.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_BandDefinition.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_BandDefinition.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,92 @@
+/*
+ * 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.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.content.BandDefinition;
+import org.apache.sis.xml.Namespaces;
+
+
+/**
+ * JAXB adapter for {@link BandDefinition}, in order to integrate the value in an element respecting
+ * the ISO-19139 standard. See package documentation for more information about the handling
+ * of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-3.02)
+ * @version 0.3
+ * @module
+ */
+public final class MI_BandDefinition extends CodeListAdapter<MI_BandDefinition, BandDefinition> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(BandDefinition.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MI_BandDefinition() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MI_BandDefinition(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MI_BandDefinition wrap(CodeListProxy proxy) {
+        return new MI_BandDefinition(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<BandDefinition> getCodeListClass() {
+        return BandDefinition.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MI_BandDefinition", namespace = Namespaces.GMI)
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_BandDefinition.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_BandDefinition.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_ContextCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_ContextCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_ContextCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_ContextCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,92 @@
+/*
+ * 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.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.acquisition.Context;
+import org.apache.sis.xml.Namespaces;
+
+
+/**
+ * JAXB adapter for {@link Context}, in order to integrate the value in an element respecting
+ * the ISO-19139 standard. See package documentation for more information about the handling
+ * of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-3.02)
+ * @version 0.3
+ * @module
+ */
+public final class MI_ContextCode extends CodeListAdapter<MI_ContextCode, Context> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(Context.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MI_ContextCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MI_ContextCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MI_ContextCode wrap(CodeListProxy proxy) {
+        return new MI_ContextCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<Context> getCodeListClass() {
+        return Context.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MI_ContextCode", namespace = Namespaces.GMI)
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_ContextCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_ContextCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_GeometryTypeCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_GeometryTypeCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_GeometryTypeCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_GeometryTypeCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,92 @@
+/*
+ * 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.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.acquisition.GeometryType;
+import org.apache.sis.xml.Namespaces;
+
+
+/**
+ * JAXB adapter for {@link GeometryType}, in order to integrate the value in an element respecting
+ * the ISO-19139 standard. See package documentation for more information about the handling
+ * of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-3.02)
+ * @version 0.3
+ * @module
+ */
+public final class MI_GeometryTypeCode extends CodeListAdapter<MI_GeometryTypeCode, GeometryType> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(GeometryType.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MI_GeometryTypeCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MI_GeometryTypeCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MI_GeometryTypeCode wrap(CodeListProxy proxy) {
+        return new MI_GeometryTypeCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<GeometryType> getCodeListClass() {
+        return GeometryType.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MI_GeometryTypeCode", namespace = Namespaces.GMI)
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_GeometryTypeCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_GeometryTypeCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_ObjectiveTypeCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_ObjectiveTypeCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_ObjectiveTypeCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_ObjectiveTypeCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,92 @@
+/*
+ * 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.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.acquisition.ObjectiveType;
+import org.apache.sis.xml.Namespaces;
+
+
+/**
+ * JAXB adapter for {@link ObjectiveType}, in order to integrate the value in an element respecting
+ * the ISO-19139 standard. See package documentation for more information about the handling
+ * of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-3.02)
+ * @version 0.3
+ * @module
+ */
+public final class MI_ObjectiveTypeCode extends CodeListAdapter<MI_ObjectiveTypeCode, ObjectiveType> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(ObjectiveType.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MI_ObjectiveTypeCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MI_ObjectiveTypeCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MI_ObjectiveTypeCode wrap(CodeListProxy proxy) {
+        return new MI_ObjectiveTypeCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<ObjectiveType> getCodeListClass() {
+        return ObjectiveType.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MI_ObjectiveTypeCode", namespace = Namespaces.GMI)
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_ObjectiveTypeCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_ObjectiveTypeCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_OperationTypeCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_OperationTypeCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_OperationTypeCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_OperationTypeCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,92 @@
+/*
+ * 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.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.acquisition.OperationType;
+import org.apache.sis.xml.Namespaces;
+
+
+/**
+ * JAXB adapter for {@link OperationType}, in order to integrate the value in an element respecting
+ * the ISO-19139 standard. See package documentation for more information about the handling
+ * of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-3.02)
+ * @version 0.3
+ * @module
+ */
+public final class MI_OperationTypeCode extends CodeListAdapter<MI_OperationTypeCode, OperationType> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(OperationType.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MI_OperationTypeCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MI_OperationTypeCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MI_OperationTypeCode wrap(CodeListProxy proxy) {
+        return new MI_OperationTypeCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<OperationType> getCodeListClass() {
+        return OperationType.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MI_OperationTypeCode", namespace = Namespaces.GMI)
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_OperationTypeCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_OperationTypeCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_PolarizationOrientationCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_PolarizationOrientationCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_PolarizationOrientationCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_PolarizationOrientationCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,95 @@
+/*
+ * 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.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.content.PolarizationOrientation;
+import org.apache.sis.xml.Namespaces;
+
+
+/**
+ * JAXB adapter for {@link PolarizationOrientation}, in order to integrate the value in an element respecting
+ * the ISO-19139 standard. See package documentation for more information about the handling
+ * of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @author  Guilhem Legal (Geomatys)
+ * @since   0.3 (derived from geotk-3.02)
+ * @version 0.3
+ * @module
+ */
+public final class MI_PolarizationOrientationCode
+        extends CodeListAdapter<MI_PolarizationOrientationCode, PolarizationOrientation>
+{
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(PolarizationOrientation.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MI_PolarizationOrientationCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MI_PolarizationOrientationCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MI_PolarizationOrientationCode wrap(CodeListProxy proxy) {
+        return new MI_PolarizationOrientationCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<PolarizationOrientation> getCodeListClass() {
+        return PolarizationOrientation.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MI_PolarizationOrientationCode", namespace = Namespaces.GMI)
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_PolarizationOrientationCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_PolarizationOrientationCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_PriorityCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_PriorityCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_PriorityCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_PriorityCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,92 @@
+/*
+ * 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.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.acquisition.Priority;
+import org.apache.sis.xml.Namespaces;
+
+
+/**
+ * JAXB adapter for {@link Priority}, in order to integrate the value in an element respecting
+ * the ISO-19139 standard. See package documentation for more information about the handling
+ * of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-3.02)
+ * @version 0.3
+ * @module
+ */
+public final class MI_PriorityCode extends CodeListAdapter<MI_PriorityCode, Priority> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(Priority.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MI_PriorityCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MI_PriorityCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MI_PriorityCode wrap(CodeListProxy proxy) {
+        return new MI_PriorityCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<Priority> getCodeListClass() {
+        return Priority.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MI_PriorityCode", namespace = Namespaces.GMI)
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_PriorityCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_PriorityCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_SequenceCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_SequenceCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_SequenceCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_SequenceCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,92 @@
+/*
+ * 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.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.acquisition.Sequence;
+import org.apache.sis.xml.Namespaces;
+
+
+/**
+ * JAXB adapter for {@link Sequence}, in order to integrate the value in an element respecting
+ * the ISO-19139 standard. See package documentation for more information about the handling
+ * of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-3.02)
+ * @version 0.3
+ * @module
+ */
+public final class MI_SequenceCode extends CodeListAdapter<MI_SequenceCode, Sequence> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(Sequence.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MI_SequenceCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MI_SequenceCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MI_SequenceCode wrap(CodeListProxy proxy) {
+        return new MI_SequenceCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<Sequence> getCodeListClass() {
+        return Sequence.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MI_SequenceCode", namespace = Namespaces.GMI)
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_SequenceCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_SequenceCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_TransferFunctionTypeCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_TransferFunctionTypeCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_TransferFunctionTypeCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_TransferFunctionTypeCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,94 @@
+/*
+ * 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.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.content.TransferFunctionType;
+import org.apache.sis.xml.Namespaces;
+
+
+/**
+ * JAXB adapter for {@link TransferFunctionType}, in order to integrate the value in an element respecting
+ * the ISO-19139 standard. See package documentation for more information about the handling
+ * of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-3.02)
+ * @version 0.3
+ * @module
+ */
+public final class MI_TransferFunctionTypeCode
+        extends CodeListAdapter<MI_TransferFunctionTypeCode, TransferFunctionType>
+{
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(TransferFunctionType.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MI_TransferFunctionTypeCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MI_TransferFunctionTypeCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MI_TransferFunctionTypeCode wrap(CodeListProxy proxy) {
+        return new MI_TransferFunctionTypeCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<TransferFunctionType> getCodeListClass() {
+        return TransferFunctionType.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MI_TransferFunctionTypeCode", namespace = Namespaces.GMI)
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_TransferFunctionTypeCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_TransferFunctionTypeCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_TriggerCode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_TriggerCode.java?rev=1418222&view=auto
==============================================================================
--- sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_TriggerCode.java (added)
+++ sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_TriggerCode.java Fri Dec  7 08:52:17 2012
@@ -0,0 +1,92 @@
+/*
+ * 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.
+ */
+package org.apache.sis.internal.jaxb.code;
+
+import org.apache.sis.internal.jaxb.gmd.CodeListAdapter;
+import org.apache.sis.internal.jaxb.gmd.CodeListProxy;
+import javax.xml.bind.annotation.XmlElement;
+import org.opengis.metadata.acquisition.Trigger;
+import org.apache.sis.xml.Namespaces;
+
+
+/**
+ * JAXB adapter for {@link Trigger}, in order to integrate the value in an element respecting
+ * the ISO-19139 standard. See package documentation for more information about the handling
+ * of {@code CodeList} in ISO-19139.
+ *
+ * @author  Cédric Briançon (Geomatys)
+ * @since   0.3 (derived from geotk-3.02)
+ * @version 0.3
+ * @module
+ */
+public final class MI_TriggerCode extends CodeListAdapter<MI_TriggerCode, Trigger> {
+    /**
+     * Ensures that the adapted code list class is loaded.
+     */
+    static {
+        ensureClassLoaded(Trigger.class);
+    }
+
+    /**
+     * Empty constructor for JAXB only.
+     */
+    public MI_TriggerCode() {
+    }
+
+    /**
+     * Creates a new adapter for the given proxy.
+     */
+    private MI_TriggerCode(final CodeListProxy proxy) {
+        super(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected MI_TriggerCode wrap(CodeListProxy proxy) {
+        return new MI_TriggerCode(proxy);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    protected Class<Trigger> getCodeListClass() {
+        return Trigger.class;
+    }
+
+    /**
+     * Invoked by JAXB on marshalling.
+     *
+     * @return The value to be marshalled.
+     */
+    @Override
+    @XmlElement(name = "MI_TriggerCode", namespace = Namespaces.GMI)
+    public CodeListProxy getElement() {
+        return proxy;
+    }
+
+    /**
+     * Invoked by JAXB on unmarshalling.
+     *
+     * @param proxy The unmarshalled value.
+     */
+    public void setElement(final CodeListProxy proxy) {
+        this.proxy = proxy;
+    }
+}

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_TriggerCode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK7/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/MI_TriggerCode.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message