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
MAIN := directive* beginDocument ELEM* endDocument
ELEM := beginElement serial? (beginAttribute ( primitive | reference | ELEM )* endAttribute) endElement
- Author:
- akuhn
- See Also:
Parser
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)