Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/binary/BinaryXmlElementDeclAnnotation.java')
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/binary/BinaryXmlElementDeclAnnotation.java35
1 files changed, 9 insertions, 26 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/binary/BinaryXmlElementDeclAnnotation.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/binary/BinaryXmlElementDeclAnnotation.java
index 86951d8798..2b95dfa702 100644
--- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/binary/BinaryXmlElementDeclAnnotation.java
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/binary/BinaryXmlElementDeclAnnotation.java
@@ -10,7 +10,6 @@
package org.eclipse.jpt.jaxb.core.internal.resource.java.binary;
import org.eclipse.jdt.core.IAnnotation;
-import org.eclipse.jpt.common.core.internal.resource.java.binary.BinaryAnnotation;
import org.eclipse.jpt.common.core.resource.java.JavaResourceAnnotatedElement;
import org.eclipse.jpt.common.core.utility.TextRange;
import org.eclipse.jpt.jaxb.core.resource.java.JAXB;
@@ -20,7 +19,7 @@ import org.eclipse.jpt.jaxb.core.resource.java.XmlElementDeclAnnotation;
* javax.xml.bind.annotation.XmlElementDecl
*/
public final class BinaryXmlElementDeclAnnotation
- extends BinaryAnnotation
+ extends BinaryQNameAnnotation
implements XmlElementDeclAnnotation {
private String scope;
@@ -69,10 +68,6 @@ public final class BinaryXmlElementDeclAnnotation
return this.namespace;
}
- public void setNamespace(String namespace) {
- throw new UnsupportedOperationException();
- }
-
private void setNamespace_(String namespace) {
String old = this.namespace;
this.namespace = namespace;
@@ -83,14 +78,6 @@ public final class BinaryXmlElementDeclAnnotation
return (String) getJdtMemberValue(JAXB.XML_ELEMENT_DECL__NAMESPACE);
}
- public TextRange getNamespaceTextRange() {
- throw new UnsupportedOperationException();
- }
-
- public boolean namespaceTouches(int pos) {
- throw new UnsupportedOperationException();
- }
-
// ***** name *****
@@ -98,10 +85,6 @@ public final class BinaryXmlElementDeclAnnotation
return this.name;
}
- public void setName(String name) {
- throw new UnsupportedOperationException();
- }
-
private void setName_(String name) {
String old = this.name;
this.name = name;
@@ -112,14 +95,6 @@ public final class BinaryXmlElementDeclAnnotation
return (String) getJdtMemberValue(JAXB.XML_ELEMENT_DECL__NAME);
}
- public TextRange getNameTextRange() {
- throw new UnsupportedOperationException();
- }
-
- public boolean nameTouches(int pos) {
- throw new UnsupportedOperationException();
- }
-
// ***** scope *****
@@ -175,6 +150,10 @@ public final class BinaryXmlElementDeclAnnotation
throw new UnsupportedOperationException();
}
+ public TextRange getSubstitutionHeadNamespaceValidationTextRange() {
+ throw new UnsupportedOperationException();
+ }
+
public boolean substitutionHeadNamespaceTouches(int pos) {
throw new UnsupportedOperationException();
}
@@ -204,6 +183,10 @@ public final class BinaryXmlElementDeclAnnotation
throw new UnsupportedOperationException();
}
+ public TextRange getSubstitutionHeadNameValidationTextRange() {
+ throw new UnsupportedOperationException();
+ }
+
public boolean substitutionHeadNameTouches(int pos) {
throw new UnsupportedOperationException();
}

Back to the top