Module: dom-internals Synopsis: Document Object Model Author: Scott McKay Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc. All rights reserved. License: Functional Objects Library Public License Version 1.0 Dual-license: GNU Lesser General Public License Warranty: Distributed WITHOUT WARRANTY OF ANY KIND /// DOM strings // // typedef sequence DOMString; // define constant = ; /// DOM timestamps // // typedef unsigned long long DOMTimeStamp; // define constant = ; /// DOM keys // // typedef Object DOMKey; // define constant = ; /// Exceptions // exception DOMException { // unsigned short code; // }; // // const unsigned short INDEX_SIZE_ERR = 1; // const unsigned short DOMSTRING_SIZE_ERR = 2; // const unsigned short HIERARCHY_REQUEST_ERR = 3; // const unsigned short WRONG_DOCUMENT_ERR = 4; // const unsigned short INVALID_CHARACTER_ERR = 5; // const unsigned short NO_DATA_ALLOWED_ERR = 6; // const unsigned short NO_MODIFICATION_ALLOWED_ERR = 7; // const unsigned short NOT_FOUND_ERR = 8; // const unsigned short NOT_SUPPORTED_ERR = 9; // const unsigned short INUSE_ATTRIBUTE_ERR = 10; // const unsigned short INVALID_STATE_ERR = 11; // const unsigned short SYNTAX_ERR = 12; // const unsigned short INVALID_MODIFICATION_ERR = 13; // const unsigned short NAMESPACE_ERR = 14; // const unsigned short INVALID_ACCESS_ERR = 15; // define open abstract class (, ) sealed each-subclass slot exception-code :: = 0, init-keyword: code:; end class ; define sealed domain make (subclass()); define sealed domain initialize (); define constant $index-size-error :: = 1; define constant $string-size-error :: = 2; define constant $hierarchy-request-error :: = 3; define constant $wrong-document-error :: = 4; define constant $invalid-character-error :: = 5; define constant $no-data-allowed-error :: = 6; define constant $no-modification-allowed-error :: = 7; define constant $not-found-error :: = 8; define constant $not-supported-error :: = 9; define constant $inuse-attribute-error :: = 10; define constant $invalid-state-error :: = 11; define constant $syntax-error :: = 12; define constant $invalid-modification-error :: = 13; define constant $namespace-error :: = 14; define constant $invalid-access-error :: = 15; define sealed class () keyword code: = $index-size-error; end class ; define sealed class () keyword code: = $string-size-error; end class ; define sealed class () keyword code: = $hierarchy-request-error; end class ; define sealed class () keyword code: = $wrong-document-error; end class ; define sealed class () keyword code: = $invalid-character-error; end class ; define sealed class () keyword code: = $no-data-allowed-error; end class ; define sealed class () keyword code: = $no-modification-allowed-error; end class ; define sealed class () keyword code: = $not-found-error; end class ; define sealed class () keyword code: = $not-supported-error; end class ; define sealed class () keyword code: = $inuse-attribute-error; end class ; define sealed class () keyword code: = $invalid-state-error; end class ; define sealed class () keyword code: = $syntax-error; end class ; define sealed class () keyword code: = $invalid-modification-error; end class ; define sealed class () keyword code: = $namespace-error; end class ; define sealed class () keyword code: = $invalid-access-error; end class ;