Skip navigation links

Introduction

This document lists changes made to the Extansible Abstract Model (XAM).


Index of APIs

Incompatible changes by date

Fuller descriptions of all changes can be found below (follow links).

Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.

All changes by date

Changes by version

These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:

OpenIDE-Module-Module-Dependencies: org.netbeans.modules.xml.xam/1 > 1.20

Changes by affected class

org.netbeans.modules.xml.xam.AbstractComponent

org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent

org.netbeans.modules.xml.xam.dom.AbstractDocumentModel

org.netbeans.modules.xml.xam.dom.DocumentComponent2

org.netbeans.modules.xml.xam.dom.DocumentModelAccess2


Details of all changes by API and date


Extansible Abstract Model (XAM)

Method AbstractDocumentModel.prepareChangeInfo() is replaced with a new one.

Dec 11 '12; API spec. version: 1.22; affected top-level classes: AbstractDocumentComponent DocumentComponent2 DocumentModelAccess2; made by: mkleint; issues: #223226
Introduced DocumentComponent2 and DocumentModelAccess2 to provide additional method findEndPosition() to get the end position of the object representation in document. It's complimentary to existing findPosition

Method AbstractDocumentModel.prepareChangeInfo() is replaced with a new one.

May 19 '10; API spec. version: 1.11.0; affected top-level classes: AbstractDocumentModel; made by: supernikita; issues: #166177
The modufication is necessary for fixing issue #166177. The old method AbstractDocumentModel.prepareChangeInfo(List) is marked as deprecated and a new one AbstractDocumentModel.prepareChangeInfo(List, List) is created. The new one contains additional parameter nsContextPathToRoot, which is necessary for correct calculation of namespace context after deletion of namespace prefix. See the issue for details.

Two new methods to enhance model's performance

Jul 30 '09; API spec. version: 1.6.1; affected top-level classes: AbstractComponent; made by: supernikita; issues: #169510
Two new methods are added:

They are intended to be used instead of getChildren() in cases when the children's list isn't required. It helps impove performance.