Web::DOM::Entity
The DOM Entity
object
DESCRIPTION
The Web::DOM::Entity
class implements the DOM Entity
interface.
It represents a general entity.
METHODS
In addition to the methods of classes Web::DOM::EventTarget and Web::DOM::Node, following methods are available:
$string = $ent->declaration_base_uri
$string = $ent->manakai_declaration_base_uri
$ent->declaration_base_uri ($string)
$ent->manakai_declaration_base_uri ($string)
-
Return or set the base URL of the entity declaration. [DOMDTDEF]
See also "DEPENDENCY" in Web::DOM.
$string = $ent->manakai_entity_base_uri
$ent->manakai_entity_base_uri ($string)
-
Return or set the base URL of the entity (not of the entity declaration). [DOMDTDEF]
See also "DEPENDENCY" in Web::DOM.
$string = $ent->manakai_entity_uri
$ent->manakai_entity_uri ($string)
-
Return or set the URL of the entity. [DOMDTDEF]
See also "DEPENDENCY" in Web::DOM.
false = $ent->has_replacement_tree
-
Return whether the entity has the replacement tree or not. It always returns false. [DOMDTDEF]
$string = $ent->input_encoding
$ent->input_encoding ($string)
-
Return or set the encoding of the entity. [DOM3CORE] [MANAKAI]
$boolean = $ent->is_externally_declared
$ent->is_externally_declared ($boolean)
-
Return or set whether the entity has been externally declared or not. [DOMDTDEF]
$name = $ent->notation_name
$ent->notation_name = $name
-
Return or set the notation name of the entity, if specified, or
undef
. [DOM3CORE] [DOMDTDEF] $dt = $ent->owner_document_type_definition
-
Return the document type (Web::DOM::DocumentType) to which the entity belongs, if any, or
undef
. [DOMDTDEF] $string = $ent->public_id
$ent->public_id = $string
-
Return or set the public ID of the entity. [DOM3CORE] [DOMDTDEF]
$string = $ent->system_id
$ent->system_id = $string
-
Return or set the system ID of the entity. [DOM3CORE] [DOMDTDEF]
$string = $ent->xml_encoding
$ent->xml_encoding ($string)
-
Return or set the value of the
encoding
pseudo-attribute of the text declaration of the entity, if it is an external parsed entity and has been read, orundef
. [DOM3CORE] [MANAKAI] $string = $ent->xml_version
$ent->xml_version ($string)
-
Return or set the value of the
version
pseudo-attribute of the text declaration of the entity, if it is an external parsed entity and has been read, orundef
. [DOM3CORE] [MANAKAI]
The entity name can be accessed by the $ent->node_name
method.
SPECIFICATIONS
- DOM3CORE
-
Document Object Model (DOM) Level 3 Core Specification
<http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/DOM3-Core.html>
. - DOMDTDEF
-
DOM Document Type Definitions
<http://suika.suikawiki.org/www/markup/xml/domdtdef/domdtdef>
. - MANAKAI
-
manakai DOM Extensions
<http://suika.suikawiki.org/~wakaba/wiki/sw/n/manakai++DOM%20Extensions>
.
SEE ALSO
AUTHOR
Wakaba <wakaba@suikawiki.org>.
LICENSE
Copyright 2012-2013 Wakaba <wakaba@suikawiki.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.