ch.akuhn.fame.parser
Interface ParseClient

All Known Implementing Classes:
AbstractParserClient, AbstractPrintClient, Importer, Inferencer, MSEPrinter, PrototypeBuilder, RepositoryBuilder

public interface ParseClient

Interface for reading MSE documents using callbacks. This interface allows an application to register for MSE document parsing. The sequence of callbacks is limited to the following protocol

Author:
akuhn
See Also:
Parser

Method Summary
 void beginAttribute(String name)
           
 void beginDocument()
           
 void beginElement(String name)
           
 void directive(String name, String... params)
           
 void endAttribute(String name)
           
 void endDocument()
           
 void endElement(String name)
           
 void primitive(Object value)
           
 void reference(int index)
           
 void reference(String name)
           
 void reference(String name, int index)
           
 void serial(int index)
           
 

Method Detail

beginAttribute

void beginAttribute(String name)

beginDocument

void beginDocument()

beginElement

void beginElement(String name)

directive

void directive(String name,
               String... params)

endAttribute

void endAttribute(String name)

endDocument

void endDocument()

endElement

void endElement(String name)

primitive

void primitive(Object value)

reference

void reference(int index)

reference

void reference(String name)

reference

void reference(String name,
               int index)

serial

void serial(int index)