Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/java/XmlJoinNodeAnnotation.java')
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/java/XmlJoinNodeAnnotation.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/java/XmlJoinNodeAnnotation.java b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/java/XmlJoinNodeAnnotation.java
index 1b4b37c6f3..7e8ff12345 100644
--- a/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/java/XmlJoinNodeAnnotation.java
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.eclipselink.core/src/org/eclipse/jpt/jaxb/eclipselink/core/resource/java/XmlJoinNodeAnnotation.java
@@ -53,6 +53,12 @@ public interface XmlJoinNodeAnnotation
TextRange getXmlPathTextRange(CompilationUnit astRoot);
/**
+ * Return whether the specified text position is within the 'xmlPath' element.
+ */
+ boolean xmlPathTouches(int pos, CompilationUnit astRoot);
+
+
+ /**
* String associated with change events to the 'referencedXmlPath' property
*/
String REFERENCED_XML_PATH_PROPERTY = "referencedXmlPath"; //$NON-NLS-1$
@@ -74,4 +80,9 @@ public interface XmlJoinNodeAnnotation
* Return the text range of this annotation if the element is absent.
*/
TextRange getReferencedXmlPathTextRange(CompilationUnit astRoot);
+
+ /**
+ * Return whether the specified text position is within the 'referencedXmlPath' element.
+ */
+ boolean referencedXmlPathTouches(int pos, CompilationUnit astRoot);
}

Back to the top