Packages
 In this topic

*Methods

 

Packages   PreviousThis Package
Package com.ms.xml.om   Previous This
Package

 


Interface ElementFactory

public interface ElementFactory
{
  // Methods
  Element createElement(int type, Name tag);
  void parsed(Element elem);
}

This interface 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.

Methods

createElement

Element createElement(int type, Name tag);

Creates an element with the specified tag for the specified type of element.

Return Value:

Returns the created element.

ParameterDescription
tag The name of the element.
type One of the predefined Element types that can be returned from Element.getType.

See Also: com.ms.xml.om.Element

parsed

void parsed(Element elem);

Notifies that the element is fully parsed.

ParameterDescription
elem The element parsed.

See Also: com.ms.xml.om.Element

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.