001// SECTION-START[License Header] 002// <editor-fold defaultstate="collapsed" desc=" Generated License "> 003/* 004 * Java Object Management and Configuration 005 * Copyright (C) Christian Schulte, 2005-206 006 * All rights reserved. 007 * 008 * Redistribution and use in source and binary forms, with or without 009 * modification, are permitted provided that the following conditions 010 * are met: 011 * 012 * o Redistributions of source code must retain the above copyright 013 * notice, this list of conditions and the following disclaimer. 014 * 015 * o Redistributions in binary form must reproduce the above copyright 016 * notice, this list of conditions and the following disclaimer in 017 * the documentation and/or other materials provided with the 018 * distribution. 019 * 020 * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 021 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 022 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 023 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, 024 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 025 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 026 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 027 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 028 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 029 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 030 * 031 * $JOMC: ShowModelCommand.java 4712 2013-01-02 13:56:12Z schulte $ 032 * 033 */ 034// </editor-fold> 035// SECTION-END 036package org.jomc.cli.commands; 037 038import java.io.File; 039import java.io.IOException; 040import java.io.StringWriter; 041import java.util.logging.Level; 042import javax.xml.bind.JAXBContext; 043import javax.xml.bind.JAXBException; 044import javax.xml.bind.Marshaller; 045import javax.xml.bind.util.JAXBSource; 046import javax.xml.transform.Source; 047import org.apache.commons.cli.CommandLine; 048import org.jomc.cli.commands.AbstractModletCommand.CommandLineClassLoader; 049import org.jomc.model.Instance; 050import org.jomc.model.Module; 051import org.jomc.model.Modules; 052import org.jomc.model.Specification; 053import org.jomc.model.modlet.ModelHelper; 054import org.jomc.modlet.Model; 055import org.jomc.modlet.ModelContext; 056import org.jomc.modlet.ModelException; 057import org.jomc.modlet.ModelValidationReport; 058import org.jomc.modlet.ObjectFactory; 059 060// SECTION-START[Documentation] 061// <editor-fold defaultstate="collapsed" desc=" Generated Documentation "> 062/** 063 * JOMC ⁑ CLI ⁑ {@code show-model} command implementation. 064 * 065 * <dl> 066 * <dt><b>Identifier:</b></dt><dd>JOMC ⁑ CLI ⁑ Default show-model Command</dd> 067 * <dt><b>Name:</b></dt><dd>JOMC ⁑ CLI ⁑ Default show-model Command</dd> 068 * <dt><b>Specifications:</b></dt> 069 * <dd>JOMC ⁑ CLI ⁑ Command @ 1.0</dd> 070 * <dt><b>Abstract:</b></dt><dd>No</dd> 071 * <dt><b>Final:</b></dt><dd>No</dd> 072 * <dt><b>Stateless:</b></dt><dd>No</dd> 073 * </dl> 074 * 075 * @author <a href="mailto:cs@schulte.it">Christian Schulte</a> 1.0 076 * @version 1.4 077 */ 078// </editor-fold> 079// SECTION-END 080// SECTION-START[Annotations] 081// <editor-fold defaultstate="collapsed" desc=" Generated Annotations "> 082@javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 083// </editor-fold> 084// SECTION-END 085public final class ShowModelCommand extends AbstractModelCommand 086{ 087 // SECTION-START[Command] 088 // SECTION-END 089 // SECTION-START[ShowModelCommand] 090 091 protected void executeCommand( final CommandLine commandLine ) throws CommandExecutionException 092 { 093 if ( commandLine == null ) 094 { 095 throw new NullPointerException( "commandLine" ); 096 } 097 098 CommandLineClassLoader classLoader = null; 099 boolean suppressExceptionOnClose = true; 100 101 try 102 { 103 classLoader = new CommandLineClassLoader( commandLine ); 104 final ModelContext context = this.createModelContext( commandLine, classLoader ); 105 final Model model = this.getModel( context, commandLine ); 106 final JAXBContext jaxbContext = context.createContext( model.getIdentifier() ); 107 final Marshaller marshaller = context.createMarshaller( model.getIdentifier() ); 108 final Source source = new JAXBSource( jaxbContext, new ObjectFactory().createModel( model ) ); 109 final ModelValidationReport validationReport = context.validateModel( model.getIdentifier(), source ); 110 final Modules modules = ModelHelper.getModules( model ); 111 this.log( validationReport, marshaller ); 112 113 if ( !validationReport.isModelValid() ) 114 { 115 throw new CommandExecutionException( this.getInvalidModelMessage( 116 this.getLocale(), this.getModel( commandLine ) ) ); 117 118 } 119 120 final Model displayModel = new Model(); 121 displayModel.setIdentifier( model.getIdentifier() ); 122 123 boolean displayModules = true; 124 125 if ( commandLine.hasOption( this.getImplementationOption().getOpt() ) ) 126 { 127 final String identifier = commandLine.getOptionValue( this.getImplementationOption().getOpt() ); 128 final Instance instance = modules != null ? modules.getInstance( identifier ) : null; 129 displayModules = false; 130 131 if ( instance != null ) 132 { 133 displayModel.getAny().add( new org.jomc.model.ObjectFactory().createInstance( instance ) ); 134 } 135 else if ( this.isLoggable( Level.WARNING ) ) 136 { 137 this.log( Level.WARNING, this.getImplementationNotFoundWarning( 138 this.getLocale(), identifier ), null ); 139 140 } 141 } 142 143 if ( commandLine.hasOption( this.getSpecificationOption().getOpt() ) ) 144 { 145 final String identifier = commandLine.getOptionValue( this.getSpecificationOption().getOpt() ); 146 final Specification specification = modules != null ? modules.getSpecification( identifier ) : null; 147 displayModules = false; 148 149 if ( specification != null ) 150 { 151 displayModel.getAny().add( 152 new org.jomc.model.ObjectFactory().createSpecification( specification ) ); 153 154 } 155 else if ( this.isLoggable( Level.WARNING ) ) 156 { 157 this.log( Level.WARNING, this.getSpecificationNotFoundWarning( 158 this.getLocale(), identifier ), null ); 159 160 } 161 } 162 163 if ( commandLine.hasOption( this.getModuleNameOption().getOpt() ) ) 164 { 165 final String moduleName = commandLine.getOptionValue( this.getModuleNameOption().getOpt() ); 166 final Module m = modules != null ? modules.getModule( moduleName ) : null; 167 displayModules = false; 168 169 if ( m != null ) 170 { 171 displayModel.getAny().add( new org.jomc.model.ObjectFactory().createModule( m ) ); 172 } 173 else if ( this.isLoggable( Level.WARNING ) ) 174 { 175 this.log( Level.WARNING, this.getModuleNotFoundWarning( this.getLocale(), moduleName ), null ); 176 } 177 } 178 179 if ( displayModules ) 180 { 181 ModelHelper.setModules( displayModel, modules ); 182 } 183 184 marshaller.setProperty( Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE ); 185 186 if ( commandLine.hasOption( this.getDocumentEncodingOption().getOpt() ) ) 187 { 188 marshaller.setProperty( Marshaller.JAXB_ENCODING, 189 commandLine.getOptionValue( this.getDocumentEncodingOption().getOpt() ) ); 190 191 } 192 193 if ( commandLine.hasOption( this.getDocumentOption().getOpt() ) ) 194 { 195 final File documentFile = new File( commandLine.getOptionValue( this.getDocumentOption().getOpt() ) ); 196 197 if ( this.isLoggable( Level.INFO ) ) 198 { 199 this.log( Level.INFO, this.getWriteInfo( this.getLocale(), documentFile.getAbsolutePath() ), null ); 200 } 201 202 marshaller.marshal( new ObjectFactory().createModel( displayModel ), documentFile ); 203 } 204 else if ( this.isLoggable( Level.INFO ) ) 205 { 206 final StringWriter stringWriter = new StringWriter(); 207 marshaller.marshal( new ObjectFactory().createModel( displayModel ), stringWriter ); 208 this.log( Level.INFO, stringWriter.toString(), null ); 209 } 210 211 suppressExceptionOnClose = false; 212 } 213 catch ( final JAXBException e ) 214 { 215 String message = getExceptionMessage( e ); 216 if ( message == null ) 217 { 218 message = getExceptionMessage( e.getLinkedException() ); 219 } 220 221 throw new CommandExecutionException( message, e ); 222 } 223 catch ( final ModelException e ) 224 { 225 throw new CommandExecutionException( getExceptionMessage( e ), e ); 226 } 227 finally 228 { 229 try 230 { 231 if ( classLoader != null ) 232 { 233 classLoader.close(); 234 } 235 } 236 catch ( final IOException e ) 237 { 238 if ( suppressExceptionOnClose ) 239 { 240 this.log( Level.SEVERE, getExceptionMessage( e ), e ); 241 } 242 else 243 { 244 throw new CommandExecutionException( getExceptionMessage( e ), e ); 245 } 246 } 247 } 248 } 249 250 // SECTION-END 251 // SECTION-START[Constructors] 252 // <editor-fold defaultstate="collapsed" desc=" Generated Constructors "> 253 /** Creates a new {@code ShowModelCommand} instance. */ 254 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 255 public ShowModelCommand() 256 { 257 // SECTION-START[Default Constructor] 258 super(); 259 // SECTION-END 260 } 261 // </editor-fold> 262 // SECTION-END 263 // SECTION-START[Dependencies] 264 // <editor-fold defaultstate="collapsed" desc=" Generated Dependencies "> 265 /** 266 * Gets the {@code <Classpath Option>} dependency. 267 * <p> 268 * This method returns the {@code <JOMC ⁑ CLI ⁑ Classpath Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 269 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 270 * </p> 271 * <dl> 272 * <dt><b>Final:</b></dt><dd>No</dd> 273 * </dl> 274 * @return The {@code <Classpath Option>} dependency. 275 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 276 */ 277 @SuppressWarnings("unused") 278 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 279 private org.apache.commons.cli.Option getClasspathOption() 280 { 281 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Classpath Option" ); 282 assert _d != null : "'Classpath Option' dependency not found."; 283 return _d; 284 } 285 /** 286 * Gets the {@code <Document Encoding Option>} dependency. 287 * <p> 288 * This method returns the {@code <JOMC ⁑ CLI ⁑ Document Encoding Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 289 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 290 * </p> 291 * <dl> 292 * <dt><b>Final:</b></dt><dd>No</dd> 293 * </dl> 294 * @return The {@code <Document Encoding Option>} dependency. 295 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 296 */ 297 @SuppressWarnings("unused") 298 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 299 private org.apache.commons.cli.Option getDocumentEncodingOption() 300 { 301 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Document Encoding Option" ); 302 assert _d != null : "'Document Encoding Option' dependency not found."; 303 return _d; 304 } 305 /** 306 * Gets the {@code <Document Option>} dependency. 307 * <p> 308 * This method returns the {@code <JOMC ⁑ CLI ⁑ Document Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 309 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 310 * </p> 311 * <dl> 312 * <dt><b>Final:</b></dt><dd>No</dd> 313 * </dl> 314 * @return The {@code <Document Option>} dependency. 315 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 316 */ 317 @SuppressWarnings("unused") 318 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 319 private org.apache.commons.cli.Option getDocumentOption() 320 { 321 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Document Option" ); 322 assert _d != null : "'Document Option' dependency not found."; 323 return _d; 324 } 325 /** 326 * Gets the {@code <Documents Option>} dependency. 327 * <p> 328 * This method returns the {@code <JOMC ⁑ CLI ⁑ Documents Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 329 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 330 * </p> 331 * <dl> 332 * <dt><b>Final:</b></dt><dd>No</dd> 333 * </dl> 334 * @return The {@code <Documents Option>} dependency. 335 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 336 */ 337 @SuppressWarnings("unused") 338 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 339 private org.apache.commons.cli.Option getDocumentsOption() 340 { 341 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Documents Option" ); 342 assert _d != null : "'Documents Option' dependency not found."; 343 return _d; 344 } 345 /** 346 * Gets the {@code <Implementation Option>} dependency. 347 * <p> 348 * This method returns the {@code <JOMC ⁑ CLI ⁑ Implementation Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 349 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 350 * </p> 351 * <dl> 352 * <dt><b>Final:</b></dt><dd>No</dd> 353 * </dl> 354 * @return The {@code <Implementation Option>} dependency. 355 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 356 */ 357 @SuppressWarnings("unused") 358 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 359 private org.apache.commons.cli.Option getImplementationOption() 360 { 361 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Implementation Option" ); 362 assert _d != null : "'Implementation Option' dependency not found."; 363 return _d; 364 } 365 /** 366 * Gets the {@code <Locale>} dependency. 367 * <p> 368 * This method returns the {@code <default>} object of the {@code <java.util.Locale>} specification at specification level 1.1. 369 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 370 * </p> 371 * <dl> 372 * <dt><b>Final:</b></dt><dd>No</dd> 373 * </dl> 374 * @return The {@code <Locale>} dependency. 375 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 376 */ 377 @SuppressWarnings("unused") 378 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 379 private java.util.Locale getLocale() 380 { 381 final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" ); 382 assert _d != null : "'Locale' dependency not found."; 383 return _d; 384 } 385 /** 386 * Gets the {@code <Model Context Factory Option>} dependency. 387 * <p> 388 * This method returns the {@code <JOMC ⁑ CLI ⁑ ModelContextFactory Class Name Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 389 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 390 * </p> 391 * <dl> 392 * <dt><b>Final:</b></dt><dd>No</dd> 393 * </dl> 394 * @return The {@code <Model Context Factory Option>} dependency. 395 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 396 */ 397 @SuppressWarnings("unused") 398 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 399 private org.apache.commons.cli.Option getModelContextFactoryOption() 400 { 401 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Model Context Factory Option" ); 402 assert _d != null : "'Model Context Factory Option' dependency not found."; 403 return _d; 404 } 405 /** 406 * Gets the {@code <Model Option>} dependency. 407 * <p> 408 * This method returns the {@code <JOMC ⁑ CLI ⁑ Model Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 409 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 410 * </p> 411 * <dl> 412 * <dt><b>Final:</b></dt><dd>No</dd> 413 * </dl> 414 * @return The {@code <Model Option>} dependency. 415 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 416 */ 417 @SuppressWarnings("unused") 418 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 419 private org.apache.commons.cli.Option getModelOption() 420 { 421 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Model Option" ); 422 assert _d != null : "'Model Option' dependency not found."; 423 return _d; 424 } 425 /** 426 * Gets the {@code <Modlet Location Option>} dependency. 427 * <p> 428 * This method returns the {@code <JOMC ⁑ CLI ⁑ Modlet Location Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 429 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 430 * </p> 431 * <dl> 432 * <dt><b>Final:</b></dt><dd>No</dd> 433 * </dl> 434 * @return The {@code <Modlet Location Option>} dependency. 435 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 436 */ 437 @SuppressWarnings("unused") 438 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 439 private org.apache.commons.cli.Option getModletLocationOption() 440 { 441 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Modlet Location Option" ); 442 assert _d != null : "'Modlet Location Option' dependency not found."; 443 return _d; 444 } 445 /** 446 * Gets the {@code <Modlet Schema System Id Option>} dependency. 447 * <p> 448 * This method returns the {@code <JOMC ⁑ CLI ⁑ Modlet Schema System Id Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 449 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 450 * </p> 451 * <dl> 452 * <dt><b>Final:</b></dt><dd>No</dd> 453 * </dl> 454 * @return The {@code <Modlet Schema System Id Option>} dependency. 455 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 456 */ 457 @SuppressWarnings("unused") 458 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 459 private org.apache.commons.cli.Option getModletSchemaSystemIdOption() 460 { 461 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Modlet Schema System Id Option" ); 462 assert _d != null : "'Modlet Schema System Id Option' dependency not found."; 463 return _d; 464 } 465 /** 466 * Gets the {@code <Module Location Option>} dependency. 467 * <p> 468 * This method returns the {@code <JOMC ⁑ CLI ⁑ Module Location Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 469 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 470 * </p> 471 * <dl> 472 * <dt><b>Final:</b></dt><dd>No</dd> 473 * </dl> 474 * @return The {@code <Module Location Option>} dependency. 475 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 476 */ 477 @SuppressWarnings("unused") 478 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 479 private org.apache.commons.cli.Option getModuleLocationOption() 480 { 481 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Module Location Option" ); 482 assert _d != null : "'Module Location Option' dependency not found."; 483 return _d; 484 } 485 /** 486 * Gets the {@code <Module Name Option>} dependency. 487 * <p> 488 * This method returns the {@code <JOMC ⁑ CLI ⁑ Module Name Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 489 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 490 * </p> 491 * <dl> 492 * <dt><b>Final:</b></dt><dd>No</dd> 493 * </dl> 494 * @return The {@code <Module Name Option>} dependency. 495 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 496 */ 497 @SuppressWarnings("unused") 498 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 499 private org.apache.commons.cli.Option getModuleNameOption() 500 { 501 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Module Name Option" ); 502 assert _d != null : "'Module Name Option' dependency not found."; 503 return _d; 504 } 505 /** 506 * Gets the {@code <No Classpath Resolution Option>} dependency. 507 * <p> 508 * This method returns the {@code <JOMC ⁑ CLI ⁑ No Classpath Resolution Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 509 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 510 * </p> 511 * <dl> 512 * <dt><b>Final:</b></dt><dd>No</dd> 513 * </dl> 514 * @return The {@code <No Classpath Resolution Option>} dependency. 515 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 516 */ 517 @SuppressWarnings("unused") 518 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 519 private org.apache.commons.cli.Option getNoClasspathResolutionOption() 520 { 521 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Classpath Resolution Option" ); 522 assert _d != null : "'No Classpath Resolution Option' dependency not found."; 523 return _d; 524 } 525 /** 526 * Gets the {@code <No Java Validation Option>} dependency. 527 * <p> 528 * This method returns the {@code <JOMC ⁑ CLI ⁑ No Java Validation Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 529 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 530 * </p> 531 * <dl> 532 * <dt><b>Final:</b></dt><dd>No</dd> 533 * </dl> 534 * @return The {@code <No Java Validation Option>} dependency. 535 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 536 */ 537 @SuppressWarnings("unused") 538 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 539 private org.apache.commons.cli.Option getNoJavaValidationOption() 540 { 541 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Java Validation Option" ); 542 assert _d != null : "'No Java Validation Option' dependency not found."; 543 return _d; 544 } 545 /** 546 * Gets the {@code <No Model Processing Option>} dependency. 547 * <p> 548 * This method returns the {@code <JOMC ⁑ CLI ⁑ No Model Processing Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 549 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 550 * </p> 551 * <dl> 552 * <dt><b>Final:</b></dt><dd>No</dd> 553 * </dl> 554 * @return The {@code <No Model Processing Option>} dependency. 555 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 556 */ 557 @SuppressWarnings("unused") 558 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 559 private org.apache.commons.cli.Option getNoModelProcessingOption() 560 { 561 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Model Processing Option" ); 562 assert _d != null : "'No Model Processing Option' dependency not found."; 563 return _d; 564 } 565 /** 566 * Gets the {@code <No Model Resource Validation>} dependency. 567 * <p> 568 * This method returns the {@code <JOMC ⁑ CLI ⁑ No Model Resource Validation Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 569 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 570 * </p> 571 * <dl> 572 * <dt><b>Final:</b></dt><dd>No</dd> 573 * </dl> 574 * @return The {@code <No Model Resource Validation>} dependency. 575 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 576 */ 577 @SuppressWarnings("unused") 578 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 579 private org.apache.commons.cli.Option getNoModelResourceValidation() 580 { 581 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Model Resource Validation" ); 582 assert _d != null : "'No Model Resource Validation' dependency not found."; 583 return _d; 584 } 585 /** 586 * Gets the {@code <No Modlet Resource Validation>} dependency. 587 * <p> 588 * This method returns the {@code <JOMC ⁑ CLI ⁑ No Modlet Resource Validation Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 589 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 590 * </p> 591 * <dl> 592 * <dt><b>Final:</b></dt><dd>No</dd> 593 * </dl> 594 * @return The {@code <No Modlet Resource Validation>} dependency. 595 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 596 */ 597 @SuppressWarnings("unused") 598 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 599 private org.apache.commons.cli.Option getNoModletResourceValidation() 600 { 601 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "No Modlet Resource Validation" ); 602 assert _d != null : "'No Modlet Resource Validation' dependency not found."; 603 return _d; 604 } 605 /** 606 * Gets the {@code <Platform Provider Location Option>} dependency. 607 * <p> 608 * This method returns the {@code <JOMC ⁑ CLI ⁑ Platform Provider Location Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 609 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 610 * </p> 611 * <dl> 612 * <dt><b>Final:</b></dt><dd>No</dd> 613 * </dl> 614 * @return The {@code <Platform Provider Location Option>} dependency. 615 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 616 */ 617 @SuppressWarnings("unused") 618 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 619 private org.apache.commons.cli.Option getPlatformProviderLocationOption() 620 { 621 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Platform Provider Location Option" ); 622 assert _d != null : "'Platform Provider Location Option' dependency not found."; 623 return _d; 624 } 625 /** 626 * Gets the {@code <Provider Location Option>} dependency. 627 * <p> 628 * This method returns the {@code <JOMC ⁑ CLI ⁑ Provider Location Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 629 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 630 * </p> 631 * <dl> 632 * <dt><b>Final:</b></dt><dd>No</dd> 633 * </dl> 634 * @return The {@code <Provider Location Option>} dependency. 635 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 636 */ 637 @SuppressWarnings("unused") 638 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 639 private org.apache.commons.cli.Option getProviderLocationOption() 640 { 641 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Provider Location Option" ); 642 assert _d != null : "'Provider Location Option' dependency not found."; 643 return _d; 644 } 645 /** 646 * Gets the {@code <Specification Option>} dependency. 647 * <p> 648 * This method returns the {@code <JOMC ⁑ CLI ⁑ Specification Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 649 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 650 * </p> 651 * <dl> 652 * <dt><b>Final:</b></dt><dd>No</dd> 653 * </dl> 654 * @return The {@code <Specification Option>} dependency. 655 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 656 */ 657 @SuppressWarnings("unused") 658 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 659 private org.apache.commons.cli.Option getSpecificationOption() 660 { 661 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Specification Option" ); 662 assert _d != null : "'Specification Option' dependency not found."; 663 return _d; 664 } 665 /** 666 * Gets the {@code <Transformer Location Option>} dependency. 667 * <p> 668 * This method returns the {@code <JOMC ⁑ CLI ⁑ Transformer Location Option>} object of the {@code <JOMC ⁑ CLI ⁑ Command Option>} specification at specification level 1.2. 669 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 670 * </p> 671 * <dl> 672 * <dt><b>Final:</b></dt><dd>No</dd> 673 * </dl> 674 * @return The {@code <Transformer Location Option>} dependency. 675 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 676 */ 677 @SuppressWarnings("unused") 678 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 679 private org.apache.commons.cli.Option getTransformerLocationOption() 680 { 681 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Transformer Location Option" ); 682 assert _d != null : "'Transformer Location Option' dependency not found."; 683 return _d; 684 } 685 // </editor-fold> 686 // SECTION-END 687 // SECTION-START[Properties] 688 // <editor-fold defaultstate="collapsed" desc=" Generated Properties "> 689 /** 690 * Gets the value of the {@code <Abbreviated Command Name>} property. 691 * <p><dl> 692 * <dt><b>Final:</b></dt><dd>No</dd> 693 * </dl></p> 694 * @return Abbreviated name of the command. 695 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 696 */ 697 @SuppressWarnings("unused") 698 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 699 private java.lang.String getAbbreviatedCommandName() 700 { 701 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Abbreviated Command Name" ); 702 assert _p != null : "'Abbreviated Command Name' property not found."; 703 return _p; 704 } 705 /** 706 * Gets the value of the {@code <Application Modlet>} property. 707 * <p><dl> 708 * <dt><b>Final:</b></dt><dd>Yes</dd> 709 * </dl></p> 710 * @return Name of the 'shaded' application modlet. 711 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 712 */ 713 @SuppressWarnings("unused") 714 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 715 private java.lang.String getApplicationModlet() 716 { 717 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Application Modlet" ); 718 assert _p != null : "'Application Modlet' property not found."; 719 return _p; 720 } 721 /** 722 * Gets the value of the {@code <Command Name>} property. 723 * <p><dl> 724 * <dt><b>Final:</b></dt><dd>No</dd> 725 * </dl></p> 726 * @return Name of the command. 727 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 728 */ 729 @SuppressWarnings("unused") 730 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 731 private java.lang.String getCommandName() 732 { 733 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Command Name" ); 734 assert _p != null : "'Command Name' property not found."; 735 return _p; 736 } 737 /** 738 * Gets the value of the {@code <Modlet Excludes>} property. 739 * <p><dl> 740 * <dt><b>Final:</b></dt><dd>Yes</dd> 741 * </dl></p> 742 * @return List of modlet names to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 743 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 744 */ 745 @SuppressWarnings("unused") 746 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 747 private java.lang.String getModletExcludes() 748 { 749 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Modlet Excludes" ); 750 assert _p != null : "'Modlet Excludes' property not found."; 751 return _p; 752 } 753 /** 754 * Gets the value of the {@code <Provider Excludes>} property. 755 * <p><dl> 756 * <dt><b>Final:</b></dt><dd>Yes</dd> 757 * </dl></p> 758 * @return List of providers to exclude from any {@code META-INF/services} files separated by {@code :}. 759 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 760 */ 761 @SuppressWarnings("unused") 762 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 763 private java.lang.String getProviderExcludes() 764 { 765 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Provider Excludes" ); 766 assert _p != null : "'Provider Excludes' property not found."; 767 return _p; 768 } 769 /** 770 * Gets the value of the {@code <Schema Excludes>} property. 771 * <p><dl> 772 * <dt><b>Final:</b></dt><dd>Yes</dd> 773 * </dl></p> 774 * @return List of schema context-ids to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 775 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 776 */ 777 @SuppressWarnings("unused") 778 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 779 private java.lang.String getSchemaExcludes() 780 { 781 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Schema Excludes" ); 782 assert _p != null : "'Schema Excludes' property not found."; 783 return _p; 784 } 785 /** 786 * Gets the value of the {@code <Service Excludes>} property. 787 * <p><dl> 788 * <dt><b>Final:</b></dt><dd>Yes</dd> 789 * </dl></p> 790 * @return List of service classes to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 791 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 792 */ 793 @SuppressWarnings("unused") 794 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 795 private java.lang.String getServiceExcludes() 796 { 797 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "Service Excludes" ); 798 assert _p != null : "'Service Excludes' property not found."; 799 return _p; 800 } 801 // </editor-fold> 802 // SECTION-END 803 // SECTION-START[Messages] 804 // <editor-fold defaultstate="collapsed" desc=" Generated Messages "> 805 /** 806 * Gets the text of the {@code <Application Title>} message. 807 * <p><dl> 808 * <dt><b>Languages:</b></dt> 809 * <dd>English (default)</dd> 810 * <dt><b>Final:</b></dt><dd>No</dd> 811 * </dl></p> 812 * @param locale The locale of the message to return. 813 * @return The text of the {@code <Application Title>} message for {@code locale}. 814 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 815 */ 816 @SuppressWarnings("unused") 817 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 818 private String getApplicationTitle( final java.util.Locale locale ) 819 { 820 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Application Title", locale ); 821 assert _m != null : "'Application Title' message not found."; 822 return _m; 823 } 824 /** 825 * Gets the text of the {@code <Cannot Process Message>} message. 826 * <p><dl> 827 * <dt><b>Languages:</b></dt> 828 * <dd>English (default)</dd> 829 * <dd>Deutsch</dd> 830 * <dt><b>Final:</b></dt><dd>No</dd> 831 * </dl></p> 832 * @param locale The locale of the message to return. 833 * @param itemInfo Format argument. 834 * @param detailMessage Format argument. 835 * @return The text of the {@code <Cannot Process Message>} message for {@code locale}. 836 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 837 */ 838 @SuppressWarnings("unused") 839 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 840 private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage ) 841 { 842 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Cannot Process Message", locale, itemInfo, detailMessage ); 843 assert _m != null : "'Cannot Process Message' message not found."; 844 return _m; 845 } 846 /** 847 * Gets the text of the {@code <Classpath Element Info>} message. 848 * <p><dl> 849 * <dt><b>Languages:</b></dt> 850 * <dd>English (default)</dd> 851 * <dd>Deutsch</dd> 852 * <dt><b>Final:</b></dt><dd>No</dd> 853 * </dl></p> 854 * @param locale The locale of the message to return. 855 * @param classpathElement Format argument. 856 * @return The text of the {@code <Classpath Element Info>} message for {@code locale}. 857 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 858 */ 859 @SuppressWarnings("unused") 860 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 861 private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement ) 862 { 863 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Classpath Element Info", locale, classpathElement ); 864 assert _m != null : "'Classpath Element Info' message not found."; 865 return _m; 866 } 867 /** 868 * Gets the text of the {@code <Classpath Element Not Found Warning>} message. 869 * <p><dl> 870 * <dt><b>Languages:</b></dt> 871 * <dd>English (default)</dd> 872 * <dd>Deutsch</dd> 873 * <dt><b>Final:</b></dt><dd>No</dd> 874 * </dl></p> 875 * @param locale The locale of the message to return. 876 * @param fileName Format argument. 877 * @return The text of the {@code <Classpath Element Not Found Warning>} message for {@code locale}. 878 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 879 */ 880 @SuppressWarnings("unused") 881 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 882 private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName ) 883 { 884 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Classpath Element Not Found Warning", locale, fileName ); 885 assert _m != null : "'Classpath Element Not Found Warning' message not found."; 886 return _m; 887 } 888 /** 889 * Gets the text of the {@code <Command Failure Message>} message. 890 * <p><dl> 891 * <dt><b>Languages:</b></dt> 892 * <dd>English (default)</dd> 893 * <dd>Deutsch</dd> 894 * <dt><b>Final:</b></dt><dd>No</dd> 895 * </dl></p> 896 * @param locale The locale of the message to return. 897 * @param toolName Format argument. 898 * @return The text of the {@code <Command Failure Message>} message for {@code locale}. 899 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 900 */ 901 @SuppressWarnings("unused") 902 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 903 private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName ) 904 { 905 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Command Failure Message", locale, toolName ); 906 assert _m != null : "'Command Failure Message' message not found."; 907 return _m; 908 } 909 /** 910 * Gets the text of the {@code <Command Info Message>} message. 911 * <p><dl> 912 * <dt><b>Languages:</b></dt> 913 * <dd>English (default)</dd> 914 * <dd>Deutsch</dd> 915 * <dt><b>Final:</b></dt><dd>No</dd> 916 * </dl></p> 917 * @param locale The locale of the message to return. 918 * @param toolName Format argument. 919 * @return The text of the {@code <Command Info Message>} message for {@code locale}. 920 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 921 */ 922 @SuppressWarnings("unused") 923 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 924 private String getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName ) 925 { 926 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Command Info Message", locale, toolName ); 927 assert _m != null : "'Command Info Message' message not found."; 928 return _m; 929 } 930 /** 931 * Gets the text of the {@code <Command Success Message>} message. 932 * <p><dl> 933 * <dt><b>Languages:</b></dt> 934 * <dd>English (default)</dd> 935 * <dd>Deutsch</dd> 936 * <dt><b>Final:</b></dt><dd>No</dd> 937 * </dl></p> 938 * @param locale The locale of the message to return. 939 * @param toolName Format argument. 940 * @return The text of the {@code <Command Success Message>} message for {@code locale}. 941 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 942 */ 943 @SuppressWarnings("unused") 944 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 945 private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName ) 946 { 947 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Command Success Message", locale, toolName ); 948 assert _m != null : "'Command Success Message' message not found."; 949 return _m; 950 } 951 /** 952 * Gets the text of the {@code <Default Log Level Info>} message. 953 * <p><dl> 954 * <dt><b>Languages:</b></dt> 955 * <dd>English (default)</dd> 956 * <dd>Deutsch</dd> 957 * <dt><b>Final:</b></dt><dd>No</dd> 958 * </dl></p> 959 * @param locale The locale of the message to return. 960 * @param defaultLogLevel Format argument. 961 * @return The text of the {@code <Default Log Level Info>} message for {@code locale}. 962 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 963 */ 964 @SuppressWarnings("unused") 965 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 966 private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel ) 967 { 968 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Default Log Level Info", locale, defaultLogLevel ); 969 assert _m != null : "'Default Log Level Info' message not found."; 970 return _m; 971 } 972 /** 973 * Gets the text of the {@code <Document File Info>} message. 974 * <p><dl> 975 * <dt><b>Languages:</b></dt> 976 * <dd>English (default)</dd> 977 * <dd>Deutsch</dd> 978 * <dt><b>Final:</b></dt><dd>No</dd> 979 * </dl></p> 980 * @param locale The locale of the message to return. 981 * @param documentFile Format argument. 982 * @return The text of the {@code <Document File Info>} message for {@code locale}. 983 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 984 */ 985 @SuppressWarnings("unused") 986 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 987 private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile ) 988 { 989 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Document File Info", locale, documentFile ); 990 assert _m != null : "'Document File Info' message not found."; 991 return _m; 992 } 993 /** 994 * Gets the text of the {@code <Document File Not Found Warning>} message. 995 * <p><dl> 996 * <dt><b>Languages:</b></dt> 997 * <dd>English (default)</dd> 998 * <dd>Deutsch</dd> 999 * <dt><b>Final:</b></dt><dd>No</dd> 1000 * </dl></p> 1001 * @param locale The locale of the message to return. 1002 * @param fileName Format argument. 1003 * @return The text of the {@code <Document File Not Found Warning>} message for {@code locale}. 1004 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1005 */ 1006 @SuppressWarnings("unused") 1007 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 1008 private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName ) 1009 { 1010 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Document File Not Found Warning", locale, fileName ); 1011 assert _m != null : "'Document File Not Found Warning' message not found."; 1012 return _m; 1013 } 1014 /** 1015 * Gets the text of the {@code <Excluded Modlet Info>} message. 1016 * <p><dl> 1017 * <dt><b>Languages:</b></dt> 1018 * <dd>English (default)</dd> 1019 * <dd>Deutsch</dd> 1020 * <dt><b>Final:</b></dt><dd>No</dd> 1021 * </dl></p> 1022 * @param locale The locale of the message to return. 1023 * @param resourceName Format argument. 1024 * @param modletIdentifier Format argument. 1025 * @return The text of the {@code <Excluded Modlet Info>} message for {@code locale}. 1026 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1027 */ 1028 @SuppressWarnings("unused") 1029 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 1030 private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier ) 1031 { 1032 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Modlet Info", locale, resourceName, modletIdentifier ); 1033 assert _m != null : "'Excluded Modlet Info' message not found."; 1034 return _m; 1035 } 1036 /** 1037 * Gets the text of the {@code <Excluded Provider Info>} message. 1038 * <p><dl> 1039 * <dt><b>Languages:</b></dt> 1040 * <dd>English (default)</dd> 1041 * <dd>Deutsch</dd> 1042 * <dt><b>Final:</b></dt><dd>No</dd> 1043 * </dl></p> 1044 * @param locale The locale of the message to return. 1045 * @param resourceName Format argument. 1046 * @param providerName Format argument. 1047 * @return The text of the {@code <Excluded Provider Info>} message for {@code locale}. 1048 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1049 */ 1050 @SuppressWarnings("unused") 1051 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 1052 private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName ) 1053 { 1054 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Provider Info", locale, resourceName, providerName ); 1055 assert _m != null : "'Excluded Provider Info' message not found."; 1056 return _m; 1057 } 1058 /** 1059 * Gets the text of the {@code <Excluded Schema Info>} message. 1060 * <p><dl> 1061 * <dt><b>Languages:</b></dt> 1062 * <dd>English (default)</dd> 1063 * <dd>Deutsch</dd> 1064 * <dt><b>Final:</b></dt><dd>No</dd> 1065 * </dl></p> 1066 * @param locale The locale of the message to return. 1067 * @param resourceName Format argument. 1068 * @param contextId Format argument. 1069 * @return The text of the {@code <Excluded Schema Info>} message for {@code locale}. 1070 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1071 */ 1072 @SuppressWarnings("unused") 1073 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 1074 private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId ) 1075 { 1076 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Schema Info", locale, resourceName, contextId ); 1077 assert _m != null : "'Excluded Schema Info' message not found."; 1078 return _m; 1079 } 1080 /** 1081 * Gets the text of the {@code <Excluded Service Info>} message. 1082 * <p><dl> 1083 * <dt><b>Languages:</b></dt> 1084 * <dd>English (default)</dd> 1085 * <dd>Deutsch</dd> 1086 * <dt><b>Final:</b></dt><dd>No</dd> 1087 * </dl></p> 1088 * @param locale The locale of the message to return. 1089 * @param resourceName Format argument. 1090 * @param serviceName Format argument. 1091 * @return The text of the {@code <Excluded Service Info>} message for {@code locale}. 1092 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1093 */ 1094 @SuppressWarnings("unused") 1095 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 1096 private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName ) 1097 { 1098 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Excluded Service Info", locale, resourceName, serviceName ); 1099 assert _m != null : "'Excluded Service Info' message not found."; 1100 return _m; 1101 } 1102 /** 1103 * Gets the text of the {@code <Implementation Not Found Warning>} message. 1104 * <p><dl> 1105 * <dt><b>Languages:</b></dt> 1106 * <dd>English (default)</dd> 1107 * <dd>Deutsch</dd> 1108 * <dt><b>Final:</b></dt><dd>Yes</dd> 1109 * </dl></p> 1110 * @param locale The locale of the message to return. 1111 * @param implementationIdentifier Format argument. 1112 * @return The text of the {@code <Implementation Not Found Warning>} message for {@code locale}. 1113 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1114 */ 1115 @SuppressWarnings("unused") 1116 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 1117 private String getImplementationNotFoundWarning( final java.util.Locale locale, final java.lang.String implementationIdentifier ) 1118 { 1119 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Implementation Not Found Warning", locale, implementationIdentifier ); 1120 assert _m != null : "'Implementation Not Found Warning' message not found."; 1121 return _m; 1122 } 1123 /** 1124 * Gets the text of the {@code <Invalid Model Message>} message. 1125 * <p><dl> 1126 * <dt><b>Languages:</b></dt> 1127 * <dd>English (default)</dd> 1128 * <dd>Deutsch</dd> 1129 * <dt><b>Final:</b></dt><dd>No</dd> 1130 * </dl></p> 1131 * @param locale The locale of the message to return. 1132 * @param modelIdentifier Format argument. 1133 * @return The text of the {@code <Invalid Model Message>} message for {@code locale}. 1134 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1135 */ 1136 @SuppressWarnings("unused") 1137 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 1138 private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier ) 1139 { 1140 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Invalid Model Message", locale, modelIdentifier ); 1141 assert _m != null : "'Invalid Model Message' message not found."; 1142 return _m; 1143 } 1144 /** 1145 * Gets the text of the {@code <Long Description Message>} message. 1146 * <p><dl> 1147 * <dt><b>Languages:</b></dt> 1148 * <dd>English (default)</dd> 1149 * <dd>Deutsch</dd> 1150 * <dt><b>Final:</b></dt><dd>No</dd> 1151 * </dl></p> 1152 * @param locale The locale of the message to return. 1153 * @return The text of the {@code <Long Description Message>} message for {@code locale}. 1154 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1155 */ 1156 @SuppressWarnings("unused") 1157 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 1158 private String getLongDescriptionMessage( final java.util.Locale locale ) 1159 { 1160 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Long Description Message", locale ); 1161 assert _m != null : "'Long Description Message' message not found."; 1162 return _m; 1163 } 1164 /** 1165 * Gets the text of the {@code <Module Not Found Warning>} message. 1166 * <p><dl> 1167 * <dt><b>Languages:</b></dt> 1168 * <dd>English (default)</dd> 1169 * <dd>Deutsch</dd> 1170 * <dt><b>Final:</b></dt><dd>Yes</dd> 1171 * </dl></p> 1172 * @param locale The locale of the message to return. 1173 * @param moduleName Format argument. 1174 * @return The text of the {@code <Module Not Found Warning>} message for {@code locale}. 1175 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1176 */ 1177 @SuppressWarnings("unused") 1178 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 1179 private String getModuleNotFoundWarning( final java.util.Locale locale, final java.lang.String moduleName ) 1180 { 1181 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Module Not Found Warning", locale, moduleName ); 1182 assert _m != null : "'Module Not Found Warning' message not found."; 1183 return _m; 1184 } 1185 /** 1186 * Gets the text of the {@code <Reading Message>} message. 1187 * <p><dl> 1188 * <dt><b>Languages:</b></dt> 1189 * <dd>English (default)</dd> 1190 * <dd>Deutsch</dd> 1191 * <dt><b>Final:</b></dt><dd>No</dd> 1192 * </dl></p> 1193 * @param locale The locale of the message to return. 1194 * @param locationInfo Format argument. 1195 * @return The text of the {@code <Reading Message>} message for {@code locale}. 1196 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1197 */ 1198 @SuppressWarnings("unused") 1199 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 1200 private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo ) 1201 { 1202 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Reading Message", locale, locationInfo ); 1203 assert _m != null : "'Reading Message' message not found."; 1204 return _m; 1205 } 1206 /** 1207 * Gets the text of the {@code <Separator>} message. 1208 * <p><dl> 1209 * <dt><b>Languages:</b></dt> 1210 * <dd>English (default)</dd> 1211 * <dt><b>Final:</b></dt><dd>No</dd> 1212 * </dl></p> 1213 * @param locale The locale of the message to return. 1214 * @return The text of the {@code <Separator>} message for {@code locale}. 1215 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1216 */ 1217 @SuppressWarnings("unused") 1218 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 1219 private String getSeparator( final java.util.Locale locale ) 1220 { 1221 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Separator", locale ); 1222 assert _m != null : "'Separator' message not found."; 1223 return _m; 1224 } 1225 /** 1226 * Gets the text of the {@code <Short Description Message>} message. 1227 * <p><dl> 1228 * <dt><b>Languages:</b></dt> 1229 * <dd>English (default)</dd> 1230 * <dd>Deutsch</dd> 1231 * <dt><b>Final:</b></dt><dd>No</dd> 1232 * </dl></p> 1233 * @param locale The locale of the message to return. 1234 * @return The text of the {@code <Short Description Message>} message for {@code locale}. 1235 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1236 */ 1237 @SuppressWarnings("unused") 1238 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 1239 private String getShortDescriptionMessage( final java.util.Locale locale ) 1240 { 1241 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Short Description Message", locale ); 1242 assert _m != null : "'Short Description Message' message not found."; 1243 return _m; 1244 } 1245 /** 1246 * Gets the text of the {@code <Specification Not Found Warning>} message. 1247 * <p><dl> 1248 * <dt><b>Languages:</b></dt> 1249 * <dd>English (default)</dd> 1250 * <dd>Deutsch</dd> 1251 * <dt><b>Final:</b></dt><dd>Yes</dd> 1252 * </dl></p> 1253 * @param locale The locale of the message to return. 1254 * @param specificationIdentifier Format argument. 1255 * @return The text of the {@code <Specification Not Found Warning>} message for {@code locale}. 1256 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1257 */ 1258 @SuppressWarnings("unused") 1259 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 1260 private String getSpecificationNotFoundWarning( final java.util.Locale locale, final java.lang.String specificationIdentifier ) 1261 { 1262 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Specification Not Found Warning", locale, specificationIdentifier ); 1263 assert _m != null : "'Specification Not Found Warning' message not found."; 1264 return _m; 1265 } 1266 /** 1267 * Gets the text of the {@code <Write Info>} message. 1268 * <p><dl> 1269 * <dt><b>Languages:</b></dt> 1270 * <dd>English (default)</dd> 1271 * <dd>Deutsch</dd> 1272 * <dt><b>Final:</b></dt><dd>Yes</dd> 1273 * </dl></p> 1274 * @param locale The locale of the message to return. 1275 * @param fileName Format argument. 1276 * @return The text of the {@code <Write Info>} message for {@code locale}. 1277 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1278 */ 1279 @SuppressWarnings("unused") 1280 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 1281 private String getWriteInfo( final java.util.Locale locale, final java.lang.String fileName ) 1282 { 1283 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "Write Info", locale, fileName ); 1284 assert _m != null : "'Write Info' message not found."; 1285 return _m; 1286 } 1287 // </editor-fold> 1288 // SECTION-END 1289 // SECTION-START[Generated Command] 1290 // <editor-fold defaultstate="collapsed" desc=" Generated Options "> 1291 /** 1292 * Gets the options of the command. 1293 * <p><strong>Options:</strong> 1294 * <table border="1" width="100%" cellpadding="3" cellspacing="0"> 1295 * <tr class="TableSubHeadingColor"> 1296 * <th align="left" scope="col" nowrap><b>Specification</b></th> 1297 * <th align="left" scope="col" nowrap><b>Implementation</b></th> 1298 * </tr> 1299 * <tr class="TableRow"> 1300 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1301 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Classpath Option</td> 1302 * </tr> 1303 * <tr class="TableRow"> 1304 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1305 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Document Encoding Option</td> 1306 * </tr> 1307 * <tr class="TableRow"> 1308 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1309 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Document Option</td> 1310 * </tr> 1311 * <tr class="TableRow"> 1312 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1313 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Documents Option</td> 1314 * </tr> 1315 * <tr class="TableRow"> 1316 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1317 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Implementation Option</td> 1318 * </tr> 1319 * <tr class="TableRow"> 1320 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1321 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ ModelContextFactory Class Name Option</td> 1322 * </tr> 1323 * <tr class="TableRow"> 1324 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1325 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Model Option</td> 1326 * </tr> 1327 * <tr class="TableRow"> 1328 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1329 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Modlet Location Option</td> 1330 * </tr> 1331 * <tr class="TableRow"> 1332 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1333 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Modlet Schema System Id Option</td> 1334 * </tr> 1335 * <tr class="TableRow"> 1336 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1337 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Module Location Option</td> 1338 * </tr> 1339 * <tr class="TableRow"> 1340 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1341 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Module Name Option</td> 1342 * </tr> 1343 * <tr class="TableRow"> 1344 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1345 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ No Classpath Resolution Option</td> 1346 * </tr> 1347 * <tr class="TableRow"> 1348 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1349 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ No Java Validation Option</td> 1350 * </tr> 1351 * <tr class="TableRow"> 1352 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1353 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ No Model Processing Option</td> 1354 * </tr> 1355 * <tr class="TableRow"> 1356 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1357 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ No Model Resource Validation Option</td> 1358 * </tr> 1359 * <tr class="TableRow"> 1360 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1361 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ No Modlet Resource Validation Option</td> 1362 * </tr> 1363 * <tr class="TableRow"> 1364 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1365 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Platform Provider Location Option</td> 1366 * </tr> 1367 * <tr class="TableRow"> 1368 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1369 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Provider Location Option</td> 1370 * </tr> 1371 * <tr class="TableRow"> 1372 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1373 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Specification Option</td> 1374 * </tr> 1375 * <tr class="TableRow"> 1376 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1377 * <td align="left" valign="top" nowrap>JOMC ⁑ CLI ⁑ Transformer Location Option</td> 1378 * </tr> 1379 * </table> 1380 * </p> 1381 * @return The options of the command. 1382 */ 1383 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.4", comments = "See http://www.jomc.org/jomc/1.4/jomc-tools-1.4" ) 1384 @Override 1385 public org.apache.commons.cli.Options getOptions() 1386 { 1387 final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options(); 1388 options.addOption( this.getClasspathOption() ); 1389 options.addOption( this.getDocumentEncodingOption() ); 1390 options.addOption( this.getDocumentOption() ); 1391 options.addOption( this.getDocumentsOption() ); 1392 options.addOption( this.getImplementationOption() ); 1393 options.addOption( this.getModelContextFactoryOption() ); 1394 options.addOption( this.getModelOption() ); 1395 options.addOption( this.getModletLocationOption() ); 1396 options.addOption( this.getModletSchemaSystemIdOption() ); 1397 options.addOption( this.getModuleLocationOption() ); 1398 options.addOption( this.getModuleNameOption() ); 1399 options.addOption( this.getNoClasspathResolutionOption() ); 1400 options.addOption( this.getNoJavaValidationOption() ); 1401 options.addOption( this.getNoModelProcessingOption() ); 1402 options.addOption( this.getNoModelResourceValidation() ); 1403 options.addOption( this.getNoModletResourceValidation() ); 1404 options.addOption( this.getPlatformProviderLocationOption() ); 1405 options.addOption( this.getProviderLocationOption() ); 1406 options.addOption( this.getSpecificationOption() ); 1407 options.addOption( this.getTransformerLocationOption() ); 1408 return options; 1409 } 1410 // </editor-fold> 1411 // SECTION-END 1412}