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

The open document object.
## Constructors

| Constructor | Description |
| --- | --- |
| [OdObject(OdObject parent)](#OdObject-com.aspose.imaging.fileformats.opendocument.OdObject-) | Initializes a new instance of the `OdObject` class. |
| [OdObject()](#OdObject--) | Initializes a new instance of the `OdObject` class. |
## Methods

| Method | Description |
| --- | --- |
| [getParent()](#getParent--) | Gets the parent object. |
| [getItems()](#getItems--) | Gets the items. |
### OdObject(OdObject parent) {#OdObject-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdObject(OdObject parent)
```


Initializes a new instance of the `OdObject` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| parent | [OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject) | The parent. |

### OdObject() {#OdObject--}
```
public OdObject()
```


Initializes a new instance of the `OdObject` class.

### getParent() {#getParent--}
```
public OdObject getParent()
```


Gets the parent object.

**Returns:**
[OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject) - The parent.
### getItems() {#getItems--}
```
public List<OdObject> getItems()
```


Gets the items.

**Returns:**
java.util.List<com.aspose.imaging.fileformats.opendocument.OdObject> - The items.
