Stylus Studio XML Editor

Table of contents

Appendices

A.5 New interfaces

New interfaces
DOMStringList

The DOMStringList interface has one attribute, DOMStringList.length, and one method, DOMStringList.item(index).

NameList

The NameList interface has one attribute, NameList.length, and two methods, NameList.getName(index) and NameList.getNamespaceURI(index).

DOMImplementationList

The DOMImplementationList interface has one attribute, DOMImplementationList.length, and one method, DOMImplementationList.item(index).

DOMImplementationSource

The DOMImplementationSource interface has two methods, DOMImplementationSource.getDOMImplementation(features), and DOMImplementationSource.getDOMImplementationList(features).

TypeInfo

The TypeInfo interface has two attributes, TypeInfo.typeName, and TypeInfo.typeNamespace.

UserDataHandler

The UserDataHandler interface has one method, UserDataHandler.handle(operation, key, data, src, dst), and four constants: UserDataHandler.NODE_CLONED, UserDataHandler.NODE_IMPORTED, UserDataHandler.NODE_DELETED, and UserDataHandler.NODE_RENAMED.

DOMError

The DOMError interface has six attributes: DOMError.severity, DOMError.message, DOMError.type, DOMError.relatedException, DOMError.relatedData, and DOMError.location. It has four constants: DOMError.SEVERITY_WARNING, DOMError.SEVERITY_ERROR, and DOMError.SEVERITY_FATAL_ERROR.

DOMErrorHandler

The DOMErrorHandler interface has one method: DOMErrorHandler.handleError(error).

DOMLocator

The DOMLocator interface has seven attributes: DOMLocator.lineNumber, DOMLocator.columnNumber, DOMLocator.byteOffset, DOMLocator.utf16Offset, DOMLocator.relatedNode, DOMLocator.uri, and DOMLocator.lineNumber.

DOMConfiguration

The DOMConfiguration interface has one attribute: DOMConfiguration.parameterNames. It also has three methods: DOMConfiguration.setParameter(name, value), DOMConfiguration.getParameter(name), and DOMConfiguration.canSetParameter(name, value).