|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface XmlElementDeclAnnotation
Corresponds to the JAXB annotation javax.xml.bind.annotation.XmlElementDecl 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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceNode |
|---|
JavaResourceNode.FileTransformer, JavaResourceNode.Root |
| Field Summary | |
|---|---|
static String |
DEFAULT_VALUE_PROPERTY
String associated with "defaultValue" property changes. |
static String |
FULLY_QUALIFIED_SCOPE_CLASS_NAME_PROPERTY
String associated with "fullyQualifiedScopeClassName" property changes. |
static String |
SCOPE_PROPERTY
String associated with "scope" property changes. |
static String |
SUBSTITUTION_HEAD_NAME_PROPERTY
String associated with "substitutionHeadName" property changes. |
static String |
SUBSTITUTION_HEAD_NAMESPACE_PROPERTY
String associated with "substitutionHeadNamespace" property changes. |
| Fields inherited from interface org.eclipse.jpt.jaxb.core.resource.java.QNameAnnotation |
|---|
NAME_PROPERTY, NAMESPACE_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceNode |
|---|
FILE_TRANSFORMER |
| Method Summary | |
|---|---|
String |
getDefaultValue()
Corresponds to the 'defaultValue' element of the XmlElementDecl annotation. |
TextRange |
getDefaultValueTextRange()
Return the TextRange for the 'defaultValue' element. |
String |
getFullyQualifiedScopeClassName()
Return the fully-qualified scope class name as resolved by the AST's bindings. |
String |
getScope()
Corresponds to the 'scope' element of the XmlElementDecl annotation. |
TextRange |
getScopeTextRange()
Return the TextRange for the 'scope' element. |
String |
getSubstitutionHeadName()
Corresponds to the 'substitutionHeadName' element of the XmlElementDecl annotation. |
String |
getSubstitutionHeadNamespace()
Corresponds to the 'substitutionHeadNamespace' element of the XmlElementDecl annotation. |
TextRange |
getSubstitutionHeadNamespaceTextRange()
Return the TextRange for the 'substitutionHeadNamespace' element. |
TextRange |
getSubstitutionHeadNameTextRange()
Return the TextRange for the 'substitutionHeadName' element. |
void |
setDefaultValue(String defaultValue)
Corresponds to the 'defaultValue' element of the XmlElementDecl annotation. |
void |
setScope(String scope)
Corresponds to the 'scope' element of the XmlElementDecl annotation. |
void |
setSubstitutionHeadName(String substitutionHeadName)
Corresponds to the 'substitutionHeadName' element of the XmlElementDecl annotation. |
void |
setSubstitutionHeadNamespace(String substitutionHeadNamespace)
Corresponds to the 'substitutionHeadNamespace' element of the XmlElementDecl annotation. |
boolean |
substitutionHeadNamespaceTouches(int pos)
Return whether the specified position touches the 'substitutionHeadNamespace' element. |
boolean |
substitutionHeadNameTouches(int pos)
Return whether the specified position touches the 'substitutionHeadName' element. |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.resource.java.QNameAnnotation |
|---|
getName, getNamespace, getNamespaceTextRange, getNameTextRange, namespaceTouches, nameTouches, setName, setNamespace |
| Methods inherited from interface org.eclipse.jpt.common.core.resource.java.Annotation |
|---|
getAnnotationName, getAstAnnotation, initialize, initialize, isUnset, newAnnotation, removeAnnotation, synchronizeWith, synchronizeWith |
| Methods inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceNode |
|---|
getFile, getJavaResourceCompilationUnit, getParent, getRoot, getTextRange |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener |
| Field Detail |
|---|
static final String SCOPE_PROPERTY
static final String FULLY_QUALIFIED_SCOPE_CLASS_NAME_PROPERTY
static final String SUBSTITUTION_HEAD_NAMESPACE_PROPERTY
static final String SUBSTITUTION_HEAD_NAME_PROPERTY
static final String DEFAULT_VALUE_PROPERTY
| Method Detail |
|---|
String getScope()
@XmlElementDecl(type=XmlElementDecl.GLOBAL.class)
will return "XmlElementDecl.GLOBAL"
void setScope(String scope)
TextRange getScopeTextRange()
TextRange for the 'scope' element. If the element
does not exist return the TextRange for the XmlElementDecl annotation.
String getFullyQualifiedScopeClassName()
@XmlElementDecl(type=XmlElementDecl.GLOBAL.class)
will return "javax.xml.bind.annotation.XmlElementDecl.GLOBAL"
String getSubstitutionHeadNamespace()
void setSubstitutionHeadNamespace(String substitutionHeadNamespace)
TextRange getSubstitutionHeadNamespaceTextRange()
TextRange for the 'substitutionHeadNamespace' element. If the element
does not exist return the TextRange for the XmlElementDecl annotation.
boolean substitutionHeadNamespaceTouches(int pos)
String getSubstitutionHeadName()
void setSubstitutionHeadName(String substitutionHeadName)
TextRange getSubstitutionHeadNameTextRange()
TextRange for the 'substitutionHeadName' element. If the element
does not exist return the TextRange for the XmlElementDecl annotation.
boolean substitutionHeadNameTouches(int pos)
String getDefaultValue()
void setDefaultValue(String defaultValue)
TextRange getDefaultValueTextRange()
TextRange for the 'defaultValue' element. If the element
does not exist return the TextRange for the XmlElementDecl annotation.
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||