org.eclipse.jpt.jaxb.eclipselink.core.resource.java
Interface XmlTransformationAnnotation

All Superinterfaces:
Annotation, JavaResourceNode, Model

public interface XmlTransformationAnnotation
extends Annotation


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceNode
JavaResourceNode.Root
 
Field Summary
static java.lang.String ANNOTATION_NAME
           
static java.lang.String OPTIONAL_PROPERTY
          String associated with change events to the 'optional' property
 
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.jaxb.core.resource.java.Annotation
getAnnotationName, getAstAnnotation, newAnnotation, removeAnnotation
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceNode
getFile, getJavaResourceCompilationUnit, getRoot, getTextRange, initialize, synchronizeWith
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener
 

Field Detail

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
Method Detail

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.