|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openexi.proc.grammars.GrammarCache
public final class GrammarCache
A GrammarCache object represents a set of EXI grammars used for processing EXI streams using specific grammar options. The GrammarCache is passed as an argument to the EXIReader and Transmogrifier prior to processing an EXI stream.
Field Summary | |
---|---|
short |
grammarOptions
Short integer that encapsulates GrammarOptions
for the EXI stream. |
Constructor Summary | |
---|---|
GrammarCache(EXISchema schema)
Creates an instance of GrammarCache informed by a schema with default grammar options. |
|
GrammarCache(EXISchema schema,
short grammarOptions)
Creates an instance of GrammarCache informed by a schema with the specified grammar options. |
|
GrammarCache(short grammarOptions)
Creates an instance of GrammarCache with the specified grammar options. |
Method Summary | |
---|---|
EXISchema |
getEXISchema()
Gets the compiled EXI Schema. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.openexi.proc.common.IGrammarCache |
---|
getElementGrammarUse |
Field Detail |
---|
public final short grammarOptions
GrammarOptions
for the EXI stream.
Constructor Detail |
---|
public GrammarCache(EXISchema schema)
EXISchema
- compiled schemapublic GrammarCache(short grammarOptions)
grammarOptions
- integer value that represents a grammar option configurationpublic GrammarCache(EXISchema schema, short grammarOptions)
EXISchema
- compiled schemagrammarOptions
- integer value that represents a grammar option configurationMethod Detail |
---|
public EXISchema getEXISchema()
getEXISchema
in interface org.openexi.proc.common.IGrammarCache
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |