This interface specifies how the parser and the application interact with respect to Grammar objects that the application possesses--either by having precompiled them or by having stored them from a previous validation of an instance document. It makes no assumptions about the kind of Grammar involved, or about how the application's storage mechanism works.
The interaction works as follows:
retrieveInitialGrammarSet
method. retrieveGrammar
method. cacheGrammars
method; for ease of implementation it may make other Grammars it holds references to as well (i.e., it may return some grammars that were retrieved from the GrammarPool in earlier operations). This interface specifies how the parser and the application interact with respect to Grammar objects that the application possesses--either by having precompiled them or by having stored them from a previous validation of an instance document. It makes no assumptions about the kind of Grammar involved, or about how the application's storage mechanism works.
The interaction works as follows:
retrieveInitialGrammarSet
method. retrieveGrammar
method. cacheGrammars
method; for ease of implementation it may make other Grammars it holds references to as well (i.e., it may return some grammars that were retrieved from the GrammarPool in earlier operations). This interface specifies how the parser and the application interact with respect to Grammar objects that the application possesses--either by having precompiled them or by having stored them from a previous validation of an instance document. It makes no assumptions about the kind of Grammar involved, or about how the application's storage mechanism works.
The interaction works as follows:
retrieveInitialGrammarSet
method. retrieveGrammar
method. cacheGrammars
method; for ease of implementation it may make other Grammars it holds references to as well (i.e., it may return some grammars that were retrieved from the GrammarPool in earlier operations).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|