Package com.complexible.common.rdf.rio

# Interface RDFStatementList

public interface RDFStatementList
List of statements with an optional context value that will override any context defined by the individual statement objects.

Since:
  2.0.1
Version:
  6.0
Author:
  Evren Sirin

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final RDFStatementList`
  `EMPTY`
  Immutable empty list

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Resource`
  `getContext()`
  Returns the default context associated with this statement list or `null` if there is no default context.
  `int`
  `size()`
  Returns the number of valid entries in the `statements`.
  `Statement[]`
  `statements()`
  Statements in this list but only the values before the `size()` index should be used.

- ## Field Details

  - ### EMPTY

    static final RDFStatementList EMPTY
    Immutable empty list

- ## Method Details

  - ### statements

    Statement[] statements()
    Statements in this list but only the values before the `size()` index should be used.

  - ### size

    int size()
    Returns the number of valid entries in the `statements`. No statement beyond this index should be used.

  - ### getContext

    Resource getContext()
    Returns the default context associated with this statement list or `null` if there is no default context.