Package com.sodius.mdw.metamodel.xml
Interface XmlFactory
-
- All Superinterfaces:
org.eclipse.emf.ecore.EFactory
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
public interface XmlFactory extends org.eclipse.emf.ecore.EFactory
The Factory for the model. It provides a create method for each non-abstract class of the model.- See Also:
XmlPackage
-
-
Field Summary
Fields Modifier and Type Field Description static XmlFactory
eINSTANCE
The singleton instance of the factory.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Attribute
createAttribute()
Returns a new object of class 'Attribute'.Comment
createComment()
Returns a new object of class 'Comment'.ContentElement
createContentElement()
Returns a new object of class 'Content Element'.Document
createDocument()
Returns a new object of class 'Document'.DocumentType
createDocumentType()
Returns a new object of class 'Document Type'.Element
createElement()
Returns a new object of class 'Element'.MiscText
createMiscText()
Returns a new object of class 'Misc Text'.ProcessInstr
createProcessInstr()
Returns a new object of class 'Process Instr'.Text
createText()
Returns a new object of class 'Text'.XMLDeclaration
createXMLDeclaration()
Returns a new object of class 'XML Declaration'.XmlPackage
getXmlPackage()
Returns the package supported by this factory.-
Methods inherited from interface org.eclipse.emf.ecore.EFactory
convertToString, create, createFromString, getEPackage, setEPackage
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
-
-
-
Field Detail
-
eINSTANCE
static final XmlFactory eINSTANCE
The singleton instance of the factory.
-
-
Method Detail
-
createDocument
Document createDocument()
Returns a new object of class 'Document'.- Returns:
- a new object of class 'Document'.
-
createXMLDeclaration
XMLDeclaration createXMLDeclaration()
Returns a new object of class 'XML Declaration'.- Returns:
- a new object of class 'XML Declaration'.
-
createDocumentType
DocumentType createDocumentType()
Returns a new object of class 'Document Type'.- Returns:
- a new object of class 'Document Type'.
-
createContentElement
ContentElement createContentElement()
Returns a new object of class 'Content Element'.- Returns:
- a new object of class 'Content Element'.
-
createElement
Element createElement()
Returns a new object of class 'Element'.- Returns:
- a new object of class 'Element'.
-
createAttribute
Attribute createAttribute()
Returns a new object of class 'Attribute'.- Returns:
- a new object of class 'Attribute'.
-
createText
Text createText()
Returns a new object of class 'Text'.- Returns:
- a new object of class 'Text'.
-
createMiscText
MiscText createMiscText()
Returns a new object of class 'Misc Text'.- Returns:
- a new object of class 'Misc Text'.
-
createProcessInstr
ProcessInstr createProcessInstr()
Returns a new object of class 'Process Instr'.- Returns:
- a new object of class 'Process Instr'.
-
createComment
Comment createComment()
Returns a new object of class 'Comment'.- Returns:
- a new object of class 'Comment'.
-
getXmlPackage
XmlPackage getXmlPackage()
Returns the package supported by this factory.- Returns:
- the package supported by this factory.
-
-