Class: JAXB2Ruby::XJC
- Inherits:
-
Object
- Object
- JAXB2Ruby::XJC
- Defined in:
- lib/jaxb2ruby/xjc.rb
Overview
:nodoc:
Constant Summary collapse
- CONFIG =
File.join(File.dirname(__FILE__), "config.xjb")
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(schema, options = {}) ⇒ XJC
constructor
A new instance of XJC.
Constructor Details
#initialize(schema, options = {}) ⇒ XJC
Returns a new instance of XJC.
11 12 13 14 15 |
# File 'lib/jaxb2ruby/xjc.rb', line 11 def initialize(schema, = {}) @schema = schema @options = setup_tmpdirs end |
Instance Method Details
#execute ⇒ Object
17 18 19 20 21 |
# File 'lib/jaxb2ruby/xjc.rb', line 17 def execute xjc javac @classes end |