Microsoft SDK for Java

createElement

This method of the ElementFactory interface creates an element with the specified tag for the specified type of element.

Syntax

public abstract Element createElement(Element parent, int type, Name tag, String text);

Return Value

Returns the created element.

Parameters

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

See Also

com.ms.xml.os.Element

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