public interface BaseFactory extends EFactory
BasePackage
Modifier and Type | Field and Description |
---|---|
static BaseFactory |
eINSTANCE
The singleton instance of the factory.
|
Modifier and Type | Method and Description |
---|---|
String |
convertException(Exception instanceValue)
Returns a literal representation of an instance of data type 'Exception'.
|
String |
convertText(String instanceValue)
Returns a literal representation of an instance of data type 'Text'.
|
String |
convertURI(URI instanceValue)
Returns a literal representation of an instance of data type 'URI'.
|
Annotation |
createAnnotation()
Returns a new object of class 'Annotation'.
|
Annotation |
createAnnotation(String source) |
Annotation |
createErrorAnnotation(String diagnostic) |
Exception |
createException(String literal)
Returns an instance of data type 'Exception' corresponding the given literal.
|
Annotation |
createInfoAnnotation(String diagnostic) |
String |
createText(String literal)
Returns an instance of data type 'Text' corresponding the given literal.
|
URI |
createURI(String literal)
Returns an instance of data type 'URI' corresponding the given literal.
|
Annotation |
createWarningAnnotation(String diagnostic) |
BasePackage |
getBasePackage()
Returns the package supported by this factory.
|
convertToString, create, createFromString, getEPackage, setEPackage
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
static final BaseFactory eINSTANCE
Annotation createAnnotation()
Annotation createAnnotation(String source)
Annotation createErrorAnnotation(String diagnostic)
Annotation createWarningAnnotation(String diagnostic)
Annotation createInfoAnnotation(String diagnostic)
URI createURI(String literal)
literal
- a literal of the data type.String convertURI(URI instanceValue)
instanceValue
- an instance value of the data type.Exception createException(String literal)
literal
- a literal of the data type.String convertException(Exception instanceValue)
instanceValue
- an instance value of the data type.String createText(String literal)
literal
- a literal of the data type.String convertText(String instanceValue)
instanceValue
- an instance value of the data type.BasePackage getBasePackage()
Copyright (c) 2014 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v20.html