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 4463 2012-03-28 00:46:22Z schulte2005 $ 032 * 033 */ 034 // </editor-fold> 035 // SECTION-END 036 package org.jomc.cli.commands; 037 038 import java.io.File; 039 import java.io.IOException; 040 import java.io.StringWriter; 041 import java.util.logging.Level; 042 import javax.xml.bind.JAXBContext; 043 import javax.xml.bind.JAXBException; 044 import javax.xml.bind.Marshaller; 045 import javax.xml.bind.util.JAXBSource; 046 import javax.xml.transform.Source; 047 import org.apache.commons.cli.CommandLine; 048 import org.jomc.cli.commands.AbstractModletCommand.CommandLineClassLoader; 049 import org.jomc.model.Instance; 050 import org.jomc.model.Module; 051 import org.jomc.model.Modules; 052 import org.jomc.model.Specification; 053 import org.jomc.model.modlet.ModelHelper; 054 import org.jomc.modlet.Model; 055 import org.jomc.modlet.ModelContext; 056 import org.jomc.modlet.ModelException; 057 import org.jomc.modlet.ModelValidationReport; 058 import 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 show-model Command</dd> 067 * <dt><b>Name:</b></dt><dd>default-show-model</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:schulte2005@users.sourceforge.net">Christian Schulte</a> 1.0 076 * @version 1.2.5 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.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 083 // </editor-fold> 084 // SECTION-END 085 public 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.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 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 <ClasspathOption>} 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 <ClasspathOption>} dependency. 275 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 276 */ 277 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 278 private org.apache.commons.cli.Option getClasspathOption() 279 { 280 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClasspathOption" ); 281 assert _d != null : "'ClasspathOption' dependency not found."; 282 return _d; 283 } 284 /** 285 * Gets the {@code <DocumentEncodingOption>} dependency. 286 * <p> 287 * This method returns the {@code <JOMC CLI Document Encoding Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 288 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 289 * </p> 290 * <dl> 291 * <dt><b>Final:</b></dt><dd>No</dd> 292 * </dl> 293 * @return The {@code <DocumentEncodingOption>} dependency. 294 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 295 */ 296 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 297 private org.apache.commons.cli.Option getDocumentEncodingOption() 298 { 299 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentEncodingOption" ); 300 assert _d != null : "'DocumentEncodingOption' dependency not found."; 301 return _d; 302 } 303 /** 304 * Gets the {@code <DocumentOption>} dependency. 305 * <p> 306 * This method returns the {@code <JOMC CLI Document Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 307 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 308 * </p> 309 * <dl> 310 * <dt><b>Final:</b></dt><dd>No</dd> 311 * </dl> 312 * @return The {@code <DocumentOption>} dependency. 313 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 314 */ 315 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 316 private org.apache.commons.cli.Option getDocumentOption() 317 { 318 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentOption" ); 319 assert _d != null : "'DocumentOption' dependency not found."; 320 return _d; 321 } 322 /** 323 * Gets the {@code <DocumentsOption>} dependency. 324 * <p> 325 * This method returns the {@code <JOMC CLI Documents Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 326 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 327 * </p> 328 * <dl> 329 * <dt><b>Final:</b></dt><dd>No</dd> 330 * </dl> 331 * @return The {@code <DocumentsOption>} dependency. 332 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 333 */ 334 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 335 private org.apache.commons.cli.Option getDocumentsOption() 336 { 337 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentsOption" ); 338 assert _d != null : "'DocumentsOption' dependency not found."; 339 return _d; 340 } 341 /** 342 * Gets the {@code <ImplementationOption>} dependency. 343 * <p> 344 * This method returns the {@code <JOMC CLI Implementation Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 345 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 346 * </p> 347 * <dl> 348 * <dt><b>Final:</b></dt><dd>No</dd> 349 * </dl> 350 * @return The {@code <ImplementationOption>} dependency. 351 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 352 */ 353 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 354 private org.apache.commons.cli.Option getImplementationOption() 355 { 356 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ImplementationOption" ); 357 assert _d != null : "'ImplementationOption' dependency not found."; 358 return _d; 359 } 360 /** 361 * Gets the {@code <Locale>} dependency. 362 * <p> 363 * This method returns the {@code <default>} object of the {@code <java.util.Locale>} specification at specification level 1.1. 364 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 365 * </p> 366 * <dl> 367 * <dt><b>Final:</b></dt><dd>No</dd> 368 * </dl> 369 * @return The {@code <Locale>} dependency. 370 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 371 */ 372 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 373 private java.util.Locale getLocale() 374 { 375 final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" ); 376 assert _d != null : "'Locale' dependency not found."; 377 return _d; 378 } 379 /** 380 * Gets the {@code <ModelContextFactoryOption>} dependency. 381 * <p> 382 * 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. 383 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 384 * </p> 385 * <dl> 386 * <dt><b>Final:</b></dt><dd>No</dd> 387 * </dl> 388 * @return The {@code <ModelContextFactoryOption>} dependency. 389 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 390 */ 391 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 392 private org.apache.commons.cli.Option getModelContextFactoryOption() 393 { 394 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelContextFactoryOption" ); 395 assert _d != null : "'ModelContextFactoryOption' dependency not found."; 396 return _d; 397 } 398 /** 399 * Gets the {@code <ModelOption>} dependency. 400 * <p> 401 * This method returns the {@code <JOMC CLI Model Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 402 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 403 * </p> 404 * <dl> 405 * <dt><b>Final:</b></dt><dd>No</dd> 406 * </dl> 407 * @return The {@code <ModelOption>} dependency. 408 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 409 */ 410 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 411 private org.apache.commons.cli.Option getModelOption() 412 { 413 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelOption" ); 414 assert _d != null : "'ModelOption' dependency not found."; 415 return _d; 416 } 417 /** 418 * Gets the {@code <ModletLocationOption>} dependency. 419 * <p> 420 * This method returns the {@code <JOMC CLI Modlet Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 421 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 422 * </p> 423 * <dl> 424 * <dt><b>Final:</b></dt><dd>No</dd> 425 * </dl> 426 * @return The {@code <ModletLocationOption>} dependency. 427 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 428 */ 429 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 430 private org.apache.commons.cli.Option getModletLocationOption() 431 { 432 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletLocationOption" ); 433 assert _d != null : "'ModletLocationOption' dependency not found."; 434 return _d; 435 } 436 /** 437 * Gets the {@code <ModletSchemaSystemIdOption>} dependency. 438 * <p> 439 * 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. 440 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 441 * </p> 442 * <dl> 443 * <dt><b>Final:</b></dt><dd>No</dd> 444 * </dl> 445 * @return The {@code <ModletSchemaSystemIdOption>} dependency. 446 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 447 */ 448 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 449 private org.apache.commons.cli.Option getModletSchemaSystemIdOption() 450 { 451 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletSchemaSystemIdOption" ); 452 assert _d != null : "'ModletSchemaSystemIdOption' dependency not found."; 453 return _d; 454 } 455 /** 456 * Gets the {@code <ModuleLocationOption>} dependency. 457 * <p> 458 * This method returns the {@code <JOMC CLI Module Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 459 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 460 * </p> 461 * <dl> 462 * <dt><b>Final:</b></dt><dd>No</dd> 463 * </dl> 464 * @return The {@code <ModuleLocationOption>} dependency. 465 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 466 */ 467 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 468 private org.apache.commons.cli.Option getModuleLocationOption() 469 { 470 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleLocationOption" ); 471 assert _d != null : "'ModuleLocationOption' dependency not found."; 472 return _d; 473 } 474 /** 475 * Gets the {@code <ModuleNameOption>} dependency. 476 * <p> 477 * This method returns the {@code <JOMC CLI Module Name Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 478 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 479 * </p> 480 * <dl> 481 * <dt><b>Final:</b></dt><dd>No</dd> 482 * </dl> 483 * @return The {@code <ModuleNameOption>} dependency. 484 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 485 */ 486 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 487 private org.apache.commons.cli.Option getModuleNameOption() 488 { 489 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleNameOption" ); 490 assert _d != null : "'ModuleNameOption' dependency not found."; 491 return _d; 492 } 493 /** 494 * Gets the {@code <NoClasspathResolutionOption>} dependency. 495 * <p> 496 * 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. 497 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 498 * </p> 499 * <dl> 500 * <dt><b>Final:</b></dt><dd>No</dd> 501 * </dl> 502 * @return The {@code <NoClasspathResolutionOption>} dependency. 503 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 504 */ 505 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 506 private org.apache.commons.cli.Option getNoClasspathResolutionOption() 507 { 508 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoClasspathResolutionOption" ); 509 assert _d != null : "'NoClasspathResolutionOption' dependency not found."; 510 return _d; 511 } 512 /** 513 * Gets the {@code <NoModelProcessingOption>} dependency. 514 * <p> 515 * 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. 516 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 517 * </p> 518 * <dl> 519 * <dt><b>Final:</b></dt><dd>No</dd> 520 * </dl> 521 * @return The {@code <NoModelProcessingOption>} dependency. 522 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 523 */ 524 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 525 private org.apache.commons.cli.Option getNoModelProcessingOption() 526 { 527 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelProcessingOption" ); 528 assert _d != null : "'NoModelProcessingOption' dependency not found."; 529 return _d; 530 } 531 /** 532 * Gets the {@code <NoModelResourceValidation>} dependency. 533 * <p> 534 * 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. 535 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 536 * </p> 537 * <dl> 538 * <dt><b>Final:</b></dt><dd>No</dd> 539 * </dl> 540 * @return The {@code <NoModelResourceValidation>} dependency. 541 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 542 */ 543 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 544 private org.apache.commons.cli.Option getNoModelResourceValidation() 545 { 546 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelResourceValidation" ); 547 assert _d != null : "'NoModelResourceValidation' dependency not found."; 548 return _d; 549 } 550 /** 551 * Gets the {@code <NoModletResourceValidation>} dependency. 552 * <p> 553 * 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. 554 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 555 * </p> 556 * <dl> 557 * <dt><b>Final:</b></dt><dd>No</dd> 558 * </dl> 559 * @return The {@code <NoModletResourceValidation>} dependency. 560 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 561 */ 562 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 563 private org.apache.commons.cli.Option getNoModletResourceValidation() 564 { 565 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModletResourceValidation" ); 566 assert _d != null : "'NoModletResourceValidation' dependency not found."; 567 return _d; 568 } 569 /** 570 * Gets the {@code <PlatformProviderLocationOption>} dependency. 571 * <p> 572 * 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. 573 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 574 * </p> 575 * <dl> 576 * <dt><b>Final:</b></dt><dd>No</dd> 577 * </dl> 578 * @return The {@code <PlatformProviderLocationOption>} dependency. 579 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 580 */ 581 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 582 private org.apache.commons.cli.Option getPlatformProviderLocationOption() 583 { 584 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "PlatformProviderLocationOption" ); 585 assert _d != null : "'PlatformProviderLocationOption' dependency not found."; 586 return _d; 587 } 588 /** 589 * Gets the {@code <ProviderLocationOption>} dependency. 590 * <p> 591 * This method returns the {@code <JOMC CLI Provider Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 592 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 593 * </p> 594 * <dl> 595 * <dt><b>Final:</b></dt><dd>No</dd> 596 * </dl> 597 * @return The {@code <ProviderLocationOption>} dependency. 598 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 599 */ 600 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 601 private org.apache.commons.cli.Option getProviderLocationOption() 602 { 603 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ProviderLocationOption" ); 604 assert _d != null : "'ProviderLocationOption' dependency not found."; 605 return _d; 606 } 607 /** 608 * Gets the {@code <SpecificationOption>} dependency. 609 * <p> 610 * This method returns the {@code <JOMC CLI Specification Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 611 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 612 * </p> 613 * <dl> 614 * <dt><b>Final:</b></dt><dd>No</dd> 615 * </dl> 616 * @return The {@code <SpecificationOption>} dependency. 617 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 618 */ 619 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 620 private org.apache.commons.cli.Option getSpecificationOption() 621 { 622 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SpecificationOption" ); 623 assert _d != null : "'SpecificationOption' dependency not found."; 624 return _d; 625 } 626 /** 627 * Gets the {@code <TransformerLocationOption>} dependency. 628 * <p> 629 * This method returns the {@code <JOMC CLI Transformer Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 630 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 631 * </p> 632 * <dl> 633 * <dt><b>Final:</b></dt><dd>No</dd> 634 * </dl> 635 * @return The {@code <TransformerLocationOption>} dependency. 636 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 637 */ 638 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 639 private org.apache.commons.cli.Option getTransformerLocationOption() 640 { 641 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TransformerLocationOption" ); 642 assert _d != null : "'TransformerLocationOption' dependency not found."; 643 return _d; 644 } 645 // </editor-fold> 646 // SECTION-END 647 // SECTION-START[Properties] 648 // <editor-fold defaultstate="collapsed" desc=" Generated Properties "> 649 /** 650 * Gets the value of the {@code <abbreviatedCommandName>} property. 651 * <p><dl> 652 * <dt><b>Final:</b></dt><dd>No</dd> 653 * </dl></p> 654 * @return Abbreviated name of the command. 655 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 656 */ 657 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 658 private java.lang.String getAbbreviatedCommandName() 659 { 660 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "abbreviatedCommandName" ); 661 assert _p != null : "'abbreviatedCommandName' property not found."; 662 return _p; 663 } 664 /** 665 * Gets the value of the {@code <applicationModlet>} property. 666 * <p><dl> 667 * <dt><b>Final:</b></dt><dd>Yes</dd> 668 * </dl></p> 669 * @return Name of the 'shaded' application modlet. 670 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 671 */ 672 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 673 private java.lang.String getApplicationModlet() 674 { 675 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "applicationModlet" ); 676 assert _p != null : "'applicationModlet' property not found."; 677 return _p; 678 } 679 /** 680 * Gets the value of the {@code <commandName>} property. 681 * <p><dl> 682 * <dt><b>Final:</b></dt><dd>No</dd> 683 * </dl></p> 684 * @return Name of the command. 685 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 686 */ 687 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 688 private java.lang.String getCommandName() 689 { 690 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "commandName" ); 691 assert _p != null : "'commandName' property not found."; 692 return _p; 693 } 694 /** 695 * Gets the value of the {@code <modletExcludes>} property. 696 * <p><dl> 697 * <dt><b>Final:</b></dt><dd>Yes</dd> 698 * </dl></p> 699 * @return List of modlet names to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 700 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 701 */ 702 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 703 private java.lang.String getModletExcludes() 704 { 705 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "modletExcludes" ); 706 assert _p != null : "'modletExcludes' property not found."; 707 return _p; 708 } 709 /** 710 * Gets the value of the {@code <providerExcludes>} property. 711 * <p><dl> 712 * <dt><b>Final:</b></dt><dd>Yes</dd> 713 * </dl></p> 714 * @return List of providers to exclude from any {@code META-INF/services} files separated by {@code :}. 715 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 716 */ 717 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 718 private java.lang.String getProviderExcludes() 719 { 720 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "providerExcludes" ); 721 assert _p != null : "'providerExcludes' property not found."; 722 return _p; 723 } 724 /** 725 * Gets the value of the {@code <schemaExcludes>} property. 726 * <p><dl> 727 * <dt><b>Final:</b></dt><dd>Yes</dd> 728 * </dl></p> 729 * @return List of schema context-ids to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 730 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 731 */ 732 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 733 private java.lang.String getSchemaExcludes() 734 { 735 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "schemaExcludes" ); 736 assert _p != null : "'schemaExcludes' property not found."; 737 return _p; 738 } 739 /** 740 * Gets the value of the {@code <serviceExcludes>} property. 741 * <p><dl> 742 * <dt><b>Final:</b></dt><dd>Yes</dd> 743 * </dl></p> 744 * @return List of service classes to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 745 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 746 */ 747 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 748 private java.lang.String getServiceExcludes() 749 { 750 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "serviceExcludes" ); 751 assert _p != null : "'serviceExcludes' property not found."; 752 return _p; 753 } 754 // </editor-fold> 755 // SECTION-END 756 // SECTION-START[Messages] 757 // <editor-fold defaultstate="collapsed" desc=" Generated Messages "> 758 /** 759 * Gets the text of the {@code <applicationTitle>} message. 760 * <p><dl> 761 * <dt><b>Languages:</b></dt> 762 * <dd>English (default)</dd> 763 * <dt><b>Final:</b></dt><dd>No</dd> 764 * </dl></p> 765 * @param locale The locale of the message to return. 766 * @return The text of the {@code <applicationTitle>} message for {@code locale}. 767 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 768 */ 769 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 770 private String getApplicationTitle( final java.util.Locale locale ) 771 { 772 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "applicationTitle", locale ); 773 assert _m != null : "'applicationTitle' message not found."; 774 return _m; 775 } 776 /** 777 * Gets the text of the {@code <cannotProcessMessage>} message. 778 * <p><dl> 779 * <dt><b>Languages:</b></dt> 780 * <dd>English (default)</dd> 781 * <dd>Deutsch</dd> 782 * <dt><b>Final:</b></dt><dd>No</dd> 783 * </dl></p> 784 * @param locale The locale of the message to return. 785 * @param itemInfo Format argument. 786 * @param detailMessage Format argument. 787 * @return The text of the {@code <cannotProcessMessage>} message for {@code locale}. 788 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 789 */ 790 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 791 private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage ) 792 { 793 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "cannotProcessMessage", locale, itemInfo, detailMessage ); 794 assert _m != null : "'cannotProcessMessage' message not found."; 795 return _m; 796 } 797 /** 798 * Gets the text of the {@code <classpathElementInfo>} message. 799 * <p><dl> 800 * <dt><b>Languages:</b></dt> 801 * <dd>English (default)</dd> 802 * <dd>Deutsch</dd> 803 * <dt><b>Final:</b></dt><dd>No</dd> 804 * </dl></p> 805 * @param locale The locale of the message to return. 806 * @param classpathElement Format argument. 807 * @return The text of the {@code <classpathElementInfo>} message for {@code locale}. 808 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 809 */ 810 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 811 private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement ) 812 { 813 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementInfo", locale, classpathElement ); 814 assert _m != null : "'classpathElementInfo' message not found."; 815 return _m; 816 } 817 /** 818 * Gets the text of the {@code <classpathElementNotFoundWarning>} message. 819 * <p><dl> 820 * <dt><b>Languages:</b></dt> 821 * <dd>English (default)</dd> 822 * <dd>Deutsch</dd> 823 * <dt><b>Final:</b></dt><dd>No</dd> 824 * </dl></p> 825 * @param locale The locale of the message to return. 826 * @param fileName Format argument. 827 * @return The text of the {@code <classpathElementNotFoundWarning>} message for {@code locale}. 828 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 829 */ 830 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 831 private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName ) 832 { 833 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementNotFoundWarning", locale, fileName ); 834 assert _m != null : "'classpathElementNotFoundWarning' message not found."; 835 return _m; 836 } 837 /** 838 * Gets the text of the {@code <commandFailureMessage>} message. 839 * <p><dl> 840 * <dt><b>Languages:</b></dt> 841 * <dd>English (default)</dd> 842 * <dd>Deutsch</dd> 843 * <dt><b>Final:</b></dt><dd>No</dd> 844 * </dl></p> 845 * @param locale The locale of the message to return. 846 * @param toolName Format argument. 847 * @return The text of the {@code <commandFailureMessage>} message for {@code locale}. 848 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 849 */ 850 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 851 private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName ) 852 { 853 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandFailureMessage", locale, toolName ); 854 assert _m != null : "'commandFailureMessage' message not found."; 855 return _m; 856 } 857 /** 858 * Gets the text of the {@code <commandInfoMessage>} message. 859 * <p><dl> 860 * <dt><b>Languages:</b></dt> 861 * <dd>English (default)</dd> 862 * <dd>Deutsch</dd> 863 * <dt><b>Final:</b></dt><dd>No</dd> 864 * </dl></p> 865 * @param locale The locale of the message to return. 866 * @param toolName Format argument. 867 * @return The text of the {@code <commandInfoMessage>} message for {@code locale}. 868 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 869 */ 870 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 871 private String getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName ) 872 { 873 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandInfoMessage", locale, toolName ); 874 assert _m != null : "'commandInfoMessage' message not found."; 875 return _m; 876 } 877 /** 878 * Gets the text of the {@code <commandSuccessMessage>} message. 879 * <p><dl> 880 * <dt><b>Languages:</b></dt> 881 * <dd>English (default)</dd> 882 * <dd>Deutsch</dd> 883 * <dt><b>Final:</b></dt><dd>No</dd> 884 * </dl></p> 885 * @param locale The locale of the message to return. 886 * @param toolName Format argument. 887 * @return The text of the {@code <commandSuccessMessage>} message for {@code locale}. 888 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 889 */ 890 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 891 private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName ) 892 { 893 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandSuccessMessage", locale, toolName ); 894 assert _m != null : "'commandSuccessMessage' message not found."; 895 return _m; 896 } 897 /** 898 * Gets the text of the {@code <defaultLogLevelInfo>} message. 899 * <p><dl> 900 * <dt><b>Languages:</b></dt> 901 * <dd>English (default)</dd> 902 * <dd>Deutsch</dd> 903 * <dt><b>Final:</b></dt><dd>No</dd> 904 * </dl></p> 905 * @param locale The locale of the message to return. 906 * @param defaultLogLevel Format argument. 907 * @return The text of the {@code <defaultLogLevelInfo>} message for {@code locale}. 908 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 909 */ 910 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 911 private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel ) 912 { 913 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "defaultLogLevelInfo", locale, defaultLogLevel ); 914 assert _m != null : "'defaultLogLevelInfo' message not found."; 915 return _m; 916 } 917 /** 918 * Gets the text of the {@code <documentFileInfo>} message. 919 * <p><dl> 920 * <dt><b>Languages:</b></dt> 921 * <dd>English (default)</dd> 922 * <dd>Deutsch</dd> 923 * <dt><b>Final:</b></dt><dd>No</dd> 924 * </dl></p> 925 * @param locale The locale of the message to return. 926 * @param documentFile Format argument. 927 * @return The text of the {@code <documentFileInfo>} message for {@code locale}. 928 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 929 */ 930 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 931 private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile ) 932 { 933 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileInfo", locale, documentFile ); 934 assert _m != null : "'documentFileInfo' message not found."; 935 return _m; 936 } 937 /** 938 * Gets the text of the {@code <documentFileNotFoundWarning>} message. 939 * <p><dl> 940 * <dt><b>Languages:</b></dt> 941 * <dd>English (default)</dd> 942 * <dd>Deutsch</dd> 943 * <dt><b>Final:</b></dt><dd>No</dd> 944 * </dl></p> 945 * @param locale The locale of the message to return. 946 * @param fileName Format argument. 947 * @return The text of the {@code <documentFileNotFoundWarning>} message for {@code locale}. 948 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 949 */ 950 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 951 private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName ) 952 { 953 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileNotFoundWarning", locale, fileName ); 954 assert _m != null : "'documentFileNotFoundWarning' message not found."; 955 return _m; 956 } 957 /** 958 * Gets the text of the {@code <excludedModletInfo>} message. 959 * <p><dl> 960 * <dt><b>Languages:</b></dt> 961 * <dd>English (default)</dd> 962 * <dd>Deutsch</dd> 963 * <dt><b>Final:</b></dt><dd>No</dd> 964 * </dl></p> 965 * @param locale The locale of the message to return. 966 * @param resourceName Format argument. 967 * @param modletIdentifier Format argument. 968 * @return The text of the {@code <excludedModletInfo>} message for {@code locale}. 969 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 970 */ 971 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 972 private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier ) 973 { 974 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedModletInfo", locale, resourceName, modletIdentifier ); 975 assert _m != null : "'excludedModletInfo' message not found."; 976 return _m; 977 } 978 /** 979 * Gets the text of the {@code <excludedProviderInfo>} message. 980 * <p><dl> 981 * <dt><b>Languages:</b></dt> 982 * <dd>English (default)</dd> 983 * <dd>Deutsch</dd> 984 * <dt><b>Final:</b></dt><dd>No</dd> 985 * </dl></p> 986 * @param locale The locale of the message to return. 987 * @param resourceName Format argument. 988 * @param providerName Format argument. 989 * @return The text of the {@code <excludedProviderInfo>} message for {@code locale}. 990 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 991 */ 992 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 993 private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName ) 994 { 995 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedProviderInfo", locale, resourceName, providerName ); 996 assert _m != null : "'excludedProviderInfo' message not found."; 997 return _m; 998 } 999 /** 1000 * Gets the text of the {@code <excludedSchemaInfo>} message. 1001 * <p><dl> 1002 * <dt><b>Languages:</b></dt> 1003 * <dd>English (default)</dd> 1004 * <dd>Deutsch</dd> 1005 * <dt><b>Final:</b></dt><dd>No</dd> 1006 * </dl></p> 1007 * @param locale The locale of the message to return. 1008 * @param resourceName Format argument. 1009 * @param contextId Format argument. 1010 * @return The text of the {@code <excludedSchemaInfo>} message for {@code locale}. 1011 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1012 */ 1013 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 1014 private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId ) 1015 { 1016 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedSchemaInfo", locale, resourceName, contextId ); 1017 assert _m != null : "'excludedSchemaInfo' message not found."; 1018 return _m; 1019 } 1020 /** 1021 * Gets the text of the {@code <excludedServiceInfo>} message. 1022 * <p><dl> 1023 * <dt><b>Languages:</b></dt> 1024 * <dd>English (default)</dd> 1025 * <dd>Deutsch</dd> 1026 * <dt><b>Final:</b></dt><dd>No</dd> 1027 * </dl></p> 1028 * @param locale The locale of the message to return. 1029 * @param resourceName Format argument. 1030 * @param serviceName Format argument. 1031 * @return The text of the {@code <excludedServiceInfo>} message for {@code locale}. 1032 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1033 */ 1034 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 1035 private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName ) 1036 { 1037 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedServiceInfo", locale, resourceName, serviceName ); 1038 assert _m != null : "'excludedServiceInfo' message not found."; 1039 return _m; 1040 } 1041 /** 1042 * Gets the text of the {@code <implementationNotFoundWarning>} message. 1043 * <p><dl> 1044 * <dt><b>Languages:</b></dt> 1045 * <dd>English (default)</dd> 1046 * <dd>Deutsch</dd> 1047 * <dt><b>Final:</b></dt><dd>Yes</dd> 1048 * </dl></p> 1049 * @param locale The locale of the message to return. 1050 * @param implementationIdentifier Format argument. 1051 * @return The text of the {@code <implementationNotFoundWarning>} message for {@code locale}. 1052 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1053 */ 1054 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 1055 private String getImplementationNotFoundWarning( final java.util.Locale locale, final java.lang.String implementationIdentifier ) 1056 { 1057 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "implementationNotFoundWarning", locale, implementationIdentifier ); 1058 assert _m != null : "'implementationNotFoundWarning' message not found."; 1059 return _m; 1060 } 1061 /** 1062 * Gets the text of the {@code <invalidModelMessage>} message. 1063 * <p><dl> 1064 * <dt><b>Languages:</b></dt> 1065 * <dd>English (default)</dd> 1066 * <dd>Deutsch</dd> 1067 * <dt><b>Final:</b></dt><dd>No</dd> 1068 * </dl></p> 1069 * @param locale The locale of the message to return. 1070 * @param modelIdentifier Format argument. 1071 * @return The text of the {@code <invalidModelMessage>} message for {@code locale}. 1072 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1073 */ 1074 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 1075 private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier ) 1076 { 1077 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "invalidModelMessage", locale, modelIdentifier ); 1078 assert _m != null : "'invalidModelMessage' message not found."; 1079 return _m; 1080 } 1081 /** 1082 * Gets the text of the {@code <longDescriptionMessage>} message. 1083 * <p><dl> 1084 * <dt><b>Languages:</b></dt> 1085 * <dd>English (default)</dd> 1086 * <dd>Deutsch</dd> 1087 * <dt><b>Final:</b></dt><dd>No</dd> 1088 * </dl></p> 1089 * @param locale The locale of the message to return. 1090 * @return The text of the {@code <longDescriptionMessage>} message for {@code locale}. 1091 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1092 */ 1093 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 1094 private String getLongDescriptionMessage( final java.util.Locale locale ) 1095 { 1096 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "longDescriptionMessage", locale ); 1097 assert _m != null : "'longDescriptionMessage' message not found."; 1098 return _m; 1099 } 1100 /** 1101 * Gets the text of the {@code <moduleNotFoundWarning>} message. 1102 * <p><dl> 1103 * <dt><b>Languages:</b></dt> 1104 * <dd>English (default)</dd> 1105 * <dd>Deutsch</dd> 1106 * <dt><b>Final:</b></dt><dd>Yes</dd> 1107 * </dl></p> 1108 * @param locale The locale of the message to return. 1109 * @param moduleName Format argument. 1110 * @return The text of the {@code <moduleNotFoundWarning>} message for {@code locale}. 1111 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1112 */ 1113 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 1114 private String getModuleNotFoundWarning( final java.util.Locale locale, final java.lang.String moduleName ) 1115 { 1116 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleNotFoundWarning", locale, moduleName ); 1117 assert _m != null : "'moduleNotFoundWarning' message not found."; 1118 return _m; 1119 } 1120 /** 1121 * Gets the text of the {@code <readingMessage>} message. 1122 * <p><dl> 1123 * <dt><b>Languages:</b></dt> 1124 * <dd>English (default)</dd> 1125 * <dd>Deutsch</dd> 1126 * <dt><b>Final:</b></dt><dd>No</dd> 1127 * </dl></p> 1128 * @param locale The locale of the message to return. 1129 * @param locationInfo Format argument. 1130 * @return The text of the {@code <readingMessage>} message for {@code locale}. 1131 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1132 */ 1133 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 1134 private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo ) 1135 { 1136 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "readingMessage", locale, locationInfo ); 1137 assert _m != null : "'readingMessage' message not found."; 1138 return _m; 1139 } 1140 /** 1141 * Gets the text of the {@code <separator>} message. 1142 * <p><dl> 1143 * <dt><b>Languages:</b></dt> 1144 * <dd>English (default)</dd> 1145 * <dt><b>Final:</b></dt><dd>No</dd> 1146 * </dl></p> 1147 * @param locale The locale of the message to return. 1148 * @return The text of the {@code <separator>} message for {@code locale}. 1149 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1150 */ 1151 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 1152 private String getSeparator( final java.util.Locale locale ) 1153 { 1154 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "separator", locale ); 1155 assert _m != null : "'separator' message not found."; 1156 return _m; 1157 } 1158 /** 1159 * Gets the text of the {@code <shortDescriptionMessage>} message. 1160 * <p><dl> 1161 * <dt><b>Languages:</b></dt> 1162 * <dd>English (default)</dd> 1163 * <dd>Deutsch</dd> 1164 * <dt><b>Final:</b></dt><dd>No</dd> 1165 * </dl></p> 1166 * @param locale The locale of the message to return. 1167 * @return The text of the {@code <shortDescriptionMessage>} message for {@code locale}. 1168 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1169 */ 1170 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 1171 private String getShortDescriptionMessage( final java.util.Locale locale ) 1172 { 1173 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "shortDescriptionMessage", locale ); 1174 assert _m != null : "'shortDescriptionMessage' message not found."; 1175 return _m; 1176 } 1177 /** 1178 * Gets the text of the {@code <specificationNotFoundWarning>} message. 1179 * <p><dl> 1180 * <dt><b>Languages:</b></dt> 1181 * <dd>English (default)</dd> 1182 * <dd>Deutsch</dd> 1183 * <dt><b>Final:</b></dt><dd>Yes</dd> 1184 * </dl></p> 1185 * @param locale The locale of the message to return. 1186 * @param specificationIdentifier Format argument. 1187 * @return The text of the {@code <specificationNotFoundWarning>} message for {@code locale}. 1188 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1189 */ 1190 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 1191 private String getSpecificationNotFoundWarning( final java.util.Locale locale, final java.lang.String specificationIdentifier ) 1192 { 1193 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "specificationNotFoundWarning", locale, specificationIdentifier ); 1194 assert _m != null : "'specificationNotFoundWarning' message not found."; 1195 return _m; 1196 } 1197 /** 1198 * Gets the text of the {@code <writeInfo>} message. 1199 * <p><dl> 1200 * <dt><b>Languages:</b></dt> 1201 * <dd>English (default)</dd> 1202 * <dd>Deutsch</dd> 1203 * <dt><b>Final:</b></dt><dd>Yes</dd> 1204 * </dl></p> 1205 * @param locale The locale of the message to return. 1206 * @param fileName Format argument. 1207 * @return The text of the {@code <writeInfo>} message for {@code locale}. 1208 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1209 */ 1210 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 1211 private String getWriteInfo( final java.util.Locale locale, final java.lang.String fileName ) 1212 { 1213 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "writeInfo", locale, fileName ); 1214 assert _m != null : "'writeInfo' message not found."; 1215 return _m; 1216 } 1217 // </editor-fold> 1218 // SECTION-END 1219 // SECTION-START[Generated Command] 1220 // <editor-fold defaultstate="collapsed" desc=" Generated Options "> 1221 /** 1222 * Gets the options of the command. 1223 * <p><strong>Options:</strong> 1224 * <table border="1" width="100%" cellpadding="3" cellspacing="0"> 1225 * <tr class="TableSubHeadingColor"> 1226 * <th align="left" scope="col" nowrap><b>Specification</b></th> 1227 * <th align="left" scope="col" nowrap><b>Implementation</b></th> 1228 * </tr> 1229 * <tr class="TableRow"> 1230 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1231 * <td align="left" valign="top" nowrap>JOMC CLI Classpath Option</td> 1232 * </tr> 1233 * <tr class="TableRow"> 1234 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1235 * <td align="left" valign="top" nowrap>JOMC CLI Document Encoding Option</td> 1236 * </tr> 1237 * <tr class="TableRow"> 1238 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1239 * <td align="left" valign="top" nowrap>JOMC CLI Document Option</td> 1240 * </tr> 1241 * <tr class="TableRow"> 1242 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1243 * <td align="left" valign="top" nowrap>JOMC CLI Documents Option</td> 1244 * </tr> 1245 * <tr class="TableRow"> 1246 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1247 * <td align="left" valign="top" nowrap>JOMC CLI Implementation Option</td> 1248 * </tr> 1249 * <tr class="TableRow"> 1250 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1251 * <td align="left" valign="top" nowrap>JOMC CLI ModelContextFactory Class Name Option</td> 1252 * </tr> 1253 * <tr class="TableRow"> 1254 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1255 * <td align="left" valign="top" nowrap>JOMC CLI Model Option</td> 1256 * </tr> 1257 * <tr class="TableRow"> 1258 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1259 * <td align="left" valign="top" nowrap>JOMC CLI Modlet Location Option</td> 1260 * </tr> 1261 * <tr class="TableRow"> 1262 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1263 * <td align="left" valign="top" nowrap>JOMC CLI Modlet Schema System Id Option</td> 1264 * </tr> 1265 * <tr class="TableRow"> 1266 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1267 * <td align="left" valign="top" nowrap>JOMC CLI Module Location Option</td> 1268 * </tr> 1269 * <tr class="TableRow"> 1270 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1271 * <td align="left" valign="top" nowrap>JOMC CLI Module Name Option</td> 1272 * </tr> 1273 * <tr class="TableRow"> 1274 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1275 * <td align="left" valign="top" nowrap>JOMC CLI No Classpath Resolution Option</td> 1276 * </tr> 1277 * <tr class="TableRow"> 1278 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1279 * <td align="left" valign="top" nowrap>JOMC CLI No Model Processing Option</td> 1280 * </tr> 1281 * <tr class="TableRow"> 1282 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1283 * <td align="left" valign="top" nowrap>JOMC CLI No Model Resource Validation Option</td> 1284 * </tr> 1285 * <tr class="TableRow"> 1286 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1287 * <td align="left" valign="top" nowrap>JOMC CLI No Modlet Resource Validation Option</td> 1288 * </tr> 1289 * <tr class="TableRow"> 1290 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1291 * <td align="left" valign="top" nowrap>JOMC CLI Platform Provider Location Option</td> 1292 * </tr> 1293 * <tr class="TableRow"> 1294 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1295 * <td align="left" valign="top" nowrap>JOMC CLI Provider Location Option</td> 1296 * </tr> 1297 * <tr class="TableRow"> 1298 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1299 * <td align="left" valign="top" nowrap>JOMC CLI Specification Option</td> 1300 * </tr> 1301 * <tr class="TableRow"> 1302 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1303 * <td align="left" valign="top" nowrap>JOMC CLI Transformer Location Option</td> 1304 * </tr> 1305 * </table> 1306 * </p> 1307 * @return The options of the command. 1308 */ 1309 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.2.2", comments = "See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2" ) 1310 @Override 1311 public org.apache.commons.cli.Options getOptions() 1312 { 1313 final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options(); 1314 options.addOption( this.getClasspathOption() ); 1315 options.addOption( this.getDocumentEncodingOption() ); 1316 options.addOption( this.getDocumentOption() ); 1317 options.addOption( this.getDocumentsOption() ); 1318 options.addOption( this.getImplementationOption() ); 1319 options.addOption( this.getModelContextFactoryOption() ); 1320 options.addOption( this.getModelOption() ); 1321 options.addOption( this.getModletLocationOption() ); 1322 options.addOption( this.getModletSchemaSystemIdOption() ); 1323 options.addOption( this.getModuleLocationOption() ); 1324 options.addOption( this.getModuleNameOption() ); 1325 options.addOption( this.getNoClasspathResolutionOption() ); 1326 options.addOption( this.getNoModelProcessingOption() ); 1327 options.addOption( this.getNoModelResourceValidation() ); 1328 options.addOption( this.getNoModletResourceValidation() ); 1329 options.addOption( this.getPlatformProviderLocationOption() ); 1330 options.addOption( this.getProviderLocationOption() ); 1331 options.addOption( this.getSpecificationOption() ); 1332 options.addOption( this.getTransformerLocationOption() ); 1333 return options; 1334 } 1335 // </editor-fold> 1336 // SECTION-END 1337 }