public interface Bag extends Container
This interface defines methods for accessing RDF Bag resources. These methods operate on the RDF statements contained in a model. The Bag implementation may cache state from the underlying model, so objects should not be added to or removed to/from the Bag by directly manipulating its properties, whilst the Bag is being accessed through this interface.
When a member is deleted from a Bag using this interface, or an iterator returned through this interface, all the other members with higher ordinals are renumbered using an implementation dependent algorithm.
Modifier and Type | Method and Description |
---|---|
Container |
remove(Statement s)
Remove a value from the container.
|
add, add, add, add, add, add, add, add, add, contains, contains, contains, contains, contains, contains, contains, contains, contains, isAlt, isBag, isSeq, iterator, size
abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toString
as, asLiteral, asResource, canAs, getModel, isAnon, isLiteral, isResource, isURIResource, visitWith
asNode
Licenced under the Apache License, Version 2.0