public class SchemaLessGrammars extends AbstractGrammars
documentGrammar, fragmentGrammar| Constructor and Description |
|---|
SchemaLessGrammars() |
| Modifier and Type | Method and Description |
|---|---|
Grammar |
getFragmentGrammar() |
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.
|
void |
setSchemaId(String schemaId)
Sets the schemaId passed to EXI decoder.
|
equals, getDocumentGrammar, getGrammarContext, isSchemaInformedpublic final boolean isBuiltInXMLSchemaTypesOnly()
GrammarsNote: the grammar is schema-informed also (see isSchemaInformed())
public final String getSchemaId()
GrammarsAn example schemaID scheme is the use of URI that is apt for globally identifying schema resources on the Web.
public void setSchemaId(String schemaId) throws UnsupportedOption
GrammarsNote: 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)public Grammar getFragmentGrammar()
Copyright © 2018 Siemens AG. All rights reserved.