# SourceWriterExtension

###### Identifier:

org.eclipse.datatools.modelbase.sql.query.sourcewriterextension

###### Since:

[Enter the first release in which this extension point appears.]

###### Description:

[Enter description of this extension point.]

###### Configuration Markup:

<!ELEMENT extension (pluginJava , sourceWriter+)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED

>

<!ELEMENT pluginJava EMPTY>

<!ATTLIST pluginJava

class CDATA #REQUIRED

>

The Plugin class that must extend SQLQueryModelPlugin to invoke the registration of SourceWriters at plugin start time

- class - The Plugin.java file providing life-cycle methods for this plugin

<!ELEMENT sourceWriter EMPTY>

<!ATTLIST sourceWriter

class CDATA #REQUIRED

packageName CDATA #REQUIRED

implPackageName CDATA #REQUIRED

>

- class - The SQLQuerySourceWriter specified by fully qualified class name must implement "appendSQL" methods that have SQLQueryObject arguments out of the package specified in this extension-point's attribute "packageName"
- packageName - The package name of the SQLQueryObjects that the SourceWriter is capable of generating SQL source for. The SQLQuerySourceWriter specified by fully qualified class name in this extension-point config attribute "class" must implement "appendSQL" methods that have arguments out of the package specified here
- implPackageName - The package name of the SQLQueryObject implementations that the SourceWriter is capable of generating SQL source for. SQLQueryObject implementations must have suffix "Impl" appended to Class name of SQLQueryObject interfaces in package specified by attribute "packageName" in this extension-point configuration

###### Examples:

[Enter extension point usage example here.]

###### API Information:

[Enter API information here.]

###### Supplied Implementation:

[Enter information about supplied implementation of this extension point.]