|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.jpt.common.utility.internal.model.AbstractModel
org.eclipse.jpt.jaxb.core.internal.AbstractJaxbNode
org.eclipse.jpt.jaxb.core.internal.context.AbstractJaxbContextNode
org.eclipse.jpt.jaxb.core.context.AbstractQName
public abstract class AbstractQName
| Nested Class Summary | |
|---|---|
static interface |
AbstractQName.ResourceProxy
|
| Nested classes/interfaces inherited from class org.eclipse.jpt.jaxb.core.internal.AbstractJaxbNode |
|---|
org.eclipse.jpt.jaxb.core.internal.AbstractJaxbNode.CollectionContainer<C,R>, org.eclipse.jpt.jaxb.core.internal.AbstractJaxbNode.ContextCollectionContainer<C extends JaxbContextNode,R>, org.eclipse.jpt.jaxb.core.internal.AbstractJaxbNode.ContextListContainer<C extends JaxbContextNode,R>, org.eclipse.jpt.jaxb.core.internal.AbstractJaxbNode.ListContainer<C,R> |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
JptResourceTypeReference.ResourceTypeTransformer |
| Field Summary | |
|---|---|
protected String |
defaultName
|
protected String |
defaultNamespace
|
protected String |
name
|
protected String |
namespace
|
protected AbstractQName.ResourceProxy |
proxy
|
protected String |
specifiedName
|
protected String |
specifiedNamespace
|
| Fields inherited from class org.eclipse.jpt.common.utility.internal.model.AbstractModel |
|---|
changeSupport |
| Fields inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbQName |
|---|
DEFAULT_NAME_PROPERTY, DEFAULT_NAMESPACE_PROPERTY, NAME_PROPERTY, NAMESPACE_PROPERTY, SPECIFIED_NAME_PROPERTY, SPECIFIED_NAMESPACE_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
RESOURCE_TYPE_TRANSFORMER |
| Constructor Summary | |
|---|---|
protected |
AbstractQName(JaxbContextNode parent,
AbstractQName.ResourceProxy proxy)
|
| Method Summary | |
|---|---|
protected abstract String |
buildDefaultName()
|
protected abstract String |
buildDefaultNamespace()
|
Iterable<String> |
getCompletionProposals(int pos)
Return the Java code-completion proposals for the specified position in the source code. |
String |
getDefaultName()
|
String |
getDefaultNamespace()
|
protected abstract JaxbPackage |
getJaxbPackage()
|
String |
getName()
|
protected abstract Iterable<String> |
getNameProposals()
|
String |
getNamespace()
|
protected abstract Iterable<String> |
getNamespaceProposals()
|
TextRange |
getNamespaceTextRange()
|
TextRange |
getNameTextRange()
|
protected String |
getReferencedComponentTypeDescription()
e.g. |
protected String |
getResourceName()
|
protected String |
getResourceNamespace()
|
String |
getSpecifiedName()
|
String |
getSpecifiedNamespace()
|
protected TextRange |
getTextRange(TextRange textRange)
|
protected IMessage |
getUnresolveSchemaComponentMessage()
|
TextRange |
getValidationTextRange()
Return the text range for highlighting errors for this object |
protected XsdSchema |
getXsdSchema()
|
protected void |
setDefaultName_(String newDefaultName)
|
protected void |
setDefaultNamespace_(String newDefaultNamespace)
|
protected void |
setName_(String newName)
|
protected void |
setNamespace_(String newNamespace)
|
protected void |
setResourceName(String newName)
|
protected void |
setResourceNamespace(String newNamespace)
|
protected void |
setSpecifiedName_(String newSpecifiedName)
|
void |
setSpecifiedName(String newSpecifiedName)
|
protected void |
setSpecifiedNamespace_(String newSpecifiedNamespace)
|
void |
setSpecifiedNamespace(String newSpecifiedNamespace)
|
void |
synchronizeWithResourceModel()
|
protected void |
syncName()
|
protected void |
syncNamespace()
|
void |
update()
Update the context model with the content of the JAXB resource model. |
protected void |
updateName()
|
protected void |
updateNamespace()
|
void |
validate(List<IMessage> messages,
IReporter reporter)
Adds to the list of current validation messages |
protected void |
validateName(List<IMessage> messages,
IReporter reporter)
|
protected abstract void |
validateReference(List<IMessage> messages,
IReporter reporter)
|
| Methods inherited from class org.eclipse.jpt.jaxb.core.internal.context.AbstractJaxbContextNode |
|---|
buildValidationMessage, buildValidationMessage, buildValidationMessage, buildValidationMessage, buildValidationMessage, buildValidationMessage, buildValidationMessage, buildValidationMessage, getContextRoot, getParent, getResourceType, synchronizeNodesWithResourceModel, updateNodes |
| Methods inherited from class org.eclipse.jpt.jaxb.core.internal.AbstractJaxbNode |
|---|
addNonUpdateAspectNamesTo, aspectChanged, aspectDoesNotTriggerUpdate, buildChangeSupport, buildChangeSupportListener, checkParent, forbidsParent, getAdapter, getFactory, getJaxbFile, getJaxbProject, getPlatform, getResource, nonUpdateAspectNames, requiresParent, stateChanged |
| Methods inherited from class org.eclipse.jpt.common.utility.internal.model.AbstractModel |
|---|
addChangeListener, addCollectionChangeListener, addItemsToCollection, addItemsToCollection, addItemsToCollection, addItemsToCollection, addItemsToList, addItemsToList, addItemsToList, addItemsToList, addItemsToList, addItemsToList, addItemsToList, addItemsToList, addItemToCollection, addItemToList, addItemToList, addListChangeListener, addPropertyChangeListener, addStateChangeListener, attributeValueHasChanged, attributeValueHasNotChanged, clearCollection, clearList, clone, fireCollectionChanged, fireCollectionChanged, fireCollectionCleared, fireCollectionCleared, fireItemAdded, fireItemAdded, fireItemMoved, fireItemRemoved, fireItemRemoved, fireItemReplaced, fireItemsAdded, fireItemsAdded, fireItemsAdded, fireItemsAdded, fireItemsMoved, fireItemsMoved, fireItemsRemoved, fireItemsRemoved, fireItemsRemoved, fireItemsRemoved, fireItemsReplaced, fireItemsReplaced, fireListChanged, fireListChanged, fireListCleared, fireListCleared, firePropertyChanged, firePropertyChanged, firePropertyChanged, firePropertyChanged, firePropertyChanged, fireStateChanged, fireStateChanged, getChangeSupport, hasAnyChangeListeners, hasAnyCollectionChangeListeners, hasAnyListChangeListeners, hasAnyPropertyChangeListeners, hasAnyStateChangeListeners, hasNoChangeListeners, hasNoCollectionChangeListeners, hasNoListChangeListeners, hasNoPropertyChangeListeners, hasNoStateChangeListeners, moveItemInList, moveItemInList, moveItemsInList, removeChangeListener, removeCollectionChangeListener, removeItemFromCollection, removeItemFromList, removeItemFromList, removeItemsFromCollection, removeItemsFromCollection, removeItemsFromCollection, removeItemsFromCollection, removeItemsFromList, removeItemsFromList, removeItemsFromList, removeItemsFromList, removeItemsFromList, removeItemsFromList, removeListChangeListener, removePropertyChangeListener, removeRangeFromList, removeStateChangeListener, replaceItemInList, retainItemsInCollection, retainItemsInCollection, retainItemsInCollection, retainItemsInCollection, retainItemsInList, retainItemsInList, retainItemsInList, retainItemsInList, setItemInList, setItemsInList, setItemsInList, synchronizeCollection, synchronizeCollection, synchronizeCollection, synchronizeList, synchronizeList, synchronizeList, toString, toString, valuesAreDifferent, valuesAreEqual |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbContextNode |
|---|
getContextRoot |
| 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 |
| Field Detail |
|---|
protected final AbstractQName.ResourceProxy proxy
protected String namespace
protected String defaultNamespace
protected String specifiedNamespace
protected String name
protected String defaultName
protected String specifiedName
| Constructor Detail |
|---|
protected AbstractQName(JaxbContextNode parent,
AbstractQName.ResourceProxy proxy)
| Method Detail |
|---|
public void synchronizeWithResourceModel()
synchronizeWithResourceModel in interface JaxbContextNodesynchronizeWithResourceModel in class org.eclipse.jpt.jaxb.core.internal.context.AbstractJaxbContextNodepublic void update()
JaxbContextNode
update in interface JaxbContextNodeupdate in class org.eclipse.jpt.jaxb.core.internal.context.AbstractJaxbContextNodeprotected abstract JaxbPackage getJaxbPackage()
protected final XsdSchema getXsdSchema()
public String getNamespace()
getNamespace in interface JaxbQNameprotected void setNamespace_(String newNamespace)
public String getDefaultNamespace()
getDefaultNamespace in interface JaxbQNameprotected void setDefaultNamespace_(String newDefaultNamespace)
public String getSpecifiedNamespace()
getSpecifiedNamespace in interface JaxbQNamepublic void setSpecifiedNamespace(String newSpecifiedNamespace)
setSpecifiedNamespace in interface JaxbQNameprotected void setSpecifiedNamespace_(String newSpecifiedNamespace)
protected abstract String buildDefaultNamespace()
protected String getResourceNamespace()
protected void setResourceNamespace(String newNamespace)
protected void syncNamespace()
protected void updateNamespace()
public String getName()
getName in interface JaxbQNameprotected void setName_(String newName)
public String getDefaultName()
getDefaultName in interface JaxbQNameprotected void setDefaultName_(String newDefaultName)
public String getSpecifiedName()
getSpecifiedName in interface JaxbQNamepublic void setSpecifiedName(String newSpecifiedName)
setSpecifiedName in interface JaxbQNameprotected void setSpecifiedName_(String newSpecifiedName)
protected abstract String buildDefaultName()
protected String getResourceName()
protected void setResourceName(String newName)
protected void syncName()
protected void updateName()
public Iterable<String> getCompletionProposals(int pos)
JaxbContextNode
getCompletionProposals in interface JaxbContextNodegetCompletionProposals in class org.eclipse.jpt.jaxb.core.internal.context.AbstractJaxbContextNodeprotected abstract Iterable<String> getNamespaceProposals()
protected abstract Iterable<String> getNameProposals()
public TextRange getValidationTextRange()
JaxbContextNode
getValidationTextRange in interface JaxbContextNodegetValidationTextRange in class org.eclipse.jpt.jaxb.core.internal.context.AbstractJaxbContextNodeprotected TextRange getTextRange(TextRange textRange)
public TextRange getNamespaceTextRange()
getNamespaceTextRange in interface JaxbQNamepublic TextRange getNameTextRange()
getNameTextRange in interface JaxbQNameprotected String getReferencedComponentTypeDescription()
public void validate(List<IMessage> messages,
IReporter reporter)
JaxbContextNode
validate in interface JaxbContextNodevalidate in class org.eclipse.jpt.jaxb.core.internal.context.AbstractJaxbContextNode
protected void validateName(List<IMessage> messages,
IReporter reporter)
protected abstract void validateReference(List<IMessage> messages,
IReporter reporter)
protected IMessage getUnresolveSchemaComponentMessage()
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||