655
|
1 |
=head1 NAME
|
|
2 |
|
|
3 |
XML::DOM::AttDef - A single XML attribute definition in an ATTLIST in XML::DOM
|
|
4 |
|
|
5 |
=head1 DESCRIPTION
|
|
6 |
|
|
7 |
XML::DOM::AttDef extends L<XML::DOM::Node>, but is not part of the DOM Level 1
|
|
8 |
specification.
|
|
9 |
|
|
10 |
Each object of this class represents one attribute definition in an AttlistDecl.
|
|
11 |
|
|
12 |
=head2 METHODS
|
|
13 |
|
|
14 |
=over 4
|
|
15 |
|
|
16 |
=item getName
|
|
17 |
|
|
18 |
Returns the attribute name.
|
|
19 |
|
|
20 |
=item getDefault
|
|
21 |
|
|
22 |
Returns the default value, or undef.
|
|
23 |
|
|
24 |
=item isFixed
|
|
25 |
|
|
26 |
Whether the attribute value is fixed (see #FIXED keyword.)
|
|
27 |
|
|
28 |
=item isRequired
|
|
29 |
|
|
30 |
Whether the attribute value is required (see #REQUIRED keyword.)
|
|
31 |
|
|
32 |
=item isImplied
|
|
33 |
|
|
34 |
Whether the attribute value is implied (see #IMPLIED keyword.)
|
|
35 |
|
|
36 |
=back
|