Dali Provisional API
Release 3.2

org.eclipse.jpt.jaxb.core.context
Interface XmlSchema

All Superinterfaces:
IAdaptable, JaxbContextNode, JaxbNode, JptResourceTypeReference, Model
All Known Subinterfaces:
JavaXmlSchema, OxmXmlSchema

public interface XmlSchema
extends JaxbContextNode

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.

Since:
3.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
static String DEFAULT_LOCATION
           
static String LOCATION_PROPERTY
          String constant associated with changes to the location
static String NAMESPACE_PROPERTY
          String constant associated with changes to the namespace
static String SPECIFIED_ATTRIBUTE_FORM_DEFAULT_PROPERTY
          String constant associated with changes to the specified attribute form default
static String SPECIFIED_ELEMENT_FORM_DEFAULT_PROPERTY
          String constant associated with changes to the specified attribute form default
static String SPECIFIED_NAMESPACE_PROPERTY
          String constant associated with changes to the specified namespace
static String XML_NS_PREFIXES_LIST
           
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
TRANSFORMER
 
Method Summary
 XmlNs addXmlNsPrefix(int index)
           
 XmlNsForm getAttributeFormDefault()
          Return the specified attribute form default or XmlNsForm.UNSET (default value)
 XmlNsForm getElementFormDefault()
          Return the specified element form default or XmlNsForm.UNSET (default value)
 String getLocation()
          Corresponds to the XmlSchema annotation location element
 String getNamespace()
          Return the specified namespace or "" (default value)
 XmlNsForm getSpecifiedAttributeFormDefault()
          Return the specified attribute form default, null if it is not specified
 XmlNsForm getSpecifiedElementFormDefault()
          Return the specified element form default, null if it is not specified
 String getSpecifiedNamespace()
          Return the specified namespace, null if it is not specified
 org.eclipse.jpt.common.utility.iterable.ListIterable<XmlNs> getXmlNsPrefixes()
           
 int getXmlNsPrefixesSize()
           
 void moveXmlNsPrefix(int targetIndex, int sourceIndex)
           
 void removeXmlNsPrefix(int index)
           
 void removeXmlNsPrefix(XmlNs xmlNsPrefix)
           
 void setSpecifiedAttributeFormDefault(XmlNsForm attributeFormDefault)
          Set the attribute form default, null to unspecify
 void setSpecifiedElementFormDefault(XmlNsForm elementFormDefault)
          Set the element form default, null to unspecify
 void setSpecifiedNamespace(String namespace)
          Set the namespace, null to unspecify
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbContextNode
getCompletionProposals, getContextRoot, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
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

NAMESPACE_PROPERTY

static final String NAMESPACE_PROPERTY
String constant associated with changes to the namespace

See Also:
Constant Field Values

SPECIFIED_NAMESPACE_PROPERTY

static final String SPECIFIED_NAMESPACE_PROPERTY
String constant associated with changes to the specified namespace

See Also:
Constant Field Values

LOCATION_PROPERTY

static final String LOCATION_PROPERTY
String constant associated with changes to the location

See Also:
Constant Field Values

DEFAULT_LOCATION

static final String DEFAULT_LOCATION
See Also:
Constant Field Values

SPECIFIED_ATTRIBUTE_FORM_DEFAULT_PROPERTY

static final String SPECIFIED_ATTRIBUTE_FORM_DEFAULT_PROPERTY
String constant associated with changes to the specified attribute form default

See Also:
Constant Field Values

SPECIFIED_ELEMENT_FORM_DEFAULT_PROPERTY

static final String SPECIFIED_ELEMENT_FORM_DEFAULT_PROPERTY
String constant associated with changes to the specified attribute form default

See Also:
Constant Field Values

XML_NS_PREFIXES_LIST

static final String XML_NS_PREFIXES_LIST
See Also:
Constant Field Values
Method Detail

getNamespace

String getNamespace()
Return the specified namespace or "" (default value)


getSpecifiedNamespace

String getSpecifiedNamespace()
Return the specified namespace, null if it is not specified


setSpecifiedNamespace

void setSpecifiedNamespace(String namespace)
Set the namespace, null to unspecify


getLocation

String getLocation()
Corresponds to the XmlSchema annotation location element


getAttributeFormDefault

XmlNsForm getAttributeFormDefault()
Return the specified attribute form default or XmlNsForm.UNSET (default value)


getSpecifiedAttributeFormDefault

XmlNsForm getSpecifiedAttributeFormDefault()
Return the specified attribute form default, null if it is not specified


setSpecifiedAttributeFormDefault

void setSpecifiedAttributeFormDefault(XmlNsForm attributeFormDefault)
Set the attribute form default, null to unspecify


getElementFormDefault

XmlNsForm getElementFormDefault()
Return the specified element form default or XmlNsForm.UNSET (default value)


getSpecifiedElementFormDefault

XmlNsForm getSpecifiedElementFormDefault()
Return the specified element form default, null if it is not specified


setSpecifiedElementFormDefault

void setSpecifiedElementFormDefault(XmlNsForm elementFormDefault)
Set the element form default, null to unspecify


getXmlNsPrefixes

org.eclipse.jpt.common.utility.iterable.ListIterable<XmlNs> getXmlNsPrefixes()

getXmlNsPrefixesSize

int getXmlNsPrefixesSize()

addXmlNsPrefix

XmlNs addXmlNsPrefix(int index)

removeXmlNsPrefix

void removeXmlNsPrefix(int index)

removeXmlNsPrefix

void removeXmlNsPrefix(XmlNs xmlNsPrefix)

moveXmlNsPrefix

void moveXmlNsPrefix(int targetIndex,
                     int sourceIndex)

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.