org.eclipse.xsd.impl
Class XSDFactoryImpl
java.lang.Object
|
+--org.eclipse.emf.common.notify.impl.NotifierImpl
|
+--org.eclipse.emf.ecore.impl.EObjectImpl
|
+--org.eclipse.emf.ecore.impl.EModelElementImpl
|
+--org.eclipse.emf.ecore.impl.EFactoryImpl
|
+--org.eclipse.xsd.impl.XSDFactoryImpl
- All Implemented Interfaces:
- org.eclipse.emf.ecore.EFactory, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, XSDFactory
- public class XSDFactoryImpl
- extends org.eclipse.emf.ecore.impl.EFactoryImpl
- implements XSDFactory
An implementation of the model Factory.
Inner classes inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
org.eclipse.emf.ecore.impl.EObjectImpl.EPropertiesHolder |
Fields inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl |
ePackage |
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
eAnnotations |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eContainer, eContainerFeatureID, ELAST_EOBJECT_FLAG, eProperties |
Fields inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl |
eAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAG |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
EOPPOSITE_FEATURE_BASE |
Constructor Summary |
XSDFactoryImpl()
Creates and instance of the factory. |
Method Summary |
java.lang.String |
convertDOMAttrToString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.Object instanceValue)
|
java.lang.String |
convertDOMDocumentToString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.Object instanceValue)
|
java.lang.String |
convertDOMElementToString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.Object instanceValue)
|
java.lang.String |
convertDOMNodeToString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.Object instanceValue)
|
java.lang.String |
convertToString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.Object instanceValue)
|
java.lang.String |
convertValueToString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.Object instanceValue)
|
org.eclipse.emf.ecore.EObject |
create(org.eclipse.emf.ecore.EClass eClass)
|
org.w3c.dom.Attr |
createDOMAttrFromString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.String initialValue)
|
org.w3c.dom.Document |
createDOMDocumentFromString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.String initialValue)
|
org.w3c.dom.Element |
createDOMElementFromString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.String initialValue)
|
org.w3c.dom.Node |
createDOMNodeFromString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.String initialValue)
|
java.lang.Object |
createFromString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.String initialValue)
|
java.lang.Object |
createValueFromString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.String initialValue)
|
XSDAnnotation |
createXSDAnnotation()
|
XSDAttributeDeclaration |
createXSDAttributeDeclaration()
|
XSDAttributeGroupDefinition |
createXSDAttributeGroupDefinition()
|
XSDAttributeUse |
createXSDAttributeUse()
|
XSDBoundedFacet |
createXSDBoundedFacet()
|
XSDCardinalityFacet |
createXSDCardinalityFacet()
|
XSDComplexTypeDefinition |
createXSDComplexTypeDefinition()
|
XSDDiagnostic |
createXSDDiagnostic()
|
XSDElementDeclaration |
createXSDElementDeclaration()
|
XSDEnumerationFacet |
createXSDEnumerationFacet()
|
XSDFractionDigitsFacet |
createXSDFractionDigitsFacet()
|
XSDIdentityConstraintDefinition |
createXSDIdentityConstraintDefinition()
|
XSDImport |
createXSDImport()
|
XSDInclude |
createXSDInclude()
|
XSDLengthFacet |
createXSDLengthFacet()
|
XSDMaxExclusiveFacet |
createXSDMaxExclusiveFacet()
|
XSDMaxInclusiveFacet |
createXSDMaxInclusiveFacet()
|
XSDMaxLengthFacet |
createXSDMaxLengthFacet()
|
XSDMinExclusiveFacet |
createXSDMinExclusiveFacet()
|
XSDMinInclusiveFacet |
createXSDMinInclusiveFacet()
|
XSDMinLengthFacet |
createXSDMinLengthFacet()
|
XSDModelGroup |
createXSDModelGroup()
|
XSDModelGroupDefinition |
createXSDModelGroupDefinition()
|
XSDNotationDeclaration |
createXSDNotationDeclaration()
|
XSDNumericFacet |
createXSDNumericFacet()
|
XSDOrderedFacet |
createXSDOrderedFacet()
|
XSDParticle |
createXSDParticle()
|
XSDPatternFacet |
createXSDPatternFacet()
|
XSDRedefine |
createXSDRedefine()
|
XSDSchema |
createXSDSchema()
|
XSDSimpleTypeDefinition |
createXSDSimpleTypeDefinition()
|
XSDTotalDigitsFacet |
createXSDTotalDigitsFacet()
|
XSDWhiteSpaceFacet |
createXSDWhiteSpaceFacet()
|
XSDWildcard |
createXSDWildcard()
|
XSDXPathDefinition |
createXSDXPathDefinition()
|
static XSDPackage |
getPackage()
|
XSDPackage |
getXSDPackage()
|
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl |
basicSetEPackage, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eStaticClass, eUnset, getEPackage, setEPackage |
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotation, getEAnnotations |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eInternalResource, eIsProxy, eProperties, eProxyURI, eResource, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingIndex, eSettings, toString |
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl |
eAdapters, eDeliver, eNotificationRequired, eNotify, eSetDeliver |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.ecore.EFactory |
getEPackage, setEPackage |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
eNotificationRequired |
XSDFactoryImpl
public XSDFactoryImpl()
- Creates and instance of the factory.
create
public org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)
-
- Specified by:
create
in interface org.eclipse.emf.ecore.EFactory
- Overrides:
create
in class org.eclipse.emf.ecore.impl.EFactoryImpl
createFromString
public java.lang.Object createFromString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.String initialValue)
-
- Specified by:
createFromString
in interface org.eclipse.emf.ecore.EFactory
- Overrides:
createFromString
in class org.eclipse.emf.ecore.impl.EFactoryImpl
convertToString
public java.lang.String convertToString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.Object instanceValue)
-
- Specified by:
convertToString
in interface org.eclipse.emf.ecore.EFactory
- Overrides:
convertToString
in class org.eclipse.emf.ecore.impl.EFactoryImpl
createXSDAnnotation
public XSDAnnotation createXSDAnnotation()
-
- Specified by:
createXSDAnnotation
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Annotation'.
createXSDAttributeDeclaration
public XSDAttributeDeclaration createXSDAttributeDeclaration()
-
- Specified by:
createXSDAttributeDeclaration
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Attribute Declaration'.
createXSDAttributeGroupDefinition
public XSDAttributeGroupDefinition createXSDAttributeGroupDefinition()
-
- Specified by:
createXSDAttributeGroupDefinition
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Attribute Group Definition'.
createXSDAttributeUse
public XSDAttributeUse createXSDAttributeUse()
-
- Specified by:
createXSDAttributeUse
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Attribute Use'.
createXSDBoundedFacet
public XSDBoundedFacet createXSDBoundedFacet()
-
- Specified by:
createXSDBoundedFacet
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Bounded Facet'.
createXSDCardinalityFacet
public XSDCardinalityFacet createXSDCardinalityFacet()
-
- Specified by:
createXSDCardinalityFacet
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Cardinality Facet'.
createXSDComplexTypeDefinition
public XSDComplexTypeDefinition createXSDComplexTypeDefinition()
-
- Specified by:
createXSDComplexTypeDefinition
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Complex Type Definition'.
createXSDDiagnostic
public XSDDiagnostic createXSDDiagnostic()
-
- Specified by:
createXSDDiagnostic
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Diagnostic'.
createXSDElementDeclaration
public XSDElementDeclaration createXSDElementDeclaration()
-
- Specified by:
createXSDElementDeclaration
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Element Declaration'.
createXSDEnumerationFacet
public XSDEnumerationFacet createXSDEnumerationFacet()
-
- Specified by:
createXSDEnumerationFacet
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Enumeration Facet'.
createXSDFractionDigitsFacet
public XSDFractionDigitsFacet createXSDFractionDigitsFacet()
-
- Specified by:
createXSDFractionDigitsFacet
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Fraction Digits Facet'.
createXSDIdentityConstraintDefinition
public XSDIdentityConstraintDefinition createXSDIdentityConstraintDefinition()
-
- Specified by:
createXSDIdentityConstraintDefinition
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Identity Constraint Definition'.
createXSDImport
public XSDImport createXSDImport()
-
- Specified by:
createXSDImport
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Import'.
createXSDInclude
public XSDInclude createXSDInclude()
-
- Specified by:
createXSDInclude
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Include'.
createXSDLengthFacet
public XSDLengthFacet createXSDLengthFacet()
-
- Specified by:
createXSDLengthFacet
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Length Facet'.
createXSDMaxExclusiveFacet
public XSDMaxExclusiveFacet createXSDMaxExclusiveFacet()
-
- Specified by:
createXSDMaxExclusiveFacet
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Max Exclusive Facet'.
createXSDMaxInclusiveFacet
public XSDMaxInclusiveFacet createXSDMaxInclusiveFacet()
-
- Specified by:
createXSDMaxInclusiveFacet
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Max Inclusive Facet'.
createXSDMaxLengthFacet
public XSDMaxLengthFacet createXSDMaxLengthFacet()
-
- Specified by:
createXSDMaxLengthFacet
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Max Length Facet'.
createXSDMinExclusiveFacet
public XSDMinExclusiveFacet createXSDMinExclusiveFacet()
-
- Specified by:
createXSDMinExclusiveFacet
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Min Exclusive Facet'.
createXSDMinInclusiveFacet
public XSDMinInclusiveFacet createXSDMinInclusiveFacet()
-
- Specified by:
createXSDMinInclusiveFacet
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Min Inclusive Facet'.
createXSDMinLengthFacet
public XSDMinLengthFacet createXSDMinLengthFacet()
-
- Specified by:
createXSDMinLengthFacet
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Min Length Facet'.
createXSDModelGroup
public XSDModelGroup createXSDModelGroup()
-
- Specified by:
createXSDModelGroup
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Model Group'.
createXSDModelGroupDefinition
public XSDModelGroupDefinition createXSDModelGroupDefinition()
-
- Specified by:
createXSDModelGroupDefinition
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Model Group Definition'.
createXSDNotationDeclaration
public XSDNotationDeclaration createXSDNotationDeclaration()
-
- Specified by:
createXSDNotationDeclaration
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Notation Declaration'.
createXSDNumericFacet
public XSDNumericFacet createXSDNumericFacet()
-
- Specified by:
createXSDNumericFacet
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Numeric Facet'.
createXSDOrderedFacet
public XSDOrderedFacet createXSDOrderedFacet()
-
- Specified by:
createXSDOrderedFacet
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Ordered Facet'.
createXSDParticle
public XSDParticle createXSDParticle()
-
- Specified by:
createXSDParticle
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Particle'.
createXSDPatternFacet
public XSDPatternFacet createXSDPatternFacet()
-
- Specified by:
createXSDPatternFacet
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Pattern Facet'.
createXSDRedefine
public XSDRedefine createXSDRedefine()
-
- Specified by:
createXSDRedefine
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Redefine'.
createXSDSchema
public XSDSchema createXSDSchema()
-
- Specified by:
createXSDSchema
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Schema'.
createXSDSimpleTypeDefinition
public XSDSimpleTypeDefinition createXSDSimpleTypeDefinition()
-
- Specified by:
createXSDSimpleTypeDefinition
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Simple Type Definition'.
createXSDTotalDigitsFacet
public XSDTotalDigitsFacet createXSDTotalDigitsFacet()
-
- Specified by:
createXSDTotalDigitsFacet
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Total Digits Facet'.
createXSDWhiteSpaceFacet
public XSDWhiteSpaceFacet createXSDWhiteSpaceFacet()
-
- Specified by:
createXSDWhiteSpaceFacet
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'White Space Facet'.
createXSDWildcard
public XSDWildcard createXSDWildcard()
-
- Specified by:
createXSDWildcard
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'Wildcard'.
createXSDXPathDefinition
public XSDXPathDefinition createXSDXPathDefinition()
-
- Specified by:
createXSDXPathDefinition
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- a new object of class 'XPath Definition'.
createDOMAttrFromString
public org.w3c.dom.Attr createDOMAttrFromString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.String initialValue)
-
convertDOMAttrToString
public java.lang.String convertDOMAttrToString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.Object instanceValue)
-
createDOMDocumentFromString
public org.w3c.dom.Document createDOMDocumentFromString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.String initialValue)
-
convertDOMDocumentToString
public java.lang.String convertDOMDocumentToString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.Object instanceValue)
-
createDOMElementFromString
public org.w3c.dom.Element createDOMElementFromString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.String initialValue)
-
convertDOMElementToString
public java.lang.String convertDOMElementToString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.Object instanceValue)
-
createDOMNodeFromString
public org.w3c.dom.Node createDOMNodeFromString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.String initialValue)
-
convertDOMNodeToString
public java.lang.String convertDOMNodeToString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.Object instanceValue)
-
createValueFromString
public java.lang.Object createValueFromString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.String initialValue)
-
convertValueToString
public java.lang.String convertValueToString(org.eclipse.emf.ecore.EDataType eDataType,
java.lang.Object instanceValue)
-
getXSDPackage
public XSDPackage getXSDPackage()
-
- Specified by:
getXSDPackage
in interface XSDFactory
- Following copied from interface:
org.eclipse.xsd.XSDFactory
- Returns:
- the package supported by this factory.
getPackage
public static XSDPackage getPackage()
-