org.eclipse.jpt.jaxb.eclipselink.core.resource.java
Interface XmlTransformationAnnotation
- All Superinterfaces:
- Annotation, JavaResourceNode, Model
public interface XmlTransformationAnnotation
- extends Annotation
|
Method Summary |
java.lang.Boolean |
getOptional()
Corresponds to the 'optional' element of the XmlTransformation annotation. |
TextRange |
getOptionalTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the text range associated with the 'optional' element. |
void |
setOptional(java.lang.Boolean optional)
Corresponds to the 'optional' element of the XmlTransformation annotation. |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener |
ANNOTATION_NAME
static final java.lang.String ANNOTATION_NAME
- See Also:
- Constant Field Values
OPTIONAL_PROPERTY
static final java.lang.String OPTIONAL_PROPERTY
- String associated with change events to the 'optional' property
- See Also:
- Constant Field Values
getOptional
java.lang.Boolean getOptional()
- Corresponds to the 'optional' element of the XmlTransformation annotation.
Return null if the element does not exist in Java.
setOptional
void setOptional(java.lang.Boolean optional)
- Corresponds to the 'optional' element of the XmlTransformation annotation.
Set to null to remove the element.
getOptionalTextRange
TextRange getOptionalTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
- Return the text range associated with the 'optional' element.
Return the text range of this annotation if the element is absent.