Package 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
  Description
  `DefaultElementFactory()`
  Creates a new `DefaultElementFactory` instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `final 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 Details

  - ### DefaultElementFactory

    public DefaultElementFactory()
    Creates a new `DefaultElementFactory` instance.

- ## Method Details

  - ### elementInstance

    public final Element elementInstance(String name, String cdata, StringBuilder[] attnames, StringBuilder[] attvals)
    Specified by:
      `elementInstance` in interface `ElementFactory`