Microsoft SDK for Java

setAttribute

This method of the Element interface contains the following signatures:

setAttribute(String name, Object value)
setAttribute(Name name, Object value)

setAttribute(String name, Object value)

Sets the attribute of this element.

Syntax

public void setAttribute(String name, Object value);

Parameters

name The attribute name.
value The attribute value.

setAttribute(Name name, Object value)

Sets the attribute of this element.

Syntax

public void setAttribute(Name name, Object value);

Parameters

name The attribute name.
value The attribute value.

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