XmpProperty
Vue de l’ensemble
‘XmpProperty’ est une classe dans Aspose.PDF FOSS pour Java.
La représentation interne d’une valeur propriété XMP.
Cette classe fournit 14 méthodes pour travailler avec des objets XmpProperty dans les programmes Java. Les méthodologies disponibles comprennent: ‘XmpPropriété’, ‘addArrayItem’, addLangAltEntry', ‘getArryItems’, 'getKey', ’getLanguAlTEntries', ‚getStructFields’, ‘ghetType’, ’ getValue’, setArayItem’, ‚setLANGAlttEntries’, et 2 méthode supplémentaires. Tous les membres publics sont accessibles à toute application Java après l’installation de l’Aspose.PDF FOSS pour le package Java, propriétés : ‘arrayItemes’,key,AllangtEntris ,structtypes,‘value.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
key | String | Read | Returns the property key. |
value | String | Read | Returns the simple string value (or x-default for lang-alt, first item for arrays). |
type | ValueType | Read | Returns the value type. |
arrayItems | List<String> | Read | Returns array items (for SEQ/BAG types). |
langAltEntries | List<LangAltEntry> | Read | Returns language alternative entries (for LANG_ALT type). |
structFields | List<XmpProperty> | Read | Returns structure fields (for STRUCT type). |
méthodes
| Signature | Description |
|---|---|
XmpProperty(key: String, value: String, type: ValueType) | Creates a simple text property. |
getKey() → String | Returns the property key. |
getValue() → String | Returns the simple string value (or x-default for lang-alt, first item for arrays). |
setValue(value: String) | Sets the simple string value. |
getType() → ValueType | Returns the value type. |
setType(type: ValueType) | Sets the value type. |
getArrayItems() → List<String> | Returns array items (for SEQ/BAG types). |
setArrayItems(items: List<String>) | Sets array items. |
getLangAltEntries() → List<LangAltEntry> | Returns language alternative entries (for LANG_ALT type). |
setLangAltEntries(entries: List<LangAltEntry>) | Sets language alternative entries. |
getStructFields() → List<XmpProperty> | Returns structure fields (for STRUCT type). |
setStructFields(fields: List<XmpProperty>) | Sets structure fields. |
addArrayItem(item: String) | Adds an array item. |
addLangAltEntry(lang: String, text: String) | Adds a language alternative entry. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise