Command line shell command generation based on schema
Abstract
A code generator tool capable of creating command shell commands at compile time or runtime from a schema such as an XSD schema is provided. The code generator generates classes to represent data defined by a schema and the command shell generation code may use knowledge of the classes to generate appropriate command shell classes to manipulate the data. Plug-ins may be inserted following optimization of a model of classes generated by the code generation tool. The plug-ins can modify the model, insert their own code, or disable code generation and generate their own code from the model.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method executed at least in part in a computing device to generate automatic command shell command code based on a schema, the method comprising: receiving the schema that includes one or more of: element declarations, attribute declarations, simple type definitions and complex type definitions; reading the schema to create a model for classes that include an interface and a structure, wherein the classes validate constraints in the schema; optimizing the model to translate the schema to an application programming interface (API); and inserting a plug-in to the optimized model to generate a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (5)
- "First Office Action and Search Report Issued in Chinese Patent Applicaton No. 20110150687.3", Mailed Date: Jul. 1, 2015, 12 Pages.
- "Generating an EMF 1.1 Model using XML Schema", Retrieved at << http://www.eclipse.org/modeling/emf/docs/1.x/tutorials/xlibmod/xlibmod-emf1.1.html#step2 >>, Retrieved Date: Apr. 12, 2010, pp. 19.
- "Generating an EMF 1.1 Model using XML Schema", Retrieved at >, Retrieved Date: Apr. 12, 2010, pp. 19.
- "XML Schema Driven Code Generator", Retrieved at << http://www.altova.com/xmlspy/xml-code-generation.html >>, Retrieved Date: Apr. 12, 2010, pp. 5.
- "XML Schema Driven Code Generator", Retrieved at >, Retrieved Date: Apr. 12, 2010, pp. 5.