tigase.xml

## Class DefaultElementFactory

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

- All Implemented Interfaces:
    ElementFactory

      public class DefaultElementFactory
      extends 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 and Description
    `DefaultElementFactory()` Creates a new `DefaultElementFactory` instance.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Element` | `elementInstance(String name, String cdata, StringBuilder[] attnames, 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(String name,
                                               String cdata,
                                               StringBuilder[] attnames,
                                               StringBuilder[] attvals)

      Specified by:
        `elementInstance` in interface `ElementFactory`

Copyright © 2022 "Tigase, Inc.". All rights reserved.