public List < Statement > getAllStatements ( ) { final List < Statement > ret = new LinkedList < Statement > ( ) ; for ( final StatementGroup sg : statementGroups ) { ret . addAll ( sg . getAllStatements ( ) ) ; } return ret ; }
Returns a list of all statements contained within the document .