org.modeldriven.fuml.io
Class BasicElementReader
java.lang.Object
org.modeldriven.fuml.io.ElementReader
org.modeldriven.fuml.io.BasicElementReader
- All Implemented Interfaces:
- EventListener, StreamEventListener, StreamNodeListener
public class BasicElementReader
- extends ElementReader
- implements StreamNodeListener
|
Method Summary |
String[] |
getElementNames()
Returns the element (local) names of interest for this listener. |
void |
nodeCompleted(StreamNodeEvent event)
A listener operation called when a node of interest has
been encounterd within the stream and allocated in memory. |
void |
nodeCreated(StreamNodeEvent event)
A listener operation called when a node of interest and all "child" nodes
have been completely allocated. |
BasicElementReader
public BasicElementReader()
getElementNames
public String[] getElementNames()
- Description copied from interface:
StreamEventListener
- Returns the element (local) names of interest for this listener.
- Specified by:
getElementNames in interface StreamEventListener
- Returns:
- the element (local) names of interest for this listener.
nodeCreated
public void nodeCreated(StreamNodeEvent event)
- Description copied from interface:
StreamNodeListener
- A listener operation called when a node of interest and all "child" nodes
have been completely allocated.
- Specified by:
nodeCreated in interface StreamNodeListener
- Parameters:
event - the node event
nodeCompleted
public void nodeCompleted(StreamNodeEvent event)
- Description copied from interface:
StreamNodeListener
- A listener operation called when a node of interest has
been encounterd within the stream and allocated in memory.
- Specified by:
nodeCompleted in interface StreamNodeListener
- Parameters:
event - the node event
Copyright © 2012. All Rights Reserved.