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(String key,
Value value)
Add a property with the given
key and value . |
void |
removeProperty(String key)
Remove the property with the given key.
|
getItem, hasItem, iterator
forEach, spliterator
Property addProperty(String key, Value value) throws RepositoryException
key
and value
.key
- key of the property to addvalue
- value of the property to addRepositoryException
void removeProperty(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 © 2004–2024 The Apache Software Foundation. All rights reserved.