# Element Factory

###### Identifier:

org.eclipse.actf.model.dom.dombycom.elementFactory

###### Description:

This extension point is used to add Element Factories to this (DOM by COM) plugin.

###### Configuration Markup:

<!ELEMENT extension (objectElementFactory+)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED

>

- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance

<!ELEMENT objectElementFactory EMPTY>

<!ATTLIST objectElementFactory

implementations CDATA #REQUIRED

>

- implementations - the name of a class that implements `org.eclipse.actf.model.dom.dombycom.IObjectElementFactory`.

###### Examples:

The following is an example of an extension definition:

       <extension
             point="org.eclipse.actf.model.dom.dombycom.elementFactory">
          <objectElementFactory
                implementations="org.eclipse.actf.model.dom.dombycom.impl.flash.FlashElementFactory">
          </objectElementFactory>
       </extension>

###### API Information:

The contributor will add new Element factory for Object Elements by using `objectElementFactory`. `implementations` is required attribute for `objectElementFactory`, and the specified class must implement `org.eclipse.actf.model.dom.dombycom.IObjectElementFactory`.

###### Supplied Implementation:

ACTF provides a `FlashElementFactory`. It provides an Element implementation that enables to access Object Model of Flash content. Please see `org.eclipse.actf.model.dom.dombycom.flash` plugin for more details. (If you include the plugin, the FlashElementFactory will be automatically registerd to this extension.)

Copyright (c) 2008 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html