Class ObjectTypeNodeParser


  • public class ObjectTypeNodeParser
    extends Object
    This class is used for reading an ObjectTypeNode using callbacks.

    The user defines a number of callback methods in a NetworkHandler that will be called when events occur during parsing. The events include :

  • ObjectTypeNode
  • Non-hashed and hashed AlphaNodes
  • BetaNodes
  • LeftInputAdapterNodes
  • Events are fired when each of these network features are encountered, and again when the end of them is encountered. OTN parsing is unidirectional; previously parsed data cannot be re-read without starting the parsing operation again.