NAME
SGML::Notation - an data type defined in SGML or XML
SYNOPSIS
$name = $notation->name;
$system_id = $notation->system_id;
$public_id = $notation->public_id;
$generated_id = $notation->generated_id;
$notation->iter;
$notation->accept($visitor, ...);
The following are defined for type compatibilty:
$notation->as_string([$context, ...]);
$notation->accept_gi($visitor, ...);
$notation->children_accept($visitor, ...);
$notation->children_accept_gi($visitor, ...);
DESCRIPTION
SGML::Notation
objects are loaded by SGML::SPGrove
. An SGML::Notation
contains the type definition defined in a document instance, with the possible `generated_id' generated by the parser. Within a grove, any notation with the same name refers to the same SGML::Notation
object.
SGML::Notation
objects occur as the value of element attributes or as a member of external entities.
$notation->name
returns the name of the notation.
$notation->accept($visitor[, ...])
issues a call back to $visitor->visit_SGML_Notation($notation[, ...])
. Note that SGML::Notation
objects are never primary children of an SGML::Element
object and will not ordinarily occur while simply visiting a grove.
$notation-
as_string> returns an empty string.
$notation->accept_gi($visitor[, ...])
is implemented as a synonym for accept
.
children_accept
and children_accept_gi
do nothing.
AUTHOR
Ken MacLeod, ken@bitsko.slc.ut.us
SEE ALSO
perl(1), SGML::SPGrove(3), Text::EntityMap(3), SGML::Element(3), SGML::PI(3).