public interface Grammars
| Modifier and Type | Method and Description |
|---|---|
Grammar |
getDocumentGrammar() |
Grammar |
getFragmentGrammar() |
GrammarContext |
getGrammarContext() |
String |
getSchemaId()
The schemaID option may be used to identify the schema information used
for processing the EXI body.
|
boolean |
isBuiltInXMLSchemaTypesOnly()
The built-in XML schema types are available.
|
boolean |
isSchemaInformed()
Schema information is used to create grammar.
|
void |
setSchemaId(String schemaId)
Sets the schemaId passed to EXI decoder.
|
boolean isSchemaInformed()
String getSchemaId()
An example schemaID scheme is the use of URI that is apt for globally identifying schema resources on the Web.
void setSchemaId(String schemaId) throws UnsupportedOption
Note: Schema-less or XML-types grammars have a schema id associated with them (null and empty string).
schemaId - schemaIdUnsupportedOption - if schemaId does not respect EXI restrictions (e.g.,
schema-less grammars: schemaId == null)boolean isBuiltInXMLSchemaTypesOnly()
Note: the grammar is schema-informed also (see isSchemaInformed())
Grammar getDocumentGrammar()
Grammar getFragmentGrammar()
GrammarContext getGrammarContext()
Copyright © 2018 Siemens AG. All rights reserved.