public interface PropertySequence extends Sequence<Property>
Sequence<Property>
which provides methods
for adding and removing properties by key.Modifier and Type | Method and Description |
---|---|
Property |
addProperty(java.lang.String key,
Value value)
Add a property with the given
key and value . |
void |
removeProperty(java.lang.String key)
Remove the property with the given key.
|
Property addProperty(java.lang.String key, Value value) throws RepositoryException
key
and value
.key
- key of the property to addvalue
- value of the property to addRepositoryException
void removeProperty(java.lang.String key) throws RepositoryException
key
- The key of the property to removeRepositoryException
- If there is no property with such a key or
another error occurs."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"