org.eclipse.xtend.backend.types.xsd
Class XsdTypesystem

java.lang.Object
  extended by org.eclipse.xtend.backend.types.xsd.XsdTypesystem
All Implemented Interfaces:
BackendTypesystem

public class XsdTypesystem
extends java.lang.Object
implements BackendTypesystem


Field Summary
static java.lang.String EFEATURE
           
static java.lang.String EFEATURE_MAP
           
static java.lang.String EFEATURE_MAP_ENTRY
           
static java.lang.String EMAP
           
static java.lang.String EMAP_ENTRY
           
static java.lang.String QNAME
           
static java.lang.String XSD_TYPE_PREFIX
           
 
Constructor Summary
XsdTypesystem()
           
 
Method Summary
 BackendType findType(java.lang.Class<?> cls)
          returns the type for instances of a given class or, if this type system does not feel responsible, null.
 BackendType findType(java.lang.Object o)
          returns the type for a given object or, if this type system does not feel responsible, null.
 BackendType findType(java.lang.String uniqueRepresentation)
          returns the type corresponding with the unique representation.
 EFeatureMapEntryType getEFeatureMapEntryType()
           
 XMLFeatureMapType getEFeatureMapType(org.eclipse.emf.ecore.EClass aClass)
           
 EFeatureType getEFeatureType()
           
 EMapEntryType getEMapEntryType(org.eclipse.emf.ecore.EClassifier innerType)
           
 EMapType getEMapType(org.eclipse.emf.ecore.EClassifier innerType)
           
 EmfTypesystem getEmfTypesystem()
           
static java.lang.String getFullyQualifiedName(org.eclipse.emf.ecore.EClass clazz)
           
 QNameType getQNameType()
           
 BackendTypesystem getRootTypesystem()
           
 BackendType getTypeForEClassifier(org.eclipse.emf.ecore.EClassifier cls)
           
 BackendType getTypeForETypedElement(org.eclipse.emf.ecore.ETypedElement typedElement)
           
static java.lang.String getUniqueIdentifier(org.eclipse.emf.ecore.EClassifier cls)
           
 void setRootTypesystem(BackendTypesystem ts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EFEATURE_MAP_ENTRY

public static final java.lang.String EFEATURE_MAP_ENTRY
See Also:
Constant Field Values

EFEATURE_MAP

public static final java.lang.String EFEATURE_MAP
See Also:
Constant Field Values

EFEATURE

public static final java.lang.String EFEATURE
See Also:
Constant Field Values

EMAP

public static final java.lang.String EMAP
See Also:
Constant Field Values

EMAP_ENTRY

public static final java.lang.String EMAP_ENTRY
See Also:
Constant Field Values

QNAME

public static final java.lang.String QNAME
See Also:
Constant Field Values

XSD_TYPE_PREFIX

public static final java.lang.String XSD_TYPE_PREFIX
See Also:
Constant Field Values
Constructor Detail

XsdTypesystem

public XsdTypesystem()
Method Detail

getFullyQualifiedName

public static java.lang.String getFullyQualifiedName(org.eclipse.emf.ecore.EClass clazz)

getUniqueIdentifier

public static java.lang.String getUniqueIdentifier(org.eclipse.emf.ecore.EClassifier cls)

findType

public BackendType findType(java.lang.Object o)
Description copied from interface: BackendTypesystem
returns the type for a given object or, if this type system does not feel responsible, null.

Specified by:
findType in interface BackendTypesystem

findType

public BackendType findType(java.lang.Class<?> cls)
Description copied from interface: BackendTypesystem
returns the type for instances of a given class or, if this type system does not feel responsible, null.

Specified by:
findType in interface BackendTypesystem

findType

public BackendType findType(java.lang.String uniqueRepresentation)
Description copied from interface: BackendTypesystem
returns the type corresponding with the unique representation. It is up to typesystem implementations to provide - and document - their respective naming schemes

Specified by:
findType in interface BackendTypesystem

getRootTypesystem

public BackendTypesystem getRootTypesystem()
Specified by:
getRootTypesystem in interface BackendTypesystem

setRootTypesystem

public void setRootTypesystem(BackendTypesystem ts)
Specified by:
setRootTypesystem in interface BackendTypesystem

getEFeatureMapEntryType

public EFeatureMapEntryType getEFeatureMapEntryType()

getEFeatureMapType

public XMLFeatureMapType getEFeatureMapType(org.eclipse.emf.ecore.EClass aClass)

getEFeatureType

public EFeatureType getEFeatureType()

getEMapEntryType

public EMapEntryType getEMapEntryType(org.eclipse.emf.ecore.EClassifier innerType)

getEMapType

public EMapType getEMapType(org.eclipse.emf.ecore.EClassifier innerType)

getQNameType

public QNameType getQNameType()

getTypeForEClassifier

public BackendType getTypeForEClassifier(org.eclipse.emf.ecore.EClassifier cls)

getTypeForETypedElement

public BackendType getTypeForETypedElement(org.eclipse.emf.ecore.ETypedElement typedElement)

getEmfTypesystem

public EmfTypesystem getEmfTypesystem()