/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.jboss.tools.smooks.model.csv12.impl;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.EValidator;
import org.eclipse.emf.ecore.impl.EPackageImpl;
import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
import org.jboss.tools.smooks.model.common.CommonPackage;
import org.jboss.tools.smooks.model.common.impl.CommonPackageImpl;
import org.jboss.tools.smooks.model.csv12.Binding;
import org.jboss.tools.smooks.model.csv12.CSV12DocumentRoot;
import org.jboss.tools.smooks.model.csv12.CSV12Reader;
import org.jboss.tools.smooks.model.csv12.Csv12Factory;
import org.jboss.tools.smooks.model.csv12.Csv12Package;
import org.jboss.tools.smooks.model.csv12.MapBinding;
import org.jboss.tools.smooks.model.csv12.util.Csv12Validator;
import org.jboss.tools.smooks.model.smooks.SmooksPackage;
import org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl;
/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
* @generated
*/
public class Csv12PackageImpl extends EPackageImpl implements Csv12Package {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass bindingEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass csv12DocumentRootEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass mapBindingEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass csv12ReaderEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EDataType charEDataType = null;
/**
* Creates an instance of the model <b>Package</b>, registered with
* {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
* <p>Note: the correct way to create the package is via the static
* factory method {@link #init init()}, which also performs
* initialization of the package, or returns the registered package,
* if one already exists.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.jboss.tools.smooks.model.csv12.Csv12Package#eNS_URI
* @see #init()
* @generated
*/
private Csv12PackageImpl() {
super(eNS_URI, Csv12Factory.eINSTANCE);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
*
* <p>This method is used to initialize {@link Csv12Package#eINSTANCE} when that field is accessed.
* Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static Csv12Package init() {
if (isInited) return (Csv12Package)EPackage.Registry.INSTANCE.getEPackage(Csv12Package.eNS_URI);
// Obtain or create and register package
Csv12PackageImpl theCsv12Package = (Csv12PackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Csv12PackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new Csv12PackageImpl());
isInited = true;
// Initialize simple dependencies
XMLTypePackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
SmooksPackageImpl theSmooksPackage = (SmooksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI) instanceof SmooksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI) : SmooksPackage.eINSTANCE);
CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);
// Create package meta-data objects
theCsv12Package.createPackageContents();
theSmooksPackage.createPackageContents();
theCommonPackage.createPackageContents();
// Initialize created meta-data
theCsv12Package.initializePackageContents();
theSmooksPackage.initializePackageContents();
theCommonPackage.initializePackageContents();
// Register package validator
EValidator.Registry.INSTANCE.put
(theCsv12Package,
new EValidator.Descriptor() {
public EValidator getEValidator() {
return Csv12Validator.INSTANCE;
}
});
// Mark meta-data to indicate it can't be changed
theCsv12Package.freeze();
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(Csv12Package.eNS_URI, theCsv12Package);
return theCsv12Package;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getBinding() {
return bindingEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getBinding_BeanId() {
return (EAttribute)bindingEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getBinding_Class() {
return (EAttribute)bindingEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getCSV12DocumentRoot() {
return csv12DocumentRootEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getCSV12DocumentRoot_Mixed() {
return (EAttribute)csv12DocumentRootEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getCSV12DocumentRoot_XMLNSPrefixMap() {
return (EReference)csv12DocumentRootEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getCSV12DocumentRoot_XSISchemaLocation() {
return (EReference)csv12DocumentRootEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getCSV12DocumentRoot_Reader() {
return (EReference)csv12DocumentRootEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getMapBinding() {
return mapBindingEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getMapBinding_KeyField() {
return (EAttribute)mapBindingEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getCSV12Reader() {
return csv12ReaderEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getCSV12Reader_SingleBinding() {
return (EReference)csv12ReaderEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getCSV12Reader_ListBinding() {
return (EReference)csv12ReaderEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getCSV12Reader_MapBinding() {
return (EReference)csv12ReaderEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getCSV12Reader_Encoding() {
return (EAttribute)csv12ReaderEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getCSV12Reader_Fields() {
return (EAttribute)csv12ReaderEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getCSV12Reader_Indent() {
return (EAttribute)csv12ReaderEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getCSV12Reader_Quote() {
return (EAttribute)csv12ReaderEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getCSV12Reader_RecordElementName() {
return (EAttribute)csv12ReaderEClass.getEStructuralFeatures().get(7);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getCSV12Reader_RootElementName() {
return (EAttribute)csv12ReaderEClass.getEStructuralFeatures().get(8);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getCSV12Reader_Separator() {
return (EAttribute)csv12ReaderEClass.getEStructuralFeatures().get(9);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getCSV12Reader_SkipLines() {
return (EAttribute)csv12ReaderEClass.getEStructuralFeatures().get(10);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EDataType getChar() {
return charEDataType;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Csv12Factory getCsv12Factory() {
return (Csv12Factory)getEFactoryInstance();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private boolean isCreated = false;
/**
* Creates the meta-model objects for the package. This method is
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void createPackageContents() {
if (isCreated) return;
isCreated = true;
// Create classes and their features
bindingEClass = createEClass(BINDING);
createEAttribute(bindingEClass, BINDING__BEAN_ID);
createEAttribute(bindingEClass, BINDING__CLASS);
csv12DocumentRootEClass = createEClass(CSV12_DOCUMENT_ROOT);
createEAttribute(csv12DocumentRootEClass, CSV12_DOCUMENT_ROOT__MIXED);
createEReference(csv12DocumentRootEClass, CSV12_DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
createEReference(csv12DocumentRootEClass, CSV12_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
createEReference(csv12DocumentRootEClass, CSV12_DOCUMENT_ROOT__READER);
mapBindingEClass = createEClass(MAP_BINDING);
createEAttribute(mapBindingEClass, MAP_BINDING__KEY_FIELD);
csv12ReaderEClass = createEClass(CSV12_READER);
createEReference(csv12ReaderEClass, CSV12_READER__SINGLE_BINDING);
createEReference(csv12ReaderEClass, CSV12_READER__LIST_BINDING);
createEReference(csv12ReaderEClass, CSV12_READER__MAP_BINDING);
createEAttribute(csv12ReaderEClass, CSV12_READER__ENCODING);
createEAttribute(csv12ReaderEClass, CSV12_READER__FIELDS);
createEAttribute(csv12ReaderEClass, CSV12_READER__INDENT);
createEAttribute(csv12ReaderEClass, CSV12_READER__QUOTE);
createEAttribute(csv12ReaderEClass, CSV12_READER__RECORD_ELEMENT_NAME);
createEAttribute(csv12ReaderEClass, CSV12_READER__ROOT_ELEMENT_NAME);
createEAttribute(csv12ReaderEClass, CSV12_READER__SEPARATOR);
createEAttribute(csv12ReaderEClass, CSV12_READER__SKIP_LINES);
// Create data types
charEDataType = createEDataType(CHAR);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private boolean isInitialized = false;
/**
* Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void initializePackageContents() {
if (isInitialized) return;
isInitialized = true;
// Initialize package
setName(eNAME);
setNsPrefix(eNS_PREFIX);
setNsURI(eNS_URI);
// Obtain other dependent packages
SmooksPackage theSmooksPackage = (SmooksPackage)EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI);
XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
// Add supertypes to classes
bindingEClass.getESuperTypes().add(theSmooksPackage.getAbstractResourceConfig());
mapBindingEClass.getESuperTypes().add(this.getBinding());
csv12ReaderEClass.getESuperTypes().add(theSmooksPackage.getAbstractReader());
// Initialize classes and features; add operations and parameters
initEClass(bindingEClass, Binding.class, "Binding", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
initEAttribute(getBinding_BeanId(), theXMLTypePackage.getString(), "beanId", null, 1, 1, Binding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getBinding_Class(), theXMLTypePackage.getString(), "class", null, 1, 1, Binding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEClass(csv12DocumentRootEClass, CSV12DocumentRoot.class, "CSV12DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
initEAttribute(getCSV12DocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEReference(getCSV12DocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEReference(getCSV12DocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEReference(getCSV12DocumentRoot_Reader(), this.getCSV12Reader(), null, "reader", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEClass(mapBindingEClass, MapBinding.class, "MapBinding", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
initEAttribute(getMapBinding_KeyField(), theXMLTypePackage.getString(), "keyField", null, 1, 1, MapBinding.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEClass(csv12ReaderEClass, CSV12Reader.class, "CSV12Reader", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
initEReference(getCSV12Reader_SingleBinding(), this.getBinding(), null, "singleBinding", null, 0, 1, CSV12Reader.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEReference(getCSV12Reader_ListBinding(), this.getBinding(), null, "listBinding", null, 0, 1, CSV12Reader.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEReference(getCSV12Reader_MapBinding(), this.getMapBinding(), null, "mapBinding", null, 0, 1, CSV12Reader.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getCSV12Reader_Encoding(), theXMLTypePackage.getString(), "encoding", "UTF-8", 0, 1, CSV12Reader.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
initEAttribute(getCSV12Reader_Fields(), theXMLTypePackage.getString(), "fields", null, 0, 1, CSV12Reader.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEAttribute(getCSV12Reader_Indent(), theXMLTypePackage.getBoolean(), "indent", "false", 0, 1, CSV12Reader.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
initEAttribute(getCSV12Reader_Quote(), this.getChar(), "quote", "\"", 0, 1, CSV12Reader.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
initEAttribute(getCSV12Reader_RecordElementName(), theXMLTypePackage.getString(), "recordElementName", "csv-record", 0, 1, CSV12Reader.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
initEAttribute(getCSV12Reader_RootElementName(), theXMLTypePackage.getString(), "rootElementName", "csv-set", 0, 1, CSV12Reader.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
initEAttribute(getCSV12Reader_Separator(), this.getChar(), "separator", ",", 0, 1, CSV12Reader.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
initEAttribute(getCSV12Reader_SkipLines(), theXMLTypePackage.getInteger(), "skipLines", "0", 0, 1, CSV12Reader.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
// Initialize data types
initEDataType(charEDataType, String.class, "Char", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
// Create resource
createResource(eNS_URI);
// Create annotations
// http:///org/eclipse/emf/ecore/util/ExtendedMetaData
createExtendedMetaDataAnnotations();
}
/**
* Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void createExtendedMetaDataAnnotations() {
String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; //$NON-NLS-1$
addAnnotation
(bindingEClass,
source,
new String[] {
"name", "binding", //$NON-NLS-1$ //$NON-NLS-2$
"kind", "empty" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getBinding_BeanId(),
source,
new String[] {
"kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
"name", "beanId" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getBinding_Class(),
source,
new String[] {
"kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
"name", "class" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(charEDataType,
source,
new String[] {
"name", "char", //$NON-NLS-1$ //$NON-NLS-2$
"baseType", "http://www.eclipse.org/emf/2003/XMLType#string", //$NON-NLS-1$ //$NON-NLS-2$
"length", "1" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(csv12DocumentRootEClass,
source,
new String[] {
"name", "", //$NON-NLS-1$ //$NON-NLS-2$
"kind", "mixed" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getCSV12DocumentRoot_Mixed(),
source,
new String[] {
"kind", "elementWildcard", //$NON-NLS-1$ //$NON-NLS-2$
"name", ":mixed" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getCSV12DocumentRoot_XMLNSPrefixMap(),
source,
new String[] {
"kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
"name", "xmlns:prefix" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getCSV12DocumentRoot_XSISchemaLocation(),
source,
new String[] {
"kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
"name", "xsi:schemaLocation" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getCSV12DocumentRoot_Reader(),
source,
new String[] {
"kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
"name", "reader", //$NON-NLS-1$ //$NON-NLS-2$
"namespace", "##targetNamespace", //$NON-NLS-1$ //$NON-NLS-2$
"affiliation", "http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-reader" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(mapBindingEClass,
source,
new String[] {
"name", "mapBinding", //$NON-NLS-1$ //$NON-NLS-2$
"kind", "empty" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getMapBinding_KeyField(),
source,
new String[] {
"kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
"name", "keyField" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(csv12ReaderEClass,
source,
new String[] {
"name", "reader", //$NON-NLS-1$ //$NON-NLS-2$
"kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getCSV12Reader_SingleBinding(),
source,
new String[] {
"kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
"name", "singleBinding", //$NON-NLS-1$ //$NON-NLS-2$
"namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getCSV12Reader_ListBinding(),
source,
new String[] {
"kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
"name", "listBinding", //$NON-NLS-1$ //$NON-NLS-2$
"namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getCSV12Reader_MapBinding(),
source,
new String[] {
"kind", "element", //$NON-NLS-1$ //$NON-NLS-2$
"name", "mapBinding", //$NON-NLS-1$ //$NON-NLS-2$
"namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getCSV12Reader_Encoding(),
source,
new String[] {
"kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
"name", "encoding" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getCSV12Reader_Fields(),
source,
new String[] {
"kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
"name", "fields" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getCSV12Reader_Indent(),
source,
new String[] {
"kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
"name", "indent" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getCSV12Reader_Quote(),
source,
new String[] {
"kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
"name", "quote" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getCSV12Reader_RecordElementName(),
source,
new String[] {
"kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
"name", "recordElementName" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getCSV12Reader_RootElementName(),
source,
new String[] {
"kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
"name", "rootElementName" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getCSV12Reader_Separator(),
source,
new String[] {
"kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
"name", "separator" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation
(getCSV12Reader_SkipLines(),
source,
new String[] {
"kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$
"name", "skipLines" //$NON-NLS-1$ //$NON-NLS-2$
});
}
} //Csv12PackageImpl