Scott Lanning > Mozilla-DOM-0.23 > Mozilla::DOM::Attr

Download:
Mozilla-DOM-0.23.tar.gz

Annotate this POD

CPAN RT

New  2
Open  5
View/Report Bugs
Source  

NAME ^

Mozilla::DOM::Attr

Mozilla::DOM::Attr is a wrapper around an instance of Mozilla's nsIDOMAttr interface. This inherits from Mozilla::DOM::Node.

 * The nsIDOMAttr interface represents an attribute in an "Element" object.
 * Typically the allowable values for the attribute are defined in a document
 * type definition.
 *
 * For more information on this interface please see
 * L<http:E<sol>E<sol>www.w3.orgE<sol>TRE<sol>DOM-Level-2-CoreE<sol>>

CLASS METHODS ^

$iid = Mozilla::DOM::Attr->GetIID()

Pass this to QueryInterface.

METHODS ^

$name = $attr->GetName()

$element = $attr->GetOwnerElement()

$bool = $attr->GetSpecified()

$value = $attr->GetValue()

$attr->SetValue($value)

SEE ALSO ^

Mozilla::DOM

COPYRIGHT ^

Copyright (C) 2005-2007, Scott Lanning

This software is licensed under the LGPL. See Mozilla::DOM for a full notice.

syntax highlighting: