diff options
author | pfullbright | 2011-08-01 17:39:40 +0000 |
---|---|---|
committer | pfullbright | 2011-08-01 17:39:40 +0000 |
commit | 97661dba68b066ad54186db3063afcdf1ff09a7f (patch) | |
tree | 07d2bc402aecfaab1e137a8d57ccadef10cd2a7b | |
parent | c7a08672e168714087c16ed7123975c92c21d7d9 (diff) | |
download | webtools.dali-97661dba68b066ad54186db3063afcdf1ff09a7f.tar.gz webtools.dali-97661dba68b066ad54186db3063afcdf1ff09a7f.tar.xz webtools.dali-97661dba68b066ad54186db3063afcdf1ff09a7f.zip |
removed XmlMixed mapping
5 files changed, 0 insertions, 135 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/JaxbFactory.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/JaxbFactory.java index 3173f762cb..67583d644f 100644 --- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/JaxbFactory.java +++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/JaxbFactory.java @@ -38,7 +38,6 @@ import org.eclipse.jpt.jaxb.core.context.XmlElementMapping; import org.eclipse.jpt.jaxb.core.context.XmlElementRefMapping; import org.eclipse.jpt.jaxb.core.context.XmlElementRefsMapping; import org.eclipse.jpt.jaxb.core.context.XmlElementsMapping; -import org.eclipse.jpt.jaxb.core.context.XmlMixedMapping; import org.eclipse.jpt.jaxb.core.context.XmlNs; import org.eclipse.jpt.jaxb.core.context.XmlRootElement; import org.eclipse.jpt.jaxb.core.context.XmlSchema; @@ -145,8 +144,6 @@ public interface JaxbFactory { XmlElementsMapping buildJavaXmlElementsMapping(JaxbPersistentAttribute parent); - XmlMixedMapping buildJavaXmlMixedMapping(JaxbPersistentAttribute parent); - JaxbAttributeMapping buildJavaXmlTransientMapping(JaxbPersistentAttribute parent); XmlValueMapping buildJavaXmlValueMapping(JaxbPersistentAttribute parent); diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/context/XmlMixedMapping.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/context/XmlMixedMapping.java deleted file mode 100644 index 04d40a11d0..0000000000 --- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/context/XmlMixedMapping.java +++ /dev/null @@ -1,27 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2011 Oracle. All rights reserved. - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0, which accompanies this distribution - * and is available at http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Oracle - initial API and implementation - *******************************************************************************/ -package org.eclipse.jpt.jaxb.core.context; - -/** - * Represents a JAXB mixed mapping (@XmlMixed) - * <p> - * Provisional API: This interface is part of an interim API that is still - * under development and expected to change significantly before reaching - * stability. It is available at this early stage to solicit feedback from - * pioneering adopters on the understanding that any code that uses this API - * will almost certainly be broken (repeatedly) as the API evolves. - * - * @version 3.1 - * @since 3.1 - */ -public interface XmlMixedMapping - extends JaxbAttributeMapping { - -} diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/AbstractJaxbFactory.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/AbstractJaxbFactory.java index a06765dd88..6193ddbf5d 100644 --- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/AbstractJaxbFactory.java +++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/AbstractJaxbFactory.java @@ -42,7 +42,6 @@ import org.eclipse.jpt.jaxb.core.context.XmlElementMapping; import org.eclipse.jpt.jaxb.core.context.XmlElementRefMapping; import org.eclipse.jpt.jaxb.core.context.XmlElementRefsMapping; import org.eclipse.jpt.jaxb.core.context.XmlElementsMapping; -import org.eclipse.jpt.jaxb.core.context.XmlMixedMapping; import org.eclipse.jpt.jaxb.core.context.XmlNs; import org.eclipse.jpt.jaxb.core.context.XmlRootElement; import org.eclipse.jpt.jaxb.core.context.XmlSchema; @@ -65,7 +64,6 @@ import org.eclipse.jpt.jaxb.core.internal.context.java.GenericJavaXmlElementMapp import org.eclipse.jpt.jaxb.core.internal.context.java.GenericJavaXmlElementRefMapping; import org.eclipse.jpt.jaxb.core.internal.context.java.GenericJavaXmlElementRefsMapping; import org.eclipse.jpt.jaxb.core.internal.context.java.GenericJavaXmlElementsMapping; -import org.eclipse.jpt.jaxb.core.internal.context.java.GenericJavaXmlMixedMapping; import org.eclipse.jpt.jaxb.core.internal.context.java.GenericJavaXmlNs; import org.eclipse.jpt.jaxb.core.internal.context.java.GenericJavaXmlRootElement; import org.eclipse.jpt.jaxb.core.internal.context.java.GenericJavaXmlSchema; @@ -198,10 +196,6 @@ public abstract class AbstractJaxbFactory return new GenericJavaXmlElementsMapping(parent); } - public XmlMixedMapping buildJavaXmlMixedMapping(JaxbPersistentAttribute parent) { - return new GenericJavaXmlMixedMapping(parent); - } - public XmlValueMapping buildJavaXmlValueMapping(JaxbPersistentAttribute parent) { return new GenericJavaXmlValueMapping(parent); } diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/java/GenericJavaXmlMixedMapping.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/java/GenericJavaXmlMixedMapping.java deleted file mode 100644 index 10eca0f4d1..0000000000 --- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/java/GenericJavaXmlMixedMapping.java +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2011 Oracle. All rights reserved. - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0, which accompanies this distribution - * and is available at http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Oracle - initial API and implementation - *******************************************************************************/ -package org.eclipse.jpt.jaxb.core.internal.context.java; - -import org.eclipse.jpt.jaxb.core.MappingKeys; -import org.eclipse.jpt.jaxb.core.context.JaxbPersistentAttribute; -import org.eclipse.jpt.jaxb.core.context.XmlMixedMapping; -import org.eclipse.jpt.jaxb.core.resource.java.JAXB; -import org.eclipse.jpt.jaxb.core.resource.java.XmlMixedAnnotation; - - -public class GenericJavaXmlMixedMapping - extends AbstractJavaAttributeMapping<XmlMixedAnnotation> - implements XmlMixedMapping { - - public GenericJavaXmlMixedMapping(JaxbPersistentAttribute parent) { - super(parent); - } - - - public String getKey() { - return MappingKeys.XML_MIXED_ATTRIBUTE_MAPPING_KEY; - } - - @Override - protected String getAnnotationName() { - return JAXB.XML_MIXED; - } -} diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/java/JavaXmlMixedMappingDefinition.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/java/JavaXmlMixedMappingDefinition.java deleted file mode 100644 index e08f852eaf..0000000000 --- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/java/JavaXmlMixedMappingDefinition.java +++ /dev/null @@ -1,63 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2011 Oracle. All rights reserved. - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0, which accompanies this distribution - * and is available at http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Oracle - initial API and implementation - *******************************************************************************/ -package org.eclipse.jpt.jaxb.core.internal.context.java; - -import org.eclipse.jpt.common.utility.internal.iterables.ArrayListIterable; -import org.eclipse.jpt.jaxb.core.JaxbFactory; -import org.eclipse.jpt.jaxb.core.MappingKeys; -import org.eclipse.jpt.jaxb.core.context.JaxbAttributeMapping; -import org.eclipse.jpt.jaxb.core.context.JaxbPersistentAttribute; -import org.eclipse.jpt.jaxb.core.context.java.JavaAttributeMappingDefinition; -import org.eclipse.jpt.jaxb.core.resource.java.JAXB; - - -public class JavaXmlMixedMappingDefinition - extends AbstractJavaAttributeMappingDefinition{ - - // singleton - private static final JavaXmlMixedMappingDefinition INSTANCE = - new JavaXmlMixedMappingDefinition(); - - private static final String[] SUPPORTING_ANNOTATION_NAMES = - { JAXB.XML_JAVA_TYPE_ADAPTER }; - - - /** - * Return the singleton. - */ - public static JavaAttributeMappingDefinition instance() { - return INSTANCE; - } - - - /** - * Enforce singleton usage - */ - private JavaXmlMixedMappingDefinition() { - super(); - } - - - public String getKey() { - return MappingKeys.XML_MIXED_ATTRIBUTE_MAPPING_KEY; - } - - public String getAnnotationName() { - return JAXB.XML_MIXED; - } - - public Iterable<String> getSupportingAnnotationNames() { - return new ArrayListIterable<String>(SUPPORTING_ANNOTATION_NAMES); - } - - public JaxbAttributeMapping buildMapping(JaxbPersistentAttribute parent, JaxbFactory factory) { - return factory.buildJavaXmlMixedMapping(parent); - } -} |