org.modeldriven.fuml.io
Class BasicElementReader

java.lang.Object
  extended by org.modeldriven.fuml.io.ElementReader
      extended by org.modeldriven.fuml.io.BasicElementReader
All Implemented Interfaces:
EventListener, StreamEventListener, StreamNodeListener

public class BasicElementReader
extends ElementReader
implements StreamNodeListener


Constructor Summary
BasicElementReader()
           
 
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.
 
Methods inherited from class org.modeldriven.fuml.io.ElementReader
addElementAssemblerEventListener, addElementReaderEventListener, addValidationEventListener, removeElementAssemblerEventListener, removeElementReaderEventListener, removeValidationEventListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicElementReader

public BasicElementReader()
Method Detail

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.