public class GrammarFactory extends Object
Grammarss from different sources.| Modifier and Type | Field and Description |
|---|---|
protected XSDGrammarsBuilder |
grammarBuilder |
| Modifier | Constructor and Description |
|---|---|
protected |
GrammarFactory() |
| Modifier and Type | Method and Description |
|---|---|
com.siemens.ct.exi.core.grammars.Grammars |
createGrammars(InputStream is)
Schema information is generated for processing the EXI body.
|
com.siemens.ct.exi.core.grammars.Grammars |
createGrammars(InputStream is,
org.apache.xerces.xni.parser.XMLEntityResolver entityResolver)
Schema information is generated for processing the EXI body.
|
com.siemens.ct.exi.core.grammars.Grammars |
createGrammars(String xsdLocation)
Schema information is generated for processing the EXI body.
|
com.siemens.ct.exi.core.grammars.Grammars |
createGrammars(String xsdLocation,
org.apache.xerces.xni.parser.XMLEntityResolver entityResolver)
Schema information is generated for processing the EXI body.
|
com.siemens.ct.exi.core.grammars.Grammars |
createSchemaLessGrammars()
No schema information is used for processing the EXI body (i.e. a
schema-less EXI stream)
|
com.siemens.ct.exi.core.grammars.Grammars |
createXSDTypesOnlyGrammars()
No user defined schema information is generated for processing the EXI
body; however, the built-in XML schema types are available for use in the
EXI body.
|
static GrammarFactory |
newInstance()
Create grammar factory instance.
|
protected XSDGrammarsBuilder grammarBuilder
public static GrammarFactory newInstance()
public com.siemens.ct.exi.core.grammars.Grammars createGrammars(String xsdLocation) throws com.siemens.ct.exi.core.exceptions.EXIException
xsdLocation - file locationcom.siemens.ct.exi.core.exceptions.EXIException - EXI exceptionpublic com.siemens.ct.exi.core.grammars.Grammars createGrammars(String xsdLocation, org.apache.xerces.xni.parser.XMLEntityResolver entityResolver) throws com.siemens.ct.exi.core.exceptions.EXIException
xsdLocation - file locationentityResolver - application can register XSD resolvercom.siemens.ct.exi.core.exceptions.EXIException - EXI exceptionpublic com.siemens.ct.exi.core.grammars.Grammars createGrammars(InputStream is) throws com.siemens.ct.exi.core.exceptions.EXIException
is - input streamcom.siemens.ct.exi.core.exceptions.EXIException - EXI exceptionpublic com.siemens.ct.exi.core.grammars.Grammars createGrammars(InputStream is, org.apache.xerces.xni.parser.XMLEntityResolver entityResolver) throws com.siemens.ct.exi.core.exceptions.EXIException
is - input streamentityResolver - application can register XSD resolvercom.siemens.ct.exi.core.exceptions.EXIException - EXI exceptionpublic com.siemens.ct.exi.core.grammars.Grammars createXSDTypesOnlyGrammars()
throws com.siemens.ct.exi.core.exceptions.EXIException
com.siemens.ct.exi.core.exceptions.EXIException - EXI exceptionpublic com.siemens.ct.exi.core.grammars.Grammars createSchemaLessGrammars()
Copyright © 2018 Siemens AG. All rights reserved.