Smalltalk/X WebserverDocumentation of class 'XML::Entity': | |
Class: Entity (in XML)Inheritance:Object | +--XML::Node | +--XML::Entity | +--XML::GeneralEntity | +--XML::ParameterEntity
Description:An XML document may consist of one or many storage units called entities. All XML entities have content and are idententified by name. Entities may be either parsed or unparsed. This class and it's subclasses GeneralEntity and ParameterEntity represent parsed entities. These entities are invoked by name using entity references and their contents are held in the text instance variable Entities may also be internal or external. If the content of the entity is given in the declaration (within the document) itself then the entity is called an internal entity. If the entity is not internal to the document and is declared elsewhere it's called an external entity. External entities have a system identifier (systemID instance variable) that is an URI which may be used to retrieve the entity. In addition to a system identifier, an external entity declaration may include a public identifier (publicID instance variable). The XMLParser may use the publicID to try to generate an alternative URI to retrive the entity's contents. Subclasses must implement the following messages: accessing entityType Instance Variables: name <XML.NodeTag> Identifies the entity in an entity referece text <String> The entity's contents systemID <String | XML.URIResolver> URI used to retrieve an external entity's contents publicID <String | XML.URIResolver> name which (theoretically) could be looked up in a catalog to generate a URI. If catalogs are supported, this should be used in preference to the systemID. Instance protocol:accessing
|
|
ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 17:07:46 GMT |