|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sinks are PipeElement
which receive properties in
streaming mode. A pipe element that is both a Sink and a
Source
is called a Filter
.
PipeElement
,
Filter
,
Source
Method Summary | |
void |
addLeaf(Name role,
Name nature,
java.lang.Object value)
Pour a new LeafProperty into the sink. |
void |
endProperty()
Declares to the sink the end of the current ComplexProperty . |
void |
startProperty(Name role,
Name nature)
Start pouring a new ComplexProperty into the sink. |
Methods inherited from interface org.treebind.PipeElement |
getPipe, setPipe |
Method Detail |
public void startProperty(Name role, Name nature) throws java.lang.Exception
ComplexProperty
into the sink.
role
- the role of the propertynature
- the nature of the property
java.lang.Exception
- when anything goes wrongpublic void addLeaf(Name role, Name nature, java.lang.Object value) throws java.lang.Exception
LeafProperty
into the sink.
role
- role the role of the propertynature
- nature the nature of the propertyvalue
- value of the property
java.lang.Exception
- when anything goes wrongpublic void endProperty() throws java.lang.Exception
ComplexProperty
.
java.lang.Exception
- when anything goes wrong
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |