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  keyandvalue. | 
| void | removeProperty(String key)Remove the property with the given key. | 
getItem, hasItem, iteratorforEach, spliteratorProperty addProperty(String key, Value value) throws RepositoryException
key and value.key - key of the property to addvalue - value of the property to addRepositoryExceptionvoid 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–2022 The Apache Software Foundation. All rights reserved.