Package tigase.xml

## Class DefaultElementFactory

- java.lang.Object
- - tigase.xml.DefaultElementFactory

- All Implemented Interfaces:
    `ElementFactory`

      public class DefaultElementFactory
      extends java.lang.Object
      implements ElementFactory

  `DefaultElementFactory` is an `ElementFactory` implementation creating instances of basic `Element` class. This implementation exists to offer complementary implementation of DOM. It can be used when basic `Element` class is sufficient for particular needs.

  Created: Mon Oct 25 22:08:37 2004

  Version:
    $Rev$
  Author:
    Artur Hefczyc

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DefaultElementFactory()` | Creates a new `DefaultElementFactory` instance.

  - ### Method Summary

    All 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[] attvals)` |

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

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

- - ### Constructor Detail

    - #### DefaultElementFactory

          public DefaultElementFactory()

      Creates a new `DefaultElementFactory` instance.

  - ### Method Detail

    - #### elementInstance

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

      Specified by:
        `elementInstance` in interface `ElementFactory`