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 4588 2012-06-03 06:01:30Z schulte2005 $ 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 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.3 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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 @SuppressWarnings("unused") 278 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "ClasspathOption" ); 282 assert _d != null : "'ClasspathOption' dependency not found."; 283 return _d; 284 } 285 /** 286 * Gets the {@code <DocumentEncodingOption>} 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 <DocumentEncodingOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "DocumentEncodingOption" ); 302 assert _d != null : "'DocumentEncodingOption' dependency not found."; 303 return _d; 304 } 305 /** 306 * Gets the {@code <DocumentOption>} 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 <DocumentOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "DocumentOption" ); 322 assert _d != null : "'DocumentOption' dependency not found."; 323 return _d; 324 } 325 /** 326 * Gets the {@code <DocumentsOption>} 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 <DocumentsOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "DocumentsOption" ); 342 assert _d != null : "'DocumentsOption' dependency not found."; 343 return _d; 344 } 345 /** 346 * Gets the {@code <ImplementationOption>} 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 <ImplementationOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "ImplementationOption" ); 362 assert _d != null : "'ImplementationOption' 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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 <ModelContextFactoryOption>} 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 <ModelContextFactoryOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "ModelContextFactoryOption" ); 402 assert _d != null : "'ModelContextFactoryOption' dependency not found."; 403 return _d; 404 } 405 /** 406 * Gets the {@code <ModelOption>} 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 <ModelOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "ModelOption" ); 422 assert _d != null : "'ModelOption' dependency not found."; 423 return _d; 424 } 425 /** 426 * Gets the {@code <ModletLocationOption>} 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 <ModletLocationOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "ModletLocationOption" ); 442 assert _d != null : "'ModletLocationOption' dependency not found."; 443 return _d; 444 } 445 /** 446 * Gets the {@code <ModletSchemaSystemIdOption>} 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 <ModletSchemaSystemIdOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "ModletSchemaSystemIdOption" ); 462 assert _d != null : "'ModletSchemaSystemIdOption' dependency not found."; 463 return _d; 464 } 465 /** 466 * Gets the {@code <ModuleLocationOption>} 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 <ModuleLocationOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "ModuleLocationOption" ); 482 assert _d != null : "'ModuleLocationOption' dependency not found."; 483 return _d; 484 } 485 /** 486 * Gets the {@code <ModuleNameOption>} 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 <ModuleNameOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "ModuleNameOption" ); 502 assert _d != null : "'ModuleNameOption' dependency not found."; 503 return _d; 504 } 505 /** 506 * Gets the {@code <NoClasspathResolutionOption>} 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 <NoClasspathResolutionOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 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, "NoClasspathResolutionOption" ); 522 assert _d != null : "'NoClasspathResolutionOption' dependency not found."; 523 return _d; 524 } 525 /** 526 * Gets the {@code <NoModelProcessingOption>} dependency. 527 * <p> 528 * 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. 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 <NoModelProcessingOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 539 private org.apache.commons.cli.Option getNoModelProcessingOption() 540 { 541 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelProcessingOption" ); 542 assert _d != null : "'NoModelProcessingOption' dependency not found."; 543 return _d; 544 } 545 /** 546 * Gets the {@code <NoModelResourceValidation>} dependency. 547 * <p> 548 * 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. 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 <NoModelResourceValidation>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 559 private org.apache.commons.cli.Option getNoModelResourceValidation() 560 { 561 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelResourceValidation" ); 562 assert _d != null : "'NoModelResourceValidation' dependency not found."; 563 return _d; 564 } 565 /** 566 * Gets the {@code <NoModletResourceValidation>} dependency. 567 * <p> 568 * 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. 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 <NoModletResourceValidation>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 579 private org.apache.commons.cli.Option getNoModletResourceValidation() 580 { 581 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModletResourceValidation" ); 582 assert _d != null : "'NoModletResourceValidation' dependency not found."; 583 return _d; 584 } 585 /** 586 * Gets the {@code <PlatformProviderLocationOption>} dependency. 587 * <p> 588 * 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. 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 <PlatformProviderLocationOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 599 private org.apache.commons.cli.Option getPlatformProviderLocationOption() 600 { 601 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "PlatformProviderLocationOption" ); 602 assert _d != null : "'PlatformProviderLocationOption' dependency not found."; 603 return _d; 604 } 605 /** 606 * Gets the {@code <ProviderLocationOption>} dependency. 607 * <p> 608 * This method returns the {@code <JOMC CLI 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 <ProviderLocationOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 619 private org.apache.commons.cli.Option getProviderLocationOption() 620 { 621 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ProviderLocationOption" ); 622 assert _d != null : "'ProviderLocationOption' dependency not found."; 623 return _d; 624 } 625 /** 626 * Gets the {@code <SpecificationOption>} dependency. 627 * <p> 628 * This method returns the {@code <JOMC CLI Specification 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 <SpecificationOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 639 private org.apache.commons.cli.Option getSpecificationOption() 640 { 641 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SpecificationOption" ); 642 assert _d != null : "'SpecificationOption' dependency not found."; 643 return _d; 644 } 645 /** 646 * Gets the {@code <TransformerLocationOption>} dependency. 647 * <p> 648 * This method returns the {@code <JOMC CLI Transformer Location 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 <TransformerLocationOption>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 659 private org.apache.commons.cli.Option getTransformerLocationOption() 660 { 661 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TransformerLocationOption" ); 662 assert _d != null : "'TransformerLocationOption' dependency not found."; 663 return _d; 664 } 665 // </editor-fold> 666 // SECTION-END 667 // SECTION-START[Properties] 668 // <editor-fold defaultstate="collapsed" desc=" Generated Properties "> 669 /** 670 * Gets the value of the {@code <abbreviatedCommandName>} property. 671 * <p><dl> 672 * <dt><b>Final:</b></dt><dd>No</dd> 673 * </dl></p> 674 * @return Abbreviated name of the command. 675 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 676 */ 677 @SuppressWarnings("unused") 678 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 679 private java.lang.String getAbbreviatedCommandName() 680 { 681 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "abbreviatedCommandName" ); 682 assert _p != null : "'abbreviatedCommandName' property not found."; 683 return _p; 684 } 685 /** 686 * Gets the value of the {@code <applicationModlet>} property. 687 * <p><dl> 688 * <dt><b>Final:</b></dt><dd>Yes</dd> 689 * </dl></p> 690 * @return Name of the 'shaded' application modlet. 691 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 692 */ 693 @SuppressWarnings("unused") 694 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 695 private java.lang.String getApplicationModlet() 696 { 697 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "applicationModlet" ); 698 assert _p != null : "'applicationModlet' property not found."; 699 return _p; 700 } 701 /** 702 * Gets the value of the {@code <commandName>} property. 703 * <p><dl> 704 * <dt><b>Final:</b></dt><dd>No</dd> 705 * </dl></p> 706 * @return Name of the command. 707 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 708 */ 709 @SuppressWarnings("unused") 710 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 711 private java.lang.String getCommandName() 712 { 713 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "commandName" ); 714 assert _p != null : "'commandName' property not found."; 715 return _p; 716 } 717 /** 718 * Gets the value of the {@code <modletExcludes>} property. 719 * <p><dl> 720 * <dt><b>Final:</b></dt><dd>Yes</dd> 721 * </dl></p> 722 * @return List of modlet names to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 723 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 724 */ 725 @SuppressWarnings("unused") 726 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 727 private java.lang.String getModletExcludes() 728 { 729 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "modletExcludes" ); 730 assert _p != null : "'modletExcludes' property not found."; 731 return _p; 732 } 733 /** 734 * Gets the value of the {@code <providerExcludes>} property. 735 * <p><dl> 736 * <dt><b>Final:</b></dt><dd>Yes</dd> 737 * </dl></p> 738 * @return List of providers to exclude from any {@code META-INF/services} files separated by {@code :}. 739 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 740 */ 741 @SuppressWarnings("unused") 742 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 743 private java.lang.String getProviderExcludes() 744 { 745 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "providerExcludes" ); 746 assert _p != null : "'providerExcludes' property not found."; 747 return _p; 748 } 749 /** 750 * Gets the value of the {@code <schemaExcludes>} property. 751 * <p><dl> 752 * <dt><b>Final:</b></dt><dd>Yes</dd> 753 * </dl></p> 754 * @return List of schema context-ids to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 755 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 756 */ 757 @SuppressWarnings("unused") 758 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 759 private java.lang.String getSchemaExcludes() 760 { 761 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "schemaExcludes" ); 762 assert _p != null : "'schemaExcludes' property not found."; 763 return _p; 764 } 765 /** 766 * Gets the value of the {@code <serviceExcludes>} property. 767 * <p><dl> 768 * <dt><b>Final:</b></dt><dd>Yes</dd> 769 * </dl></p> 770 * @return List of service classes to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 771 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 772 */ 773 @SuppressWarnings("unused") 774 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 775 private java.lang.String getServiceExcludes() 776 { 777 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "serviceExcludes" ); 778 assert _p != null : "'serviceExcludes' property not found."; 779 return _p; 780 } 781 // </editor-fold> 782 // SECTION-END 783 // SECTION-START[Messages] 784 // <editor-fold defaultstate="collapsed" desc=" Generated Messages "> 785 /** 786 * Gets the text of the {@code <applicationTitle>} message. 787 * <p><dl> 788 * <dt><b>Languages:</b></dt> 789 * <dd>English (default)</dd> 790 * <dt><b>Final:</b></dt><dd>No</dd> 791 * </dl></p> 792 * @param locale The locale of the message to return. 793 * @return The text of the {@code <applicationTitle>} message for {@code locale}. 794 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 795 */ 796 @SuppressWarnings("unused") 797 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 798 private String getApplicationTitle( final java.util.Locale locale ) 799 { 800 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "applicationTitle", locale ); 801 assert _m != null : "'applicationTitle' message not found."; 802 return _m; 803 } 804 /** 805 * Gets the text of the {@code <cannotProcessMessage>} message. 806 * <p><dl> 807 * <dt><b>Languages:</b></dt> 808 * <dd>English (default)</dd> 809 * <dd>Deutsch</dd> 810 * <dt><b>Final:</b></dt><dd>No</dd> 811 * </dl></p> 812 * @param locale The locale of the message to return. 813 * @param itemInfo Format argument. 814 * @param detailMessage Format argument. 815 * @return The text of the {@code <cannotProcessMessage>} message for {@code locale}. 816 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 817 */ 818 @SuppressWarnings("unused") 819 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 820 private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage ) 821 { 822 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "cannotProcessMessage", locale, itemInfo, detailMessage ); 823 assert _m != null : "'cannotProcessMessage' message not found."; 824 return _m; 825 } 826 /** 827 * Gets the text of the {@code <classpathElementInfo>} message. 828 * <p><dl> 829 * <dt><b>Languages:</b></dt> 830 * <dd>English (default)</dd> 831 * <dd>Deutsch</dd> 832 * <dt><b>Final:</b></dt><dd>No</dd> 833 * </dl></p> 834 * @param locale The locale of the message to return. 835 * @param classpathElement Format argument. 836 * @return The text of the {@code <classpathElementInfo>} message for {@code locale}. 837 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 838 */ 839 @SuppressWarnings("unused") 840 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 841 private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement ) 842 { 843 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementInfo", locale, classpathElement ); 844 assert _m != null : "'classpathElementInfo' message not found."; 845 return _m; 846 } 847 /** 848 * Gets the text of the {@code <classpathElementNotFoundWarning>} message. 849 * <p><dl> 850 * <dt><b>Languages:</b></dt> 851 * <dd>English (default)</dd> 852 * <dd>Deutsch</dd> 853 * <dt><b>Final:</b></dt><dd>No</dd> 854 * </dl></p> 855 * @param locale The locale of the message to return. 856 * @param fileName Format argument. 857 * @return The text of the {@code <classpathElementNotFoundWarning>} message for {@code locale}. 858 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 859 */ 860 @SuppressWarnings("unused") 861 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 862 private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName ) 863 { 864 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementNotFoundWarning", locale, fileName ); 865 assert _m != null : "'classpathElementNotFoundWarning' message not found."; 866 return _m; 867 } 868 /** 869 * Gets the text of the {@code <commandFailureMessage>} message. 870 * <p><dl> 871 * <dt><b>Languages:</b></dt> 872 * <dd>English (default)</dd> 873 * <dd>Deutsch</dd> 874 * <dt><b>Final:</b></dt><dd>No</dd> 875 * </dl></p> 876 * @param locale The locale of the message to return. 877 * @param toolName Format argument. 878 * @return The text of the {@code <commandFailureMessage>} message for {@code locale}. 879 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 880 */ 881 @SuppressWarnings("unused") 882 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 883 private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName ) 884 { 885 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandFailureMessage", locale, toolName ); 886 assert _m != null : "'commandFailureMessage' message not found."; 887 return _m; 888 } 889 /** 890 * Gets the text of the {@code <commandInfoMessage>} message. 891 * <p><dl> 892 * <dt><b>Languages:</b></dt> 893 * <dd>English (default)</dd> 894 * <dd>Deutsch</dd> 895 * <dt><b>Final:</b></dt><dd>No</dd> 896 * </dl></p> 897 * @param locale The locale of the message to return. 898 * @param toolName Format argument. 899 * @return The text of the {@code <commandInfoMessage>} message for {@code locale}. 900 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 901 */ 902 @SuppressWarnings("unused") 903 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 904 private String getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName ) 905 { 906 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandInfoMessage", locale, toolName ); 907 assert _m != null : "'commandInfoMessage' message not found."; 908 return _m; 909 } 910 /** 911 * Gets the text of the {@code <commandSuccessMessage>} message. 912 * <p><dl> 913 * <dt><b>Languages:</b></dt> 914 * <dd>English (default)</dd> 915 * <dd>Deutsch</dd> 916 * <dt><b>Final:</b></dt><dd>No</dd> 917 * </dl></p> 918 * @param locale The locale of the message to return. 919 * @param toolName Format argument. 920 * @return The text of the {@code <commandSuccessMessage>} message for {@code locale}. 921 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 922 */ 923 @SuppressWarnings("unused") 924 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 925 private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName ) 926 { 927 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandSuccessMessage", locale, toolName ); 928 assert _m != null : "'commandSuccessMessage' message not found."; 929 return _m; 930 } 931 /** 932 * Gets the text of the {@code <defaultLogLevelInfo>} message. 933 * <p><dl> 934 * <dt><b>Languages:</b></dt> 935 * <dd>English (default)</dd> 936 * <dd>Deutsch</dd> 937 * <dt><b>Final:</b></dt><dd>No</dd> 938 * </dl></p> 939 * @param locale The locale of the message to return. 940 * @param defaultLogLevel Format argument. 941 * @return The text of the {@code <defaultLogLevelInfo>} message for {@code locale}. 942 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 943 */ 944 @SuppressWarnings("unused") 945 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 946 private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel ) 947 { 948 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "defaultLogLevelInfo", locale, defaultLogLevel ); 949 assert _m != null : "'defaultLogLevelInfo' message not found."; 950 return _m; 951 } 952 /** 953 * Gets the text of the {@code <documentFileInfo>} message. 954 * <p><dl> 955 * <dt><b>Languages:</b></dt> 956 * <dd>English (default)</dd> 957 * <dd>Deutsch</dd> 958 * <dt><b>Final:</b></dt><dd>No</dd> 959 * </dl></p> 960 * @param locale The locale of the message to return. 961 * @param documentFile Format argument. 962 * @return The text of the {@code <documentFileInfo>} message for {@code locale}. 963 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 964 */ 965 @SuppressWarnings("unused") 966 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 967 private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile ) 968 { 969 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileInfo", locale, documentFile ); 970 assert _m != null : "'documentFileInfo' message not found."; 971 return _m; 972 } 973 /** 974 * Gets the text of the {@code <documentFileNotFoundWarning>} message. 975 * <p><dl> 976 * <dt><b>Languages:</b></dt> 977 * <dd>English (default)</dd> 978 * <dd>Deutsch</dd> 979 * <dt><b>Final:</b></dt><dd>No</dd> 980 * </dl></p> 981 * @param locale The locale of the message to return. 982 * @param fileName Format argument. 983 * @return The text of the {@code <documentFileNotFoundWarning>} message for {@code locale}. 984 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 985 */ 986 @SuppressWarnings("unused") 987 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 988 private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName ) 989 { 990 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileNotFoundWarning", locale, fileName ); 991 assert _m != null : "'documentFileNotFoundWarning' message not found."; 992 return _m; 993 } 994 /** 995 * Gets the text of the {@code <excludedModletInfo>} message. 996 * <p><dl> 997 * <dt><b>Languages:</b></dt> 998 * <dd>English (default)</dd> 999 * <dd>Deutsch</dd> 1000 * <dt><b>Final:</b></dt><dd>No</dd> 1001 * </dl></p> 1002 * @param locale The locale of the message to return. 1003 * @param resourceName Format argument. 1004 * @param modletIdentifier Format argument. 1005 * @return The text of the {@code <excludedModletInfo>} message for {@code locale}. 1006 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1007 */ 1008 @SuppressWarnings("unused") 1009 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1010 private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier ) 1011 { 1012 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedModletInfo", locale, resourceName, modletIdentifier ); 1013 assert _m != null : "'excludedModletInfo' message not found."; 1014 return _m; 1015 } 1016 /** 1017 * Gets the text of the {@code <excludedProviderInfo>} message. 1018 * <p><dl> 1019 * <dt><b>Languages:</b></dt> 1020 * <dd>English (default)</dd> 1021 * <dd>Deutsch</dd> 1022 * <dt><b>Final:</b></dt><dd>No</dd> 1023 * </dl></p> 1024 * @param locale The locale of the message to return. 1025 * @param resourceName Format argument. 1026 * @param providerName Format argument. 1027 * @return The text of the {@code <excludedProviderInfo>} message for {@code locale}. 1028 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1029 */ 1030 @SuppressWarnings("unused") 1031 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1032 private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName ) 1033 { 1034 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedProviderInfo", locale, resourceName, providerName ); 1035 assert _m != null : "'excludedProviderInfo' message not found."; 1036 return _m; 1037 } 1038 /** 1039 * Gets the text of the {@code <excludedSchemaInfo>} message. 1040 * <p><dl> 1041 * <dt><b>Languages:</b></dt> 1042 * <dd>English (default)</dd> 1043 * <dd>Deutsch</dd> 1044 * <dt><b>Final:</b></dt><dd>No</dd> 1045 * </dl></p> 1046 * @param locale The locale of the message to return. 1047 * @param resourceName Format argument. 1048 * @param contextId Format argument. 1049 * @return The text of the {@code <excludedSchemaInfo>} message for {@code locale}. 1050 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1051 */ 1052 @SuppressWarnings("unused") 1053 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1054 private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId ) 1055 { 1056 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedSchemaInfo", locale, resourceName, contextId ); 1057 assert _m != null : "'excludedSchemaInfo' message not found."; 1058 return _m; 1059 } 1060 /** 1061 * Gets the text of the {@code <excludedServiceInfo>} message. 1062 * <p><dl> 1063 * <dt><b>Languages:</b></dt> 1064 * <dd>English (default)</dd> 1065 * <dd>Deutsch</dd> 1066 * <dt><b>Final:</b></dt><dd>No</dd> 1067 * </dl></p> 1068 * @param locale The locale of the message to return. 1069 * @param resourceName Format argument. 1070 * @param serviceName Format argument. 1071 * @return The text of the {@code <excludedServiceInfo>} message for {@code locale}. 1072 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1073 */ 1074 @SuppressWarnings("unused") 1075 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1076 private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName ) 1077 { 1078 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedServiceInfo", locale, resourceName, serviceName ); 1079 assert _m != null : "'excludedServiceInfo' message not found."; 1080 return _m; 1081 } 1082 /** 1083 * Gets the text of the {@code <implementationNotFoundWarning>} message. 1084 * <p><dl> 1085 * <dt><b>Languages:</b></dt> 1086 * <dd>English (default)</dd> 1087 * <dd>Deutsch</dd> 1088 * <dt><b>Final:</b></dt><dd>Yes</dd> 1089 * </dl></p> 1090 * @param locale The locale of the message to return. 1091 * @param implementationIdentifier Format argument. 1092 * @return The text of the {@code <implementationNotFoundWarning>} message for {@code locale}. 1093 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1094 */ 1095 @SuppressWarnings("unused") 1096 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1097 private String getImplementationNotFoundWarning( final java.util.Locale locale, final java.lang.String implementationIdentifier ) 1098 { 1099 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "implementationNotFoundWarning", locale, implementationIdentifier ); 1100 assert _m != null : "'implementationNotFoundWarning' message not found."; 1101 return _m; 1102 } 1103 /** 1104 * Gets the text of the {@code <invalidModelMessage>} message. 1105 * <p><dl> 1106 * <dt><b>Languages:</b></dt> 1107 * <dd>English (default)</dd> 1108 * <dd>Deutsch</dd> 1109 * <dt><b>Final:</b></dt><dd>No</dd> 1110 * </dl></p> 1111 * @param locale The locale of the message to return. 1112 * @param modelIdentifier Format argument. 1113 * @return The text of the {@code <invalidModelMessage>} message for {@code locale}. 1114 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1115 */ 1116 @SuppressWarnings("unused") 1117 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1118 private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier ) 1119 { 1120 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "invalidModelMessage", locale, modelIdentifier ); 1121 assert _m != null : "'invalidModelMessage' message not found."; 1122 return _m; 1123 } 1124 /** 1125 * Gets the text of the {@code <longDescriptionMessage>} message. 1126 * <p><dl> 1127 * <dt><b>Languages:</b></dt> 1128 * <dd>English (default)</dd> 1129 * <dd>Deutsch</dd> 1130 * <dt><b>Final:</b></dt><dd>No</dd> 1131 * </dl></p> 1132 * @param locale The locale of the message to return. 1133 * @return The text of the {@code <longDescriptionMessage>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1138 private String getLongDescriptionMessage( final java.util.Locale locale ) 1139 { 1140 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "longDescriptionMessage", locale ); 1141 assert _m != null : "'longDescriptionMessage' message not found."; 1142 return _m; 1143 } 1144 /** 1145 * Gets the text of the {@code <moduleNotFoundWarning>} 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>Yes</dd> 1151 * </dl></p> 1152 * @param locale The locale of the message to return. 1153 * @param moduleName Format argument. 1154 * @return The text of the {@code <moduleNotFoundWarning>} message for {@code locale}. 1155 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1156 */ 1157 @SuppressWarnings("unused") 1158 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1159 private String getModuleNotFoundWarning( final java.util.Locale locale, final java.lang.String moduleName ) 1160 { 1161 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleNotFoundWarning", locale, moduleName ); 1162 assert _m != null : "'moduleNotFoundWarning' message not found."; 1163 return _m; 1164 } 1165 /** 1166 * Gets the text of the {@code <readingMessage>} message. 1167 * <p><dl> 1168 * <dt><b>Languages:</b></dt> 1169 * <dd>English (default)</dd> 1170 * <dd>Deutsch</dd> 1171 * <dt><b>Final:</b></dt><dd>No</dd> 1172 * </dl></p> 1173 * @param locale The locale of the message to return. 1174 * @param locationInfo Format argument. 1175 * @return The text of the {@code <readingMessage>} message for {@code locale}. 1176 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1177 */ 1178 @SuppressWarnings("unused") 1179 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1180 private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo ) 1181 { 1182 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "readingMessage", locale, locationInfo ); 1183 assert _m != null : "'readingMessage' message not found."; 1184 return _m; 1185 } 1186 /** 1187 * Gets the text of the {@code <separator>} message. 1188 * <p><dl> 1189 * <dt><b>Languages:</b></dt> 1190 * <dd>English (default)</dd> 1191 * <dt><b>Final:</b></dt><dd>No</dd> 1192 * </dl></p> 1193 * @param locale The locale of the message to return. 1194 * @return The text of the {@code <separator>} message for {@code locale}. 1195 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1196 */ 1197 @SuppressWarnings("unused") 1198 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1199 private String getSeparator( final java.util.Locale locale ) 1200 { 1201 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "separator", locale ); 1202 assert _m != null : "'separator' message not found."; 1203 return _m; 1204 } 1205 /** 1206 * Gets the text of the {@code <shortDescriptionMessage>} message. 1207 * <p><dl> 1208 * <dt><b>Languages:</b></dt> 1209 * <dd>English (default)</dd> 1210 * <dd>Deutsch</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 <shortDescriptionMessage>} 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.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1219 private String getShortDescriptionMessage( final java.util.Locale locale ) 1220 { 1221 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "shortDescriptionMessage", locale ); 1222 assert _m != null : "'shortDescriptionMessage' message not found."; 1223 return _m; 1224 } 1225 /** 1226 * Gets the text of the {@code <specificationNotFoundWarning>} 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>Yes</dd> 1232 * </dl></p> 1233 * @param locale The locale of the message to return. 1234 * @param specificationIdentifier Format argument. 1235 * @return The text of the {@code <specificationNotFoundWarning>} message for {@code locale}. 1236 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1237 */ 1238 @SuppressWarnings("unused") 1239 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1240 private String getSpecificationNotFoundWarning( final java.util.Locale locale, final java.lang.String specificationIdentifier ) 1241 { 1242 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "specificationNotFoundWarning", locale, specificationIdentifier ); 1243 assert _m != null : "'specificationNotFoundWarning' message not found."; 1244 return _m; 1245 } 1246 /** 1247 * Gets the text of the {@code <writeInfo>} message. 1248 * <p><dl> 1249 * <dt><b>Languages:</b></dt> 1250 * <dd>English (default)</dd> 1251 * <dd>Deutsch</dd> 1252 * <dt><b>Final:</b></dt><dd>Yes</dd> 1253 * </dl></p> 1254 * @param locale The locale of the message to return. 1255 * @param fileName Format argument. 1256 * @return The text of the {@code <writeInfo>} message for {@code locale}. 1257 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1258 */ 1259 @SuppressWarnings("unused") 1260 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1261 private String getWriteInfo( final java.util.Locale locale, final java.lang.String fileName ) 1262 { 1263 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "writeInfo", locale, fileName ); 1264 assert _m != null : "'writeInfo' message not found."; 1265 return _m; 1266 } 1267 // </editor-fold> 1268 // SECTION-END 1269 // SECTION-START[Generated Command] 1270 // <editor-fold defaultstate="collapsed" desc=" Generated Options "> 1271 /** 1272 * Gets the options of the command. 1273 * <p><strong>Options:</strong> 1274 * <table border="1" width="100%" cellpadding="3" cellspacing="0"> 1275 * <tr class="TableSubHeadingColor"> 1276 * <th align="left" scope="col" nowrap><b>Specification</b></th> 1277 * <th align="left" scope="col" nowrap><b>Implementation</b></th> 1278 * </tr> 1279 * <tr class="TableRow"> 1280 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1281 * <td align="left" valign="top" nowrap>JOMC CLI Classpath Option</td> 1282 * </tr> 1283 * <tr class="TableRow"> 1284 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1285 * <td align="left" valign="top" nowrap>JOMC CLI Document Encoding Option</td> 1286 * </tr> 1287 * <tr class="TableRow"> 1288 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1289 * <td align="left" valign="top" nowrap>JOMC CLI Document Option</td> 1290 * </tr> 1291 * <tr class="TableRow"> 1292 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1293 * <td align="left" valign="top" nowrap>JOMC CLI Documents Option</td> 1294 * </tr> 1295 * <tr class="TableRow"> 1296 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1297 * <td align="left" valign="top" nowrap>JOMC CLI Implementation Option</td> 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 ModelContextFactory Class Name 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 Model 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 Modlet Location 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 Modlet Schema System Id 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 Module Location 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 Module 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 No Classpath Resolution 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 No Model Processing 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 No Model Resource Validation 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 No Modlet Resource Validation 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 Platform Provider Location 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 Provider Location 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 Specification 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 Transformer Location Option</td> 1354 * </tr> 1355 * </table> 1356 * </p> 1357 * @return The options of the command. 1358 */ 1359 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1360 @Override 1361 public org.apache.commons.cli.Options getOptions() 1362 { 1363 final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options(); 1364 options.addOption( this.getClasspathOption() ); 1365 options.addOption( this.getDocumentEncodingOption() ); 1366 options.addOption( this.getDocumentOption() ); 1367 options.addOption( this.getDocumentsOption() ); 1368 options.addOption( this.getImplementationOption() ); 1369 options.addOption( this.getModelContextFactoryOption() ); 1370 options.addOption( this.getModelOption() ); 1371 options.addOption( this.getModletLocationOption() ); 1372 options.addOption( this.getModletSchemaSystemIdOption() ); 1373 options.addOption( this.getModuleLocationOption() ); 1374 options.addOption( this.getModuleNameOption() ); 1375 options.addOption( this.getNoClasspathResolutionOption() ); 1376 options.addOption( this.getNoModelProcessingOption() ); 1377 options.addOption( this.getNoModelResourceValidation() ); 1378 options.addOption( this.getNoModletResourceValidation() ); 1379 options.addOption( this.getPlatformProviderLocationOption() ); 1380 options.addOption( this.getProviderLocationOption() ); 1381 options.addOption( this.getSpecificationOption() ); 1382 options.addOption( this.getTransformerLocationOption() ); 1383 return options; 1384 } 1385 // </editor-fold> 1386 // SECTION-END 1387}