|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectubiware.util.saplbuilder.StatementContainer
public abstract class StatementContainer
A collection to which Statements can be added.
| Field Summary | |
|---|---|
(package private) java.util.List<Statement> |
statements
|
| Constructor Summary | |
|---|---|
StatementContainer(int initialCapacity)
Create a StatementContainer with the specified initial capacity. |
|
| Method Summary | |
|---|---|
void |
addStatement(Statement statement)
Add a statement to the collection. |
void |
addStatement(Subject subject,
Predicate predicate,
Object object)
Same as addStatement(Statement) with a newly created Statement |
void |
addStatements(StatementContainer sc)
Add all statements in from the statement container. |
(package private) void |
generateSapl(java.lang.StringBuilder builder)
generate a s-apl representation for the statements in this collection. |
java.util.Iterator<Statement> |
iterator()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final java.util.List<Statement> statements
| Constructor Detail |
|---|
public StatementContainer(int initialCapacity)
initialCapacity - | Method Detail |
|---|
public void addStatement(Subject subject,
Predicate predicate,
Object object)
addStatement(Statement) with a newly created Statement
subject - predicate - object - public void addStatement(Statement statement)
statement - public void addStatements(StatementContainer sc)
statement - Statement container whose content will be added to this
containervoid generateSapl(java.lang.StringBuilder builder)
builder - public java.util.Iterator<Statement> iterator()
iterator in interface java.lang.Iterable<Statement>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||