public class Grammars2X extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
STATS_ON |
protected int |
statsCountStates |
protected int |
statsCountTransitions |
| Constructor and Description |
|---|
Grammars2X() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear() |
static void |
main(String[] args) |
static void |
marshal(ExiGrammars exiGrammars,
ContentHandler handler) |
static void |
marshal(ExiGrammars exiGrammars,
Result result) |
protected void |
printGrammar(com.siemens.ct.exi.core.grammars.grammar.SchemaInformedGrammar sir,
ExiGrammars.Grammars grs) |
protected void |
printGrammarProduction(com.siemens.ct.exi.core.grammars.grammar.SchemaInformedGrammar sir,
List<Production> productions) |
static com.siemens.ct.exi.core.grammars.SchemaInformedGrammars |
toGrammars(ExiGrammars exiGrammars) |
ExiGrammars |
toGrammarsX(com.siemens.ct.exi.core.grammars.SchemaInformedGrammars grammars) |
static ExiGrammars |
unmarshal(InputStream inputStream) |
static ExiGrammars |
unmarshal(Source source) |
static ExiGrammars |
unmarshal(javax.xml.stream.XMLStreamReader reader) |
public static final boolean STATS_ON
protected int statsCountTransitions
protected int statsCountStates
protected void clear()
public static void marshal(ExiGrammars exiGrammars, Result result) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic static void marshal(ExiGrammars exiGrammars, ContentHandler handler) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic static ExiGrammars unmarshal(InputStream inputStream) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic static ExiGrammars unmarshal(Source source) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic static ExiGrammars unmarshal(javax.xml.stream.XMLStreamReader reader) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic ExiGrammars toGrammarsX(com.siemens.ct.exi.core.grammars.SchemaInformedGrammars grammars) throws IOException, com.siemens.ct.exi.core.exceptions.EXIException, ParserConfigurationException, DatatypeConfigurationException
IOExceptioncom.siemens.ct.exi.core.exceptions.EXIExceptionParserConfigurationExceptionDatatypeConfigurationExceptionprotected void printGrammar(com.siemens.ct.exi.core.grammars.grammar.SchemaInformedGrammar sir,
ExiGrammars.Grammars grs)
throws IOException,
com.siemens.ct.exi.core.exceptions.EXIException
IOExceptioncom.siemens.ct.exi.core.exceptions.EXIExceptionprotected void printGrammarProduction(com.siemens.ct.exi.core.grammars.grammar.SchemaInformedGrammar sir,
List<Production> productions)
throws IOException,
com.siemens.ct.exi.core.exceptions.EXIException
IOExceptioncom.siemens.ct.exi.core.exceptions.EXIExceptionpublic static com.siemens.ct.exi.core.grammars.SchemaInformedGrammars toGrammars(ExiGrammars exiGrammars) throws com.siemens.ct.exi.core.exceptions.EXIException
com.siemens.ct.exi.core.exceptions.EXIExceptionCopyright © 2018 Siemens AG. All rights reserved.