org.eclipse.jpt.jaxb.core.context.java
Interface JavaContextNode

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JaxbContextNode, JaxbNode, Model
All Known Subinterfaces:
JaxbAttributeMapping, JaxbAttributesContainer, JaxbClass, JaxbContainmentMapping, JaxbPackageInfo, JaxbPersistentAttribute, JaxbPersistentClass, JaxbPersistentEnum, JaxbPersistentField, JaxbPersistentProperty, JaxbPersistentType, JaxbRegistry, JaxbTransientClass, JaxbType, XmlAdaptable, XmlAnyAttributeMapping, XmlAnyElementMapping, XmlAttachmentRef, XmlAttributeMapping, XmlElementMapping, XmlElementWrapper, XmlID, XmlIDREF, XmlJavaTypeAdapter, XmlList, XmlMixed, XmlRootElement, XmlSchema, XmlSchemaType, XmlSeeAlso, XmlValueMapping

public interface JavaContextNode
extends JaxbContextNode


Method Summary
 java.lang.Iterable<java.lang.String> getJavaCompletionProposals(int pos, Filter<java.lang.String> filter, org.eclipse.jdt.core.dom.CompilationUnit astRoot)
          Return the Java code-completion proposals for the specified position in the source code.
 TextRange getValidationTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
          Return the text range for highlighting errors for this object
 void validate(java.util.List<org.eclipse.wst.validation.internal.provisional.core.IMessage> messages, org.eclipse.wst.validation.internal.provisional.core.IReporter reporter, org.eclipse.jdt.core.dom.CompilationUnit astRoot)
          Adds to the list of current validation messages
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbContextNode
getContextRoot, getResourceType, synchronizeWithResourceModel, update
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.JaxbNode
getJaxbProject, getParent, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.IResourcePart
getResource
 

Method Detail

getJavaCompletionProposals

java.lang.Iterable<java.lang.String> getJavaCompletionProposals(int pos,
                                                                Filter<java.lang.String> filter,
                                                                org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the Java code-completion proposals for the specified position in the source code.


validate

void validate(java.util.List<org.eclipse.wst.validation.internal.provisional.core.IMessage> messages,
              org.eclipse.wst.validation.internal.provisional.core.IReporter reporter,
              org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Adds to the list of current validation messages


getValidationTextRange

TextRange getValidationTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the text range for highlighting errors for this object