Logo Search packages:      
Sourcecode: lib-dom-java version File versions  Download package

NamedNodeMap org::w3c::dom::DocumentType::getEntities (  ) 

A NamedNodeMap containing the general entities, both external and internal, declared in the DTD. Duplicates are discarded. For example in:

 <!DOCTYPE ex SYSTEM "ex.dtd" [
   <!ENTITY foo "foo">
   <!ENTITY bar "bar">
   <!ENTITY % baz "baz">
 ]>
 <ex/>
the interface provides access to foo and bar but not baz. Every node in this map also implements the Entity interface.
The DOM Level 1 does not support editing entities, therefore entities cannot be altered in any way.


Generated by  Doxygen 1.6.0   Back to index