Message-ID: <185034865.13800.1711669934520.JavaMail.appbox@confluence> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_13799_1238166048.1711669934519" ------=_Part_13799_1238166048.1711669934519 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html API Changes in Structure 4.0

API Changes in Structure 4.0

1. Minor Java API Release

There are a few moderate changes comi= ng with this release. The changes are backwards-compatible, so any code usi= ng API 16.x should work fine.

JIRA Version

New API Version

7.1+

16.3.0

See Structure= API Versions for full version information and downloads.

2. Compatible Changes in the Java API

2.1. BigDecimal an= d BigInteger support for NUMBER attributes

Number attributes (see ValueFormat.NUMBER) are allowed to p= rovide instances of BigInteger and BigDecimal as = a result. The appropriate support was added to NumberAccumulator for calculating totals. We're limiting the precision of the numbers to <= code>MathContext.DECIMAL64.

Note that if your code used NUMBER attributes before and assumed that th= e result is either Long or Double, this assumptio= n may be incorrect now.

2.2. Additional methods for formatt= ing data in export API

The following methods were added to provide more power to the exporting = code:

2.3. Miscellaneous

3. <= /span>Web Items

3.1. Extendable Export Menu

We have added a new web item location that lets you insert web items int= o Structure's Export menu.

Location name: structure.export.menu

To add a menu item, declare a <web-item> in that loca= tion and declare the following sub-elements:

------=_Part_13799_1238166048.1711669934519--