Dali Provisional API
Release 3.2

org.eclipse.jpt.jaxb.core.context
Interface JaxbContextNode

All Superinterfaces:
IAdaptable, JaxbNode, JptResourceTypeReference, Model
All Known Subinterfaces:
Accessor, ELClassMapping, ELJaxbContextRoot, ELJaxbPackage, ELXmlAnyAttributeMapping, ELXmlAnyElementMapping, ELXmlAttributeMapping, ELXmlCDATA, ELXmlDiscriminatorNode, ELXmlElementMapping, ELXmlElementsMapping, ELXmlInverseReferenceMapping, ELXmlJoinNode, ELXmlJoinNodesMapping, ELXmlKey, ELXmlNamedNodeMapping, ELXmlPath, ELXmlValueMapping, JavaClass, JavaClassMapping, JavaEnum, JavaEnumMapping, JavaType, JavaTypeMapping, JavaXmlSchema, JaxbAttributeMapping, JaxbAttributesContainer, JaxbClassMapping, JaxbContextRoot, JaxbElementFactoryMethod, JaxbEnumConstant, JaxbEnumMapping, JaxbPackage, JaxbPackageInfo, JaxbPersistentAttribute, JaxbQName, JaxbTypeMapping, OxmFile, OxmJavaAttribute<A>, OxmJavaType, OxmTypeMapping, OxmXmlBindings, OxmXmlElement, OxmXmlEnum, OxmXmlRootElement, OxmXmlSchema, OxmXmlSeeAlso, XmlAccessOrderHolder, XmlAccessTypeHolder, XmlAdaptable, XmlAdaptableMapping, XmlAdapter, XmlAnyAttributeMapping, XmlAnyElementMapping, XmlAttachmentRef, XmlAttributeMapping, XmlElement, XmlElementMapping, XmlElementRef, XmlElementRefMapping, XmlElementRefs, XmlElementRefsMapping, XmlElementsMapping, XmlElementWrapper, XmlID, XmlIDREF, XmlJavaTypeAdapter, XmlMixed, XmlNamedNodeMapping, XmlNodeMapping, XmlNs, XmlRegistry, XmlRootElement, XmlSchema, XmlSchemaType, XmlSeeAlso, XmlValueMapping
All Known Implementing Classes:
org.eclipse.jpt.jaxb.core.internal.context.AbstractJaxbContextNode, AbstractQName

public interface JaxbContextNode
extends JaxbNode, JptResourceTypeReference

Common protocol for JAXB objects that have a context, as opposed to resource objects.

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.

Since:
3.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
RESOURCE_TYPE_TRANSFORMER
 
Method Summary
 Iterable<String> getCompletionProposals(int pos)
          Return the Java code-completion proposals for the specified position in the source code.
 JaxbContextRoot getContextRoot()
          Return the root of the context model
 TextRange getValidationTextRange()
          Return the text range for highlighting errors for this object
 void synchronizeWithResourceModel()
           
 void update()
          Update the context model with the content of the JAXB resource model.
 void validate(List<IMessage> messages, IReporter reporter)
          Adds to the list of current validation messages
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.JaxbNode
getJaxbProject, getParent, getResource, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
getResourceType
 

Method Detail

getContextRoot

JaxbContextRoot getContextRoot()
Return the root of the context model


synchronizeWithResourceModel

void synchronizeWithResourceModel()

update

void update()
Update the context model with the content of the JAXB resource model.


getCompletionProposals

Iterable<String> getCompletionProposals(int pos)
Return the Java code-completion proposals for the specified position in the source code.


validate

void validate(List<IMessage> messages,
              IReporter reporter)
Adds to the list of current validation messages


getValidationTextRange

TextRange getValidationTextRange()
Return the text range for highlighting errors for this object


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.