public class XML2DTDGenerator extends AbstractXML2GrammarGenerator<DTDGeneratorSettings>
| Constructor and Description |
|---|
XML2DTDGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generate(Grammar grammar,
DTDGeneratorSettings settings,
XMLBuilder dtd,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Generate the grammar content from the given grammar information into the
given builder.
|
protected String |
getFileExtension()
Returns the grammar file extension (ex : xsd, dtd) to generate.
|
protected boolean |
isFlat()
Returns true if element declaration must be stored as flat mode and false
otherwise.
|
generateprotected void generate(Grammar grammar, DTDGeneratorSettings settings, XMLBuilder dtd, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
AbstractXML2GrammarGeneratorgenerate in class AbstractXML2GrammarGenerator<DTDGeneratorSettings>grammar - the grammar information.settings - the grammar settingsdtd - the XML builder to update.protected String getFileExtension()
AbstractXML2GrammarGeneratorgetFileExtension in class AbstractXML2GrammarGenerator<DTDGeneratorSettings>protected boolean isFlat()
AbstractXML2GrammarGeneratorisFlat in class AbstractXML2GrammarGenerator<DTDGeneratorSettings>Copyright © 2022. All rights reserved.