Microsoft SDK for Java

ElementFactory Interface

The ElementFactory interface of the com.ms.xml.om package specifies a method to create elements for an XML element tree. This is used by the XML Document to create nodes in the tree as it parses the elements.

public interface ElementFactory
{
  // Methods
  public abstract Element createElement(Element parent, int type, Name tag, String text);
  public abstract void parsed(Element elem);
  public abstract void parsedAttribute(Element e, Name name, Object value);
}

© 1999 Microsoft Corporation. All rights reserved. Terms of use.