Package tigase.xml.db

# Class DBElementFactory

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

All Implemented Interfaces:
  `ElementFactory`

public class DBElementFactory extends 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

  Modifier and Type
  Method
  Description
  `Element`
  `elementInstance(String name, String cdata, StringBuilder[] attnames, 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 Details

  - ### getFactory

    public static DBElementFactory getFactory()

  - ### elementInstance

    public Element elementInstance(String name, String cdata, StringBuilder[] attnames, 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