|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface XmlSchemaAnnotation
Corresponds to the JAXB annotation javax.xml.bind.annotation.XmlSchema 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.JavaResourceModel |
|---|
JavaResourceModel.FileTransformer, JavaResourceModel.Root |
| Field Summary | |
|---|---|
static String |
ATTRIBUTE_FORM_DEFAULT_PROPERTY
|
static String |
ELEMENT_FORM_DEFAULT_PROPERTY
|
static String |
LOCATION_PROPERTY
|
static String |
NAMESPACE_PROPERTY
|
static String |
XMLNS_LIST
|
| Fields inherited from interface org.eclipse.jpt.common.core.resource.java.JavaResourceModel |
|---|
FILE_TRANSFORMER |
| Method Summary | |
|---|---|
XmlNsAnnotation |
addXmlns(int index)
Corresponds to the 'xmlns' element of the XmlSchema annotation. |
XmlNsForm |
getAttributeFormDefault()
Corresponds to the 'attributeFormDefault' element of the XmlSchema annotation. |
TextRange |
getAttributeFormDefaultTextRange()
Return the TextRange for the 'attributeFormDefault' element. |
XmlNsForm |
getElementFormDefault()
Corresponds to the 'elementFormDefault' element of the XmlSchema annotation. |
TextRange |
getElementFormDefaultTextRange()
Return the TextRange for the 'elementFormDefault' element. |
String |
getLocation()
Corresponds to the 'location' element of the XmlSchema annotation. |
TextRange |
getLocationTextRange()
Return the TextRange for the 'location' element. |
String |
getNamespace()
Corresponds to the 'namespace' element of the XmlSchema annotation. |
TextRange |
getNamespaceTextRange()
Return the TextRange for the 'namespace' element. |
org.eclipse.jpt.common.utility.iterable.ListIterable<XmlNsAnnotation> |
getXmlns()
Corresponds to the 'xmlns' element of the XmlSchema annotation. |
int |
getXmlnsSize()
Corresponds to the 'xmlns' element of the XmlSchema annotation. |
void |
moveXmlns(int targetIndex,
int sourceIndex)
Corresponds to the 'xmlns' element of the XmlSchema annotation. |
boolean |
namespaceTouches(int pos)
Return whether the specified position touches the 'namespace' element. |
void |
removeXmlns(int index)
Corresponds to the 'xmlns' element of the XmlSchema annotation. |
void |
setAttributeFormDefault(XmlNsForm attributeFormDefault)
Corresponds to the 'attributeFormDefault' element of the XmlSchema annotation. |
void |
setElementFormDefault(XmlNsForm elementFormDefault)
Corresponds to the 'elementFormDefault' element of the XmlSchema annotation. |
void |
setLocation(String location)
Corresponds to the 'location' element of the XmlSchema annotation. |
void |
setNamespace(String namespace)
Corresponds to the 'namespace' element of the XmlSchema annotation. |
XmlNsAnnotation |
xmlnsAt(int index)
Corresponds to the 'xmlns' element of the XmlSchema annnotation. |
| 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.JavaResourceModel |
|---|
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 ATTRIBUTE_FORM_DEFAULT_PROPERTY
static final String ELEMENT_FORM_DEFAULT_PROPERTY
static final String LOCATION_PROPERTY
static final String NAMESPACE_PROPERTY
static final String XMLNS_LIST
| Method Detail |
|---|
XmlNsForm getAttributeFormDefault()
void setAttributeFormDefault(XmlNsForm attributeFormDefault)
TextRange getAttributeFormDefaultTextRange()
TextRange for the 'attributeFormDefault' element. If the element
does not exist return the TextRange for the XmlSchema annotation.
XmlNsForm getElementFormDefault()
void setElementFormDefault(XmlNsForm elementFormDefault)
TextRange getElementFormDefaultTextRange()
TextRange for the 'elementFormDefault' element. If the element
does not exist return the TextRange for the XmlSchema annotation.
String getLocation()
void setLocation(String location)
TextRange getLocationTextRange()
TextRange for the 'location' element. If the element
does not exist return the TextRange for the XmlSchema annotation.
String getNamespace()
void setNamespace(String namespace)
TextRange getNamespaceTextRange()
TextRange for the 'namespace' element. If the element
does not exist return the TextRange for the XmlSchema annotation.
boolean namespaceTouches(int pos)
org.eclipse.jpt.common.utility.iterable.ListIterable<XmlNsAnnotation> getXmlns()
int getXmlnsSize()
XmlNsAnnotation xmlnsAt(int index)
XmlNsAnnotation addXmlns(int index)
void moveXmlns(int targetIndex,
int sourceIndex)
void removeXmlns(int index)
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||