NAME

SGML::ExtEntity - an external entity defined in an SGML or XML document

SYNOPSIS

  $name = $ext_entity->name;
  $data = $ext_entity->data;
  $type = $ext_entity->type;
  $system_id = $ext_entity->system_id;
  $public_id = $ext_entity->public_id;
  $generated_id = $ext_entity->generated_id;
  $attributes = $ext_entity->attributes;
  $notation = $ext_entity->notation;

  $ext_entity->iter;

  $ext_entity->accept($visitor, ...);

  The following are defined for type compatibilty:

  $ext_entity->as_string([$context, ...]);
  $ext_entity->accept_gi($visitor, ...);
  $ext_entity->children_accept($visitor, ...);
  $ext_entity->children_accept_gi($visitor, ...);

DESCRIPTION

An SGML::ExtEntity contains an external entity defined in a document instance. Within a grove, any entity with the same name refers to the same SGML::ExtEntity object.

$ext_entity->name returns the name of the external entity object.

$ext_entity->data returns the data of the entity if it has been loaded (XXX but that's not been defined yet).

$ext_entity->accept($visitor[, ...]) issues a call back to $visitor->visit_SGML_ExtEntity($ext_entity[, ...]). See examples visitor.pl and simple-dump.pl for more information.

$ext_entity->as_string returns an empty string.

$ext_entity->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::Grove(3), Text::EntityMap(3), SGML::Element(3), SGML::PI(3).