Class UnoFactoryData
java.lang.Object
org.libreoffice.ide.eclipse.core.model.UnoFactoryData
This class contains the data describing a the object to create by the Uno factory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInnerData(UnoFactoryData data) Adds an inner data if it is neithernullnor already present in the inner data.voiddispose()Destroy the data content before being garbage collected.String[]getKeys()getProperty(String key) voidRemoves an inner data if it isn'tnulland already present in the inner data.voidsetProperty(String key, Object value) Add or replace the property value associated with the key.
-
Constructor Details
-
UnoFactoryData
public UnoFactoryData()
-
-
Method Details
-
setProperty
Add or replace the property value associated with the key. Nothing happens if the key isnullor an empty string.- Parameters:
key- the name of the propertyvalue- the value of the property
-
getProperty
- Parameters:
key- the key of the property to get.- Returns:
- the property corresponding to the key or
nullif the key is null or an empty string or if there is such a key.
-
getKeys
- Returns:
- an array of all the contained property keys
-
getInnerData
- Returns:
- an array of all the data contained by this data.
-
addInnerData
Adds an inner data if it is neithernullnor already present in the inner data.- Parameters:
data- the data to add
-
removeInnerData
Removes an inner data if it isn'tnulland already present in the inner data.- Parameters:
data- the data to remove
-
dispose
public void dispose()Destroy the data content before being garbage collected.
-