Logo Search packages:      
Sourcecode: lib-dom-java version File versions  Download package

Attr org::w3c::dom::Document::createAttribute ( String  name  )  throws DOMException [inherited]

Creates an Attr of the given name. Note that the Attr instance can then be set on an Element using the setAttribute method.

Parameters:
name The name of the attribute.
Returns:
A new Attr object.
Exceptions:
DOMException INVALID_CHARACTER_ERR: Raised if the specified name contains an invalid character.


Generated by  Doxygen 1.6.0   Back to index