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

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

public interface JaxbContextNode
extends JaxbNode

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
Version:
3.0

Method Summary
 JaxbContextRoot getContextRoot()
          Return the root of the context model
 JptResourceType getResourceType()
          Return the resource type of the context node's resource.
 void synchronizeWithResourceModel()
           
 void update()
          Update the context model with the content of the JAXB resource model.
 
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

getContextRoot

JaxbContextRoot getContextRoot()
Return the root of the context model


getResourceType

JptResourceType getResourceType()
Return the resource type of the context node's resource.


synchronizeWithResourceModel

void synchronizeWithResourceModel()

update

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