Package tigase.xml.db

## Class DBElementFactory

- java.lang.Object
- - tigase.xml.db.DBElementFactory

- All Implemented Interfaces:
    `ElementFactory`

      public class DBElementFactory
      extends java.lang.Object
      implements ElementFactory

  `DBElementFactory` is implementation of factory design pattern required by XML DOM builder to create proper `Element` instances for tree nodes.

  Created: Tue Oct 26 22:41:57 2004

  Version:
    $Rev$
  Author:
    Artur Hefczyc

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Element` | `elementInstance​(java.lang.String name, java.lang.String cdata, java.lang.StringBuilder[] attnames, java.lang.StringBuilder[] attvalues)` | Describe `elementInstance` method here.
    `static DBElementFactory` | `getFactory()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getFactory

          public static DBElementFactory getFactory()

    - #### elementInstance

          public Element elementInstance​(java.lang.String name,
                                         java.lang.String cdata,
                                         java.lang.StringBuilder[] attnames,
                                         java.lang.StringBuilder[] attvalues)

      Describe `elementInstance` method here.
      Specified by:
        `elementInstance` in interface `ElementFactory`
      Parameters:
        `name` - a `String` value
        `cdata` - a `String` value
        `attnames` - a `StringBuilder[]` value
        `attvalues` - a `StringBuilder[]` value
      Returns:
        an `DBElement` value