1RDF::RDFa::Generator::HUTsMeLr::CPornettrtiyb:u:tRNeDodFt:eP:(eR3rD)lFaD:o:cGuemneenrtaattoiro:n:HTML::Pretty::Note(3)
2
3
4
6 RDF::RDFa::Generator::HTML::Pretty::Note - a note about something
7
9 Often you'll want to create your own subclass of this as the basic
10 notes are pretty limited (plain text only).
11
12 Constructor
13 "$note = RDF::RDFa::Generator::HTML::Pretty::Note->new($subject,
14 $text)"
15 $subject is an RDF::Trine::Node (though probably not a Literal!)
16 indicating the subject of the note. $text is the plain text content
17 of the note.
18
19 Public Methods
20 "$note->is_relevant_to($node)"
21 $node is an RDF::Trine::Node or Attean IRI or blank. Checks if the
22 subject of $note is $node.
23
24 Alias: is_relevent_to.
25
26 "$note->node($namespace, $tagname)"
27 Gets an XML::LibXML::Element representing the note. $namespace and
28 $tagname are used to create the new element. If an unexpected
29 namespace or tagname is supplied, may die.
30
31 Expected namespace is 'http://www.w3.org/1999/xhtml'. Expected
32 tagname is any XHTML tag that can contain text nodes.
33
35 RDF::RDFa::Generator, RDF::RDFa::Linter.
36
38 Toby Inkster <tobyink@cpan.org>.
39
41 Copyright (C) 2010 by Toby Inkster
42
43 This library is free software; you can redistribute it and/or modify it
44 under the same terms as Perl itself, either Perl version 5.8 or, at
45 your option, any later version of Perl 5 you may have available.
46
47
48
49perl v5.36.0 20R2D3F-:0:1R-D2F0a::Generator::HTML::Pretty::Note(3)