Packages
 In this topic

*Constructors

*Methods

 

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

 


Class ElementFactoryImpl

public class ElementFactoryImpl implements ElementFactory
{
  // Constructors
  public ElementFactoryImpl();

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

This class represents the default implementation for the element factory. This is what the XML parser uses if no other factory is specified.

Constructors

ElementFactoryImpl

public ElementFactoryImpl();

Constructs the factory object.

Methods

createElement

public Element createElement(int type, Name tag);

Retrieves a new element for the specified tag and type.

Return Value:

Returns the newly created element.

ParameterDescription
type The element type.
tag The element name.

parsed

public void parsed(Element elem);

This method is called when the element is fully parsed.

Return Value:

No return value.

ParameterDescription
elem The element parsed.

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

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