org.openexi.proc
Interface EXISchemaResolver


public interface EXISchemaResolver

Developers have the option of implementing the EXISchemaResolver interface to help EXIReader and EXIDecoder locate the correct grammar cache for parsing an EXI stream.


Method Summary
 GrammarCache resolveSchema(java.lang.String schemaId, short grammarOptions)
          Return a GrammarCache based on a schemaId and grammar options discovered in the header options of an EXI stream.
 

Method Detail

resolveSchema

GrammarCache resolveSchema(java.lang.String schemaId,
                           short grammarOptions)
Return a GrammarCache based on a schemaId and grammar options discovered in the header options of an EXI stream.

Parameters:
schemaId - the specific schema used to decode an EXI stream
grammarOptions - the specific grammar options used to decode an EXI stream
Returns:
a GrammarCache object