
**Inheritance:**
java.lang.Object
```
public class XarSaveOptions
```

Options for saving a xar archive.
## Constructors

| Constructor | Description |
| --- | --- |
| [XarSaveOptions()](#XarSaveOptions--) |  |
## Methods

| Method | Description |
| --- | --- |
| [getEventsBag()](#getEventsBag--) | Gets container of events raising on archive saving. |
| [setEventsBag(EventsBagXar value)](#setEventsBag-com.aspose.zip.EventsBagXar-) | Sets container of events raising on archive saving. |
### XarSaveOptions() {#XarSaveOptions--}
```
public XarSaveOptions()
```


### getEventsBag() {#getEventsBag--}
```
public final EventsBagXar getEventsBag()
```


Gets container of events raising on archive saving.

**Returns:**
[EventsBagXar](../../com.aspose.zip/eventsbagxar) - the container of events raising on archive saving
### setEventsBag(EventsBagXar value) {#setEventsBag-com.aspose.zip.EventsBagXar-}
```
public final void setEventsBag(EventsBagXar value)
```


Sets container of events raising on archive saving.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [EventsBagXar](../../com.aspose.zip/eventsbagxar) | the container of events raising on archive saving |

