1 // SECTION-START[License Header] 2 // <editor-fold defaultstate="collapsed" desc=" Generated License "> 3 /* 4 * Java Object Management and Configuration 5 * Copyright (C) Christian Schulte, 2005-206 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions 10 * are met: 11 * 12 * o Redistributions of source code must retain the above copyright 13 * notice, this list of conditions and the following disclaimer. 14 * 15 * o Redistributions in binary form must reproduce the above copyright 16 * notice, this list of conditions and the following disclaimer in 17 * the documentation and/or other materials provided with the 18 * distribution. 19 * 20 * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 21 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 22 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 23 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, 24 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 25 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 29 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 * 31 * $JOMC: AbstractSourceFileProcessorCommand.java 4463 2012-03-28 00:46:22Z schulte2005 $ 32 * 33 */ 34 // </editor-fold> 35 // SECTION-END 36 package org.jomc.cli.commands; 37 38 import java.util.logging.Level; 39 import org.apache.commons.cli.CommandLine; 40 import org.jomc.tools.SourceFileProcessor; 41 42 // SECTION-START[Documentation] 43 // <editor-fold defaultstate="collapsed" desc=" Generated Documentation "> 44 /** 45 * JOMC CLI {@code SourceFileProcessor} based command implementation. 46 * 47 * <dl> 48 * <dt><b>Identifier:</b></dt><dd>JOMC CLI SourceFileProcessor Command</dd> 49 * <dt><b>Name:</b></dt><dd>JOMC CLI SourceFileProcessor Command</dd> 50 * <dt><b>Specifications:</b></dt> 51 * <dd>JOMC CLI Command @ 1.0</dd> 52 * <dt><b>Abstract:</b></dt><dd>Yes</dd> 53 * <dt><b>Final:</b></dt><dd>No</dd> 54 * <dt><b>Stateless:</b></dt><dd>No</dd> 55 * </dl> 56 * 57 * @author <a href="mailto:schulte2005@users.sourceforge.net">Christian Schulte</a> 1.2 58 * @version 1.2.5 59 */ 60 // </editor-fold> 61 // SECTION-END 62 // SECTION-START[Annotations] 63 // <editor-fold defaultstate="collapsed" desc=" Generated Annotations "> 64 @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" ) 65 // </editor-fold> 66 // SECTION-END 67 public abstract class AbstractSourceFileProcessorCommand extends AbstractJomcToolCommand 68 { 69 // SECTION-START[Command] 70 // SECTION-END 71 // SECTION-START[AbstractSourceFileProcessorCommand] 72 73 /** 74 * Creates a new {@code SourceFileProcessor} instance taking a command line. 75 * 76 * @param commandLine The command line to process. 77 * 78 * @return A new {@code SourceFileProcessor} instance as specified by the given command line or {@code null}, if 79 * creating a new instance fails. 80 * 81 * @throws NullPointerException if {@code commandLine} is {@code null}. 82 * @throws CommandExecutionException if creating a new instance fails. 83 */ 84 protected SourceFileProcessor createSourceFileProcessor( final CommandLine commandLine ) 85 throws CommandExecutionException 86 { 87 if ( commandLine == null ) 88 { 89 throw new NullPointerException( "commandLine" ); 90 } 91 92 final String className = commandLine.hasOption( this.getSourceFileProcessorOption().getOpt() ) 93 ? commandLine.getOptionValue( this.getSourceFileProcessorOption().getOpt() ) 94 : SourceFileProcessor.class.getName(); 95 96 return this.createJomcTool( className, SourceFileProcessor.class, commandLine ); 97 } 98 99 /** {@inheritDoc} */ 100 protected final void executeCommand( final CommandLine commandLine ) throws CommandExecutionException 101 { 102 if ( commandLine == null ) 103 { 104 throw new NullPointerException( "commandLine" ); 105 } 106 107 if ( commandLine.hasOption( this.getNoSourceProcessingOption().getOpt() ) ) 108 { 109 this.log( Level.INFO, this.getDisabledMessage( this.getLocale() ), null ); 110 } 111 else 112 { 113 this.processSourceFiles( commandLine ); 114 } 115 } 116 117 /** 118 * Processes source files. 119 * 120 * @param commandLine The command line to execute. 121 * 122 * @throws CommandExecutionException if processing source files fails. 123 */ 124 protected abstract void processSourceFiles( final CommandLine commandLine ) throws CommandExecutionException; 125 126 // SECTION-END 127 // SECTION-START[Constructors] 128 // <editor-fold defaultstate="collapsed" desc=" Generated Constructors "> 129 /** Creates a new {@code AbstractSourceFileProcessorCommand} instance. */ 130 @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" ) 131 public AbstractSourceFileProcessorCommand() 132 { 133 // SECTION-START[Default Constructor] 134 super(); 135 // SECTION-END 136 } 137 // </editor-fold> 138 // SECTION-END 139 // SECTION-START[Dependencies] 140 // <editor-fold defaultstate="collapsed" desc=" Generated Dependencies "> 141 /** 142 * Gets the {@code <ClasspathOption>} dependency. 143 * <p> 144 * This method returns the {@code <JOMC CLI Classpath Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 145 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 146 * </p> 147 * <dl> 148 * <dt><b>Final:</b></dt><dd>No</dd> 149 * </dl> 150 * @return The {@code <ClasspathOption>} dependency. 151 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 152 */ 153 @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" ) 154 private org.apache.commons.cli.Option getClasspathOption() 155 { 156 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClasspathOption" ); 157 assert _d != null : "'ClasspathOption' dependency not found."; 158 return _d; 159 } 160 /** 161 * Gets the {@code <CountryOption>} dependency. 162 * <p> 163 * This method returns the {@code <JOMC CLI Country Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 164 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 165 * </p> 166 * <dl> 167 * <dt><b>Final:</b></dt><dd>No</dd> 168 * </dl> 169 * @return The {@code <CountryOption>} dependency. 170 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 171 */ 172 @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" ) 173 private org.apache.commons.cli.Option getCountryOption() 174 { 175 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "CountryOption" ); 176 assert _d != null : "'CountryOption' dependency not found."; 177 return _d; 178 } 179 /** 180 * Gets the {@code <DefaultTemplateProfileOption>} dependency. 181 * <p> 182 * This method returns the {@code <JOMC CLI Default Template Profile Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 183 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 184 * </p> 185 * <dl> 186 * <dt><b>Final:</b></dt><dd>No</dd> 187 * </dl> 188 * @return The {@code <DefaultTemplateProfileOption>} dependency. 189 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 190 */ 191 @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" ) 192 private org.apache.commons.cli.Option getDefaultTemplateProfileOption() 193 { 194 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DefaultTemplateProfileOption" ); 195 assert _d != null : "'DefaultTemplateProfileOption' dependency not found."; 196 return _d; 197 } 198 /** 199 * Gets the {@code <DocumentsOption>} dependency. 200 * <p> 201 * This method returns the {@code <JOMC CLI Documents Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 202 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 203 * </p> 204 * <dl> 205 * <dt><b>Final:</b></dt><dd>No</dd> 206 * </dl> 207 * @return The {@code <DocumentsOption>} dependency. 208 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 209 */ 210 @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" ) 211 private org.apache.commons.cli.Option getDocumentsOption() 212 { 213 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentsOption" ); 214 assert _d != null : "'DocumentsOption' dependency not found."; 215 return _d; 216 } 217 /** 218 * Gets the {@code <ImplementationOption>} dependency. 219 * <p> 220 * This method returns the {@code <JOMC CLI Implementation Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 221 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 222 * </p> 223 * <dl> 224 * <dt><b>Final:</b></dt><dd>No</dd> 225 * </dl> 226 * @return The {@code <ImplementationOption>} dependency. 227 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 228 */ 229 @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" ) 230 private org.apache.commons.cli.Option getImplementationOption() 231 { 232 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ImplementationOption" ); 233 assert _d != null : "'ImplementationOption' dependency not found."; 234 return _d; 235 } 236 /** 237 * Gets the {@code <IndentationStringOption>} dependency. 238 * <p> 239 * This method returns the {@code <JOMC CLI Indentation String Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 240 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 241 * </p> 242 * <dl> 243 * <dt><b>Final:</b></dt><dd>No</dd> 244 * </dl> 245 * @return The {@code <IndentationStringOption>} dependency. 246 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 247 */ 248 @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" ) 249 private org.apache.commons.cli.Option getIndentationStringOption() 250 { 251 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "IndentationStringOption" ); 252 assert _d != null : "'IndentationStringOption' dependency not found."; 253 return _d; 254 } 255 /** 256 * Gets the {@code <InputEncodingOption>} dependency. 257 * <p> 258 * This method returns the {@code <JOMC CLI Input Encoding Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 259 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 260 * </p> 261 * <dl> 262 * <dt><b>Final:</b></dt><dd>No</dd> 263 * </dl> 264 * @return The {@code <InputEncodingOption>} dependency. 265 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 266 */ 267 @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" ) 268 private org.apache.commons.cli.Option getInputEncodingOption() 269 { 270 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "InputEncodingOption" ); 271 assert _d != null : "'InputEncodingOption' dependency not found."; 272 return _d; 273 } 274 /** 275 * Gets the {@code <LanguageOption>} dependency. 276 * <p> 277 * This method returns the {@code <JOMC CLI Language Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 278 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 279 * </p> 280 * <dl> 281 * <dt><b>Final:</b></dt><dd>No</dd> 282 * </dl> 283 * @return The {@code <LanguageOption>} dependency. 284 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 285 */ 286 @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" ) 287 private org.apache.commons.cli.Option getLanguageOption() 288 { 289 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LanguageOption" ); 290 assert _d != null : "'LanguageOption' dependency not found."; 291 return _d; 292 } 293 /** 294 * Gets the {@code <LineSeparatorOption>} dependency. 295 * <p> 296 * This method returns the {@code <JOMC CLI Line Separator Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 297 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 298 * </p> 299 * <dl> 300 * <dt><b>Final:</b></dt><dd>No</dd> 301 * </dl> 302 * @return The {@code <LineSeparatorOption>} dependency. 303 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 304 */ 305 @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" ) 306 private org.apache.commons.cli.Option getLineSeparatorOption() 307 { 308 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LineSeparatorOption" ); 309 assert _d != null : "'LineSeparatorOption' dependency not found."; 310 return _d; 311 } 312 /** 313 * Gets the {@code <Locale>} dependency. 314 * <p> 315 * This method returns the {@code <default>} object of the {@code <java.util.Locale>} specification at specification level 1.1. 316 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 317 * </p> 318 * <dl> 319 * <dt><b>Final:</b></dt><dd>No</dd> 320 * </dl> 321 * @return The {@code <Locale>} dependency. 322 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 323 */ 324 @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" ) 325 private java.util.Locale getLocale() 326 { 327 final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" ); 328 assert _d != null : "'Locale' dependency not found."; 329 return _d; 330 } 331 /** 332 * Gets the {@code <LocaleVariantOption>} dependency. 333 * <p> 334 * This method returns the {@code <JOMC CLI Locale Variant Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 335 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 336 * </p> 337 * <dl> 338 * <dt><b>Final:</b></dt><dd>No</dd> 339 * </dl> 340 * @return The {@code <LocaleVariantOption>} dependency. 341 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 342 */ 343 @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" ) 344 private org.apache.commons.cli.Option getLocaleVariantOption() 345 { 346 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LocaleVariantOption" ); 347 assert _d != null : "'LocaleVariantOption' dependency not found."; 348 return _d; 349 } 350 /** 351 * Gets the {@code <ModelContextFactoryOption>} dependency. 352 * <p> 353 * 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. 354 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 355 * </p> 356 * <dl> 357 * <dt><b>Final:</b></dt><dd>No</dd> 358 * </dl> 359 * @return The {@code <ModelContextFactoryOption>} dependency. 360 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 361 */ 362 @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" ) 363 private org.apache.commons.cli.Option getModelContextFactoryOption() 364 { 365 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelContextFactoryOption" ); 366 assert _d != null : "'ModelContextFactoryOption' dependency not found."; 367 return _d; 368 } 369 /** 370 * Gets the {@code <ModelOption>} dependency. 371 * <p> 372 * This method returns the {@code <JOMC CLI Model Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 373 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 374 * </p> 375 * <dl> 376 * <dt><b>Final:</b></dt><dd>No</dd> 377 * </dl> 378 * @return The {@code <ModelOption>} dependency. 379 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 380 */ 381 @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" ) 382 private org.apache.commons.cli.Option getModelOption() 383 { 384 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelOption" ); 385 assert _d != null : "'ModelOption' dependency not found."; 386 return _d; 387 } 388 /** 389 * Gets the {@code <ModletLocationOption>} dependency. 390 * <p> 391 * This method returns the {@code <JOMC CLI Modlet Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 392 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 393 * </p> 394 * <dl> 395 * <dt><b>Final:</b></dt><dd>No</dd> 396 * </dl> 397 * @return The {@code <ModletLocationOption>} dependency. 398 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 399 */ 400 @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" ) 401 private org.apache.commons.cli.Option getModletLocationOption() 402 { 403 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletLocationOption" ); 404 assert _d != null : "'ModletLocationOption' dependency not found."; 405 return _d; 406 } 407 /** 408 * Gets the {@code <ModletSchemaSystemIdOption>} dependency. 409 * <p> 410 * 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. 411 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 412 * </p> 413 * <dl> 414 * <dt><b>Final:</b></dt><dd>No</dd> 415 * </dl> 416 * @return The {@code <ModletSchemaSystemIdOption>} dependency. 417 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 418 */ 419 @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" ) 420 private org.apache.commons.cli.Option getModletSchemaSystemIdOption() 421 { 422 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletSchemaSystemIdOption" ); 423 assert _d != null : "'ModletSchemaSystemIdOption' dependency not found."; 424 return _d; 425 } 426 /** 427 * Gets the {@code <ModuleLocationOption>} dependency. 428 * <p> 429 * This method returns the {@code <JOMC CLI Module Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 430 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 431 * </p> 432 * <dl> 433 * <dt><b>Final:</b></dt><dd>No</dd> 434 * </dl> 435 * @return The {@code <ModuleLocationOption>} dependency. 436 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 437 */ 438 @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" ) 439 private org.apache.commons.cli.Option getModuleLocationOption() 440 { 441 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleLocationOption" ); 442 assert _d != null : "'ModuleLocationOption' dependency not found."; 443 return _d; 444 } 445 /** 446 * Gets the {@code <ModuleNameOption>} dependency. 447 * <p> 448 * This method returns the {@code <JOMC CLI Module Name 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 <ModuleNameOption>} dependency. 455 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 456 */ 457 @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" ) 458 private org.apache.commons.cli.Option getModuleNameOption() 459 { 460 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleNameOption" ); 461 assert _d != null : "'ModuleNameOption' dependency not found."; 462 return _d; 463 } 464 /** 465 * Gets the {@code <NoClasspathResolutionOption>} dependency. 466 * <p> 467 * 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. 468 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 469 * </p> 470 * <dl> 471 * <dt><b>Final:</b></dt><dd>No</dd> 472 * </dl> 473 * @return The {@code <NoClasspathResolutionOption>} dependency. 474 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 475 */ 476 @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" ) 477 private org.apache.commons.cli.Option getNoClasspathResolutionOption() 478 { 479 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoClasspathResolutionOption" ); 480 assert _d != null : "'NoClasspathResolutionOption' dependency not found."; 481 return _d; 482 } 483 /** 484 * Gets the {@code <NoModelProcessingOption>} dependency. 485 * <p> 486 * 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. 487 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 488 * </p> 489 * <dl> 490 * <dt><b>Final:</b></dt><dd>No</dd> 491 * </dl> 492 * @return The {@code <NoModelProcessingOption>} dependency. 493 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 494 */ 495 @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" ) 496 private org.apache.commons.cli.Option getNoModelProcessingOption() 497 { 498 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelProcessingOption" ); 499 assert _d != null : "'NoModelProcessingOption' dependency not found."; 500 return _d; 501 } 502 /** 503 * Gets the {@code <NoModelResourceValidation>} dependency. 504 * <p> 505 * 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. 506 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 507 * </p> 508 * <dl> 509 * <dt><b>Final:</b></dt><dd>No</dd> 510 * </dl> 511 * @return The {@code <NoModelResourceValidation>} dependency. 512 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 513 */ 514 @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" ) 515 private org.apache.commons.cli.Option getNoModelResourceValidation() 516 { 517 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelResourceValidation" ); 518 assert _d != null : "'NoModelResourceValidation' dependency not found."; 519 return _d; 520 } 521 /** 522 * Gets the {@code <NoModletResourceValidation>} dependency. 523 * <p> 524 * 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. 525 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 526 * </p> 527 * <dl> 528 * <dt><b>Final:</b></dt><dd>No</dd> 529 * </dl> 530 * @return The {@code <NoModletResourceValidation>} dependency. 531 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 532 */ 533 @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" ) 534 private org.apache.commons.cli.Option getNoModletResourceValidation() 535 { 536 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModletResourceValidation" ); 537 assert _d != null : "'NoModletResourceValidation' dependency not found."; 538 return _d; 539 } 540 /** 541 * Gets the {@code <NoSourceProcessingOption>} dependency. 542 * <p> 543 * This method returns the {@code <JOMC CLI No Source File Processing Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 544 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 545 * </p> 546 * <dl> 547 * <dt><b>Final:</b></dt><dd>No</dd> 548 * </dl> 549 * @return The {@code <NoSourceProcessingOption>} dependency. 550 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 551 */ 552 @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" ) 553 private org.apache.commons.cli.Option getNoSourceProcessingOption() 554 { 555 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoSourceProcessingOption" ); 556 assert _d != null : "'NoSourceProcessingOption' dependency not found."; 557 return _d; 558 } 559 /** 560 * Gets the {@code <OutputEncodingOption>} dependency. 561 * <p> 562 * This method returns the {@code <JOMC CLI Output Encoding Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 563 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 564 * </p> 565 * <dl> 566 * <dt><b>Final:</b></dt><dd>No</dd> 567 * </dl> 568 * @return The {@code <OutputEncodingOption>} dependency. 569 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 570 */ 571 @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" ) 572 private org.apache.commons.cli.Option getOutputEncodingOption() 573 { 574 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "OutputEncodingOption" ); 575 assert _d != null : "'OutputEncodingOption' dependency not found."; 576 return _d; 577 } 578 /** 579 * Gets the {@code <PlatformProviderLocationOption>} dependency. 580 * <p> 581 * 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. 582 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 583 * </p> 584 * <dl> 585 * <dt><b>Final:</b></dt><dd>No</dd> 586 * </dl> 587 * @return The {@code <PlatformProviderLocationOption>} dependency. 588 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 589 */ 590 @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" ) 591 private org.apache.commons.cli.Option getPlatformProviderLocationOption() 592 { 593 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "PlatformProviderLocationOption" ); 594 assert _d != null : "'PlatformProviderLocationOption' dependency not found."; 595 return _d; 596 } 597 /** 598 * Gets the {@code <ProviderLocationOption>} dependency. 599 * <p> 600 * This method returns the {@code <JOMC CLI Provider Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 601 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 602 * </p> 603 * <dl> 604 * <dt><b>Final:</b></dt><dd>No</dd> 605 * </dl> 606 * @return The {@code <ProviderLocationOption>} dependency. 607 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 608 */ 609 @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" ) 610 private org.apache.commons.cli.Option getProviderLocationOption() 611 { 612 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ProviderLocationOption" ); 613 assert _d != null : "'ProviderLocationOption' dependency not found."; 614 return _d; 615 } 616 /** 617 * Gets the {@code <SourceDirectoryOption>} dependency. 618 * <p> 619 * This method returns the {@code <JOMC CLI Source Directory Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 620 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 621 * </p> 622 * <p><strong>Properties:</strong> 623 * <table border="1" width="100%" cellpadding="3" cellspacing="0"> 624 * <tr class="TableSubHeadingColor"> 625 * <th align="left" scope="col" nowrap><b>Name</b></th> 626 * <th align="left" scope="col" nowrap><b>Type</b></th> 627 * <th align="left" scope="col" nowrap><b>Documentation</b></th> 628 * </tr> 629 * <tr class="TableRow"> 630 * <td align="left" valign="top" nowrap>{@code <required>}</td> 631 * <td align="left" valign="top" nowrap>{@code boolean}</td> 632 * <td align="left" valign="top"></td> 633 * </tr> 634 * </table> 635 * </p> 636 * <dl> 637 * <dt><b>Final:</b></dt><dd>No</dd> 638 * </dl> 639 * @return The {@code <SourceDirectoryOption>} dependency. 640 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 641 */ 642 @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" ) 643 private org.apache.commons.cli.Option getSourceDirectoryOption() 644 { 645 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SourceDirectoryOption" ); 646 assert _d != null : "'SourceDirectoryOption' dependency not found."; 647 return _d; 648 } 649 /** 650 * Gets the {@code <SourceFileProcessorOption>} dependency. 651 * <p> 652 * This method returns the {@code <JOMC CLI SourceFileProcessor Class Name Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 653 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 654 * </p> 655 * <dl> 656 * <dt><b>Final:</b></dt><dd>No</dd> 657 * </dl> 658 * @return The {@code <SourceFileProcessorOption>} dependency. 659 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 660 */ 661 @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" ) 662 private org.apache.commons.cli.Option getSourceFileProcessorOption() 663 { 664 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SourceFileProcessorOption" ); 665 assert _d != null : "'SourceFileProcessorOption' dependency not found."; 666 return _d; 667 } 668 /** 669 * Gets the {@code <SpecificationOption>} dependency. 670 * <p> 671 * This method returns the {@code <JOMC CLI Specification Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 672 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 673 * </p> 674 * <dl> 675 * <dt><b>Final:</b></dt><dd>No</dd> 676 * </dl> 677 * @return The {@code <SpecificationOption>} dependency. 678 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 679 */ 680 @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" ) 681 private org.apache.commons.cli.Option getSpecificationOption() 682 { 683 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SpecificationOption" ); 684 assert _d != null : "'SpecificationOption' dependency not found."; 685 return _d; 686 } 687 /** 688 * Gets the {@code <TemplateEncodingOption>} dependency. 689 * <p> 690 * This method returns the {@code <JOMC CLI Template Encoding Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 691 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 692 * </p> 693 * <dl> 694 * <dt><b>Final:</b></dt><dd>No</dd> 695 * </dl> 696 * @return The {@code <TemplateEncodingOption>} dependency. 697 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 698 */ 699 @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" ) 700 private org.apache.commons.cli.Option getTemplateEncodingOption() 701 { 702 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateEncodingOption" ); 703 assert _d != null : "'TemplateEncodingOption' dependency not found."; 704 return _d; 705 } 706 /** 707 * Gets the {@code <TemplateLocationOption>} dependency. 708 * <p> 709 * This method returns the {@code <JOMC CLI Template Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 710 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 711 * </p> 712 * <dl> 713 * <dt><b>Final:</b></dt><dd>No</dd> 714 * </dl> 715 * @return The {@code <TemplateLocationOption>} dependency. 716 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 717 */ 718 @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" ) 719 private org.apache.commons.cli.Option getTemplateLocationOption() 720 { 721 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateLocationOption" ); 722 assert _d != null : "'TemplateLocationOption' dependency not found."; 723 return _d; 724 } 725 /** 726 * Gets the {@code <TemplateProfileOption>} dependency. 727 * <p> 728 * This method returns the {@code <JOMC CLI Template Profile Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 729 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 730 * </p> 731 * <dl> 732 * <dt><b>Final:</b></dt><dd>No</dd> 733 * </dl> 734 * @return The {@code <TemplateProfileOption>} dependency. 735 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 736 */ 737 @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" ) 738 private org.apache.commons.cli.Option getTemplateProfileOption() 739 { 740 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateProfileOption" ); 741 assert _d != null : "'TemplateProfileOption' dependency not found."; 742 return _d; 743 } 744 /** 745 * Gets the {@code <TransformerLocationOption>} dependency. 746 * <p> 747 * This method returns the {@code <JOMC CLI Transformer Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 748 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 749 * </p> 750 * <dl> 751 * <dt><b>Final:</b></dt><dd>No</dd> 752 * </dl> 753 * @return The {@code <TransformerLocationOption>} dependency. 754 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 755 */ 756 @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" ) 757 private org.apache.commons.cli.Option getTransformerLocationOption() 758 { 759 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TransformerLocationOption" ); 760 assert _d != null : "'TransformerLocationOption' dependency not found."; 761 return _d; 762 } 763 // </editor-fold> 764 // SECTION-END 765 // SECTION-START[Properties] 766 // <editor-fold defaultstate="collapsed" desc=" Generated Properties "> 767 /** 768 * Gets the value of the {@code <abbreviatedCommandName>} property. 769 * <p><dl> 770 * <dt><b>Final:</b></dt><dd>No</dd> 771 * </dl></p> 772 * @return Abbreviated name of the command. 773 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 774 */ 775 @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" ) 776 private java.lang.String getAbbreviatedCommandName() 777 { 778 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "abbreviatedCommandName" ); 779 assert _p != null : "'abbreviatedCommandName' property not found."; 780 return _p; 781 } 782 /** 783 * Gets the value of the {@code <applicationModlet>} property. 784 * <p><dl> 785 * <dt><b>Final:</b></dt><dd>Yes</dd> 786 * </dl></p> 787 * @return Name of the 'shaded' application modlet. 788 * @throws org.jomc.ObjectManagementException if getting the property 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 java.lang.String getApplicationModlet() 792 { 793 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "applicationModlet" ); 794 assert _p != null : "'applicationModlet' property not found."; 795 return _p; 796 } 797 /** 798 * Gets the value of the {@code <commandName>} property. 799 * <p><dl> 800 * <dt><b>Final:</b></dt><dd>No</dd> 801 * </dl></p> 802 * @return Name of the command. 803 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 804 */ 805 @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" ) 806 private java.lang.String getCommandName() 807 { 808 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "commandName" ); 809 assert _p != null : "'commandName' property not found."; 810 return _p; 811 } 812 /** 813 * Gets the value of the {@code <modletExcludes>} property. 814 * <p><dl> 815 * <dt><b>Final:</b></dt><dd>Yes</dd> 816 * </dl></p> 817 * @return List of modlet names to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 818 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 819 */ 820 @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" ) 821 private java.lang.String getModletExcludes() 822 { 823 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "modletExcludes" ); 824 assert _p != null : "'modletExcludes' property not found."; 825 return _p; 826 } 827 /** 828 * Gets the value of the {@code <providerExcludes>} property. 829 * <p><dl> 830 * <dt><b>Final:</b></dt><dd>Yes</dd> 831 * </dl></p> 832 * @return List of providers to exclude from any {@code META-INF/services} files separated by {@code :}. 833 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 834 */ 835 @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" ) 836 private java.lang.String getProviderExcludes() 837 { 838 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "providerExcludes" ); 839 assert _p != null : "'providerExcludes' property not found."; 840 return _p; 841 } 842 /** 843 * Gets the value of the {@code <schemaExcludes>} property. 844 * <p><dl> 845 * <dt><b>Final:</b></dt><dd>Yes</dd> 846 * </dl></p> 847 * @return List of schema context-ids to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 848 * @throws org.jomc.ObjectManagementException if getting the property 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 java.lang.String getSchemaExcludes() 852 { 853 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "schemaExcludes" ); 854 assert _p != null : "'schemaExcludes' property not found."; 855 return _p; 856 } 857 /** 858 * Gets the value of the {@code <serviceExcludes>} property. 859 * <p><dl> 860 * <dt><b>Final:</b></dt><dd>Yes</dd> 861 * </dl></p> 862 * @return List of service classes to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 863 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 864 */ 865 @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" ) 866 private java.lang.String getServiceExcludes() 867 { 868 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "serviceExcludes" ); 869 assert _p != null : "'serviceExcludes' property not found."; 870 return _p; 871 } 872 // </editor-fold> 873 // SECTION-END 874 // SECTION-START[Messages] 875 // <editor-fold defaultstate="collapsed" desc=" Generated Messages "> 876 /** 877 * Gets the text of the {@code <applicationTitle>} message. 878 * <p><dl> 879 * <dt><b>Languages:</b></dt> 880 * <dd>English (default)</dd> 881 * <dt><b>Final:</b></dt><dd>No</dd> 882 * </dl></p> 883 * @param locale The locale of the message to return. 884 * @return The text of the {@code <applicationTitle>} message for {@code locale}. 885 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 886 */ 887 @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" ) 888 private String getApplicationTitle( final java.util.Locale locale ) 889 { 890 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "applicationTitle", locale ); 891 assert _m != null : "'applicationTitle' message not found."; 892 return _m; 893 } 894 /** 895 * Gets the text of the {@code <cannotProcessMessage>} message. 896 * <p><dl> 897 * <dt><b>Languages:</b></dt> 898 * <dd>English (default)</dd> 899 * <dd>Deutsch</dd> 900 * <dt><b>Final:</b></dt><dd>No</dd> 901 * </dl></p> 902 * @param locale The locale of the message to return. 903 * @param itemInfo Format argument. 904 * @param detailMessage Format argument. 905 * @return The text of the {@code <cannotProcessMessage>} message for {@code locale}. 906 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 907 */ 908 @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" ) 909 private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage ) 910 { 911 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "cannotProcessMessage", locale, itemInfo, detailMessage ); 912 assert _m != null : "'cannotProcessMessage' message not found."; 913 return _m; 914 } 915 /** 916 * Gets the text of the {@code <classpathElementInfo>} message. 917 * <p><dl> 918 * <dt><b>Languages:</b></dt> 919 * <dd>English (default)</dd> 920 * <dd>Deutsch</dd> 921 * <dt><b>Final:</b></dt><dd>No</dd> 922 * </dl></p> 923 * @param locale The locale of the message to return. 924 * @param classpathElement Format argument. 925 * @return The text of the {@code <classpathElementInfo>} message for {@code locale}. 926 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 927 */ 928 @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" ) 929 private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement ) 930 { 931 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementInfo", locale, classpathElement ); 932 assert _m != null : "'classpathElementInfo' message not found."; 933 return _m; 934 } 935 /** 936 * Gets the text of the {@code <classpathElementNotFoundWarning>} message. 937 * <p><dl> 938 * <dt><b>Languages:</b></dt> 939 * <dd>English (default)</dd> 940 * <dd>Deutsch</dd> 941 * <dt><b>Final:</b></dt><dd>No</dd> 942 * </dl></p> 943 * @param locale The locale of the message to return. 944 * @param fileName Format argument. 945 * @return The text of the {@code <classpathElementNotFoundWarning>} message for {@code locale}. 946 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 947 */ 948 @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" ) 949 private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName ) 950 { 951 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementNotFoundWarning", locale, fileName ); 952 assert _m != null : "'classpathElementNotFoundWarning' message not found."; 953 return _m; 954 } 955 /** 956 * Gets the text of the {@code <commandFailureMessage>} message. 957 * <p><dl> 958 * <dt><b>Languages:</b></dt> 959 * <dd>English (default)</dd> 960 * <dd>Deutsch</dd> 961 * <dt><b>Final:</b></dt><dd>No</dd> 962 * </dl></p> 963 * @param locale The locale of the message to return. 964 * @param toolName Format argument. 965 * @return The text of the {@code <commandFailureMessage>} message for {@code locale}. 966 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 967 */ 968 @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" ) 969 private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName ) 970 { 971 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandFailureMessage", locale, toolName ); 972 assert _m != null : "'commandFailureMessage' message not found."; 973 return _m; 974 } 975 /** 976 * Gets the text of the {@code <commandInfoMessage>} message. 977 * <p><dl> 978 * <dt><b>Languages:</b></dt> 979 * <dd>English (default)</dd> 980 * <dd>Deutsch</dd> 981 * <dt><b>Final:</b></dt><dd>No</dd> 982 * </dl></p> 983 * @param locale The locale of the message to return. 984 * @param toolName Format argument. 985 * @return The text of the {@code <commandInfoMessage>} message for {@code locale}. 986 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 987 */ 988 @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" ) 989 private String getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName ) 990 { 991 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandInfoMessage", locale, toolName ); 992 assert _m != null : "'commandInfoMessage' message not found."; 993 return _m; 994 } 995 /** 996 * Gets the text of the {@code <commandSuccessMessage>} message. 997 * <p><dl> 998 * <dt><b>Languages:</b></dt> 999 * <dd>English (default)</dd> 1000 * <dd>Deutsch</dd> 1001 * <dt><b>Final:</b></dt><dd>No</dd> 1002 * </dl></p> 1003 * @param locale The locale of the message to return. 1004 * @param toolName Format argument. 1005 * @return The text of the {@code <commandSuccessMessage>} message for {@code locale}. 1006 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1007 */ 1008 @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" ) 1009 private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName ) 1010 { 1011 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandSuccessMessage", locale, toolName ); 1012 assert _m != null : "'commandSuccessMessage' message not found."; 1013 return _m; 1014 } 1015 /** 1016 * Gets the text of the {@code <defaultLogLevelInfo>} message. 1017 * <p><dl> 1018 * <dt><b>Languages:</b></dt> 1019 * <dd>English (default)</dd> 1020 * <dd>Deutsch</dd> 1021 * <dt><b>Final:</b></dt><dd>No</dd> 1022 * </dl></p> 1023 * @param locale The locale of the message to return. 1024 * @param defaultLogLevel Format argument. 1025 * @return The text of the {@code <defaultLogLevelInfo>} message for {@code locale}. 1026 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1027 */ 1028 @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" ) 1029 private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel ) 1030 { 1031 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "defaultLogLevelInfo", locale, defaultLogLevel ); 1032 assert _m != null : "'defaultLogLevelInfo' message not found."; 1033 return _m; 1034 } 1035 /** 1036 * Gets the text of the {@code <disabledMessage>} message. 1037 * <p><dl> 1038 * <dt><b>Languages:</b></dt> 1039 * <dd>English (default)</dd> 1040 * <dd>Deutsch</dd> 1041 * <dt><b>Final:</b></dt><dd>No</dd> 1042 * </dl></p> 1043 * @param locale The locale of the message to return. 1044 * @return The text of the {@code <disabledMessage>} message for {@code locale}. 1045 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1046 */ 1047 @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" ) 1048 private String getDisabledMessage( final java.util.Locale locale ) 1049 { 1050 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "disabledMessage", locale ); 1051 assert _m != null : "'disabledMessage' message not found."; 1052 return _m; 1053 } 1054 /** 1055 * Gets the text of the {@code <documentFileInfo>} message. 1056 * <p><dl> 1057 * <dt><b>Languages:</b></dt> 1058 * <dd>English (default)</dd> 1059 * <dd>Deutsch</dd> 1060 * <dt><b>Final:</b></dt><dd>No</dd> 1061 * </dl></p> 1062 * @param locale The locale of the message to return. 1063 * @param documentFile Format argument. 1064 * @return The text of the {@code <documentFileInfo>} message for {@code locale}. 1065 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1066 */ 1067 @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" ) 1068 private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile ) 1069 { 1070 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileInfo", locale, documentFile ); 1071 assert _m != null : "'documentFileInfo' message not found."; 1072 return _m; 1073 } 1074 /** 1075 * Gets the text of the {@code <documentFileNotFoundWarning>} message. 1076 * <p><dl> 1077 * <dt><b>Languages:</b></dt> 1078 * <dd>English (default)</dd> 1079 * <dd>Deutsch</dd> 1080 * <dt><b>Final:</b></dt><dd>No</dd> 1081 * </dl></p> 1082 * @param locale The locale of the message to return. 1083 * @param fileName Format argument. 1084 * @return The text of the {@code <documentFileNotFoundWarning>} message for {@code locale}. 1085 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1086 */ 1087 @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" ) 1088 private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName ) 1089 { 1090 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileNotFoundWarning", locale, fileName ); 1091 assert _m != null : "'documentFileNotFoundWarning' message not found."; 1092 return _m; 1093 } 1094 /** 1095 * Gets the text of the {@code <excludedModletInfo>} message. 1096 * <p><dl> 1097 * <dt><b>Languages:</b></dt> 1098 * <dd>English (default)</dd> 1099 * <dd>Deutsch</dd> 1100 * <dt><b>Final:</b></dt><dd>No</dd> 1101 * </dl></p> 1102 * @param locale The locale of the message to return. 1103 * @param resourceName Format argument. 1104 * @param modletIdentifier Format argument. 1105 * @return The text of the {@code <excludedModletInfo>} message for {@code locale}. 1106 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1107 */ 1108 @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" ) 1109 private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier ) 1110 { 1111 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedModletInfo", locale, resourceName, modletIdentifier ); 1112 assert _m != null : "'excludedModletInfo' message not found."; 1113 return _m; 1114 } 1115 /** 1116 * Gets the text of the {@code <excludedProviderInfo>} message. 1117 * <p><dl> 1118 * <dt><b>Languages:</b></dt> 1119 * <dd>English (default)</dd> 1120 * <dd>Deutsch</dd> 1121 * <dt><b>Final:</b></dt><dd>No</dd> 1122 * </dl></p> 1123 * @param locale The locale of the message to return. 1124 * @param resourceName Format argument. 1125 * @param providerName Format argument. 1126 * @return The text of the {@code <excludedProviderInfo>} message for {@code locale}. 1127 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1128 */ 1129 @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" ) 1130 private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName ) 1131 { 1132 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedProviderInfo", locale, resourceName, providerName ); 1133 assert _m != null : "'excludedProviderInfo' message not found."; 1134 return _m; 1135 } 1136 /** 1137 * Gets the text of the {@code <excludedSchemaInfo>} message. 1138 * <p><dl> 1139 * <dt><b>Languages:</b></dt> 1140 * <dd>English (default)</dd> 1141 * <dd>Deutsch</dd> 1142 * <dt><b>Final:</b></dt><dd>No</dd> 1143 * </dl></p> 1144 * @param locale The locale of the message to return. 1145 * @param resourceName Format argument. 1146 * @param contextId Format argument. 1147 * @return The text of the {@code <excludedSchemaInfo>} message for {@code locale}. 1148 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1149 */ 1150 @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" ) 1151 private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId ) 1152 { 1153 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedSchemaInfo", locale, resourceName, contextId ); 1154 assert _m != null : "'excludedSchemaInfo' message not found."; 1155 return _m; 1156 } 1157 /** 1158 * Gets the text of the {@code <excludedServiceInfo>} message. 1159 * <p><dl> 1160 * <dt><b>Languages:</b></dt> 1161 * <dd>English (default)</dd> 1162 * <dd>Deutsch</dd> 1163 * <dt><b>Final:</b></dt><dd>No</dd> 1164 * </dl></p> 1165 * @param locale The locale of the message to return. 1166 * @param resourceName Format argument. 1167 * @param serviceName Format argument. 1168 * @return The text of the {@code <excludedServiceInfo>} message for {@code locale}. 1169 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1170 */ 1171 @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" ) 1172 private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName ) 1173 { 1174 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedServiceInfo", locale, resourceName, serviceName ); 1175 assert _m != null : "'excludedServiceInfo' message not found."; 1176 return _m; 1177 } 1178 /** 1179 * Gets the text of the {@code <failedCreatingObjectMessage>} message. 1180 * <p><dl> 1181 * <dt><b>Languages:</b></dt> 1182 * <dd>English (default)</dd> 1183 * <dd>Deutsch</dd> 1184 * <dt><b>Final:</b></dt><dd>No</dd> 1185 * </dl></p> 1186 * @param locale The locale of the message to return. 1187 * @param objectInfo Format argument. 1188 * @return The text of the {@code <failedCreatingObjectMessage>} message for {@code locale}. 1189 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1190 */ 1191 @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" ) 1192 private String getFailedCreatingObjectMessage( final java.util.Locale locale, final java.lang.String objectInfo ) 1193 { 1194 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "failedCreatingObjectMessage", locale, objectInfo ); 1195 assert _m != null : "'failedCreatingObjectMessage' message not found."; 1196 return _m; 1197 } 1198 /** 1199 * Gets the text of the {@code <implementationNotFoundWarning>} message. 1200 * <p><dl> 1201 * <dt><b>Languages:</b></dt> 1202 * <dd>English (default)</dd> 1203 * <dd>Deutsch</dd> 1204 * <dt><b>Final:</b></dt><dd>Yes</dd> 1205 * </dl></p> 1206 * @param locale The locale of the message to return. 1207 * @param implementationIdentifier Format argument. 1208 * @return The text of the {@code <implementationNotFoundWarning>} message for {@code locale}. 1209 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1210 */ 1211 @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" ) 1212 private String getImplementationNotFoundWarning( final java.util.Locale locale, final java.lang.String implementationIdentifier ) 1213 { 1214 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "implementationNotFoundWarning", locale, implementationIdentifier ); 1215 assert _m != null : "'implementationNotFoundWarning' message not found."; 1216 return _m; 1217 } 1218 /** 1219 * Gets the text of the {@code <invalidModelMessage>} message. 1220 * <p><dl> 1221 * <dt><b>Languages:</b></dt> 1222 * <dd>English (default)</dd> 1223 * <dd>Deutsch</dd> 1224 * <dt><b>Final:</b></dt><dd>No</dd> 1225 * </dl></p> 1226 * @param locale The locale of the message to return. 1227 * @param modelIdentifier Format argument. 1228 * @return The text of the {@code <invalidModelMessage>} message for {@code locale}. 1229 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1230 */ 1231 @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" ) 1232 private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier ) 1233 { 1234 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "invalidModelMessage", locale, modelIdentifier ); 1235 assert _m != null : "'invalidModelMessage' message not found."; 1236 return _m; 1237 } 1238 /** 1239 * Gets the text of the {@code <longDescriptionMessage>} message. 1240 * <p><dl> 1241 * <dt><b>Languages:</b></dt> 1242 * <dd>English (default)</dd> 1243 * <dt><b>Final:</b></dt><dd>No</dd> 1244 * </dl></p> 1245 * @param locale The locale of the message to return. 1246 * @return The text of the {@code <longDescriptionMessage>} message for {@code locale}. 1247 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1248 */ 1249 @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" ) 1250 private String getLongDescriptionMessage( final java.util.Locale locale ) 1251 { 1252 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "longDescriptionMessage", locale ); 1253 assert _m != null : "'longDescriptionMessage' message not found."; 1254 return _m; 1255 } 1256 /** 1257 * Gets the text of the {@code <moduleNotFoundWarning>} message. 1258 * <p><dl> 1259 * <dt><b>Languages:</b></dt> 1260 * <dd>English (default)</dd> 1261 * <dd>Deutsch</dd> 1262 * <dt><b>Final:</b></dt><dd>Yes</dd> 1263 * </dl></p> 1264 * @param locale The locale of the message to return. 1265 * @param moduleName Format argument. 1266 * @return The text of the {@code <moduleNotFoundWarning>} message for {@code locale}. 1267 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1268 */ 1269 @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" ) 1270 private String getModuleNotFoundWarning( final java.util.Locale locale, final java.lang.String moduleName ) 1271 { 1272 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleNotFoundWarning", locale, moduleName ); 1273 assert _m != null : "'moduleNotFoundWarning' message not found."; 1274 return _m; 1275 } 1276 /** 1277 * Gets the text of the {@code <readingMessage>} message. 1278 * <p><dl> 1279 * <dt><b>Languages:</b></dt> 1280 * <dd>English (default)</dd> 1281 * <dd>Deutsch</dd> 1282 * <dt><b>Final:</b></dt><dd>No</dd> 1283 * </dl></p> 1284 * @param locale The locale of the message to return. 1285 * @param locationInfo Format argument. 1286 * @return The text of the {@code <readingMessage>} message for {@code locale}. 1287 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1288 */ 1289 @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" ) 1290 private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo ) 1291 { 1292 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "readingMessage", locale, locationInfo ); 1293 assert _m != null : "'readingMessage' message not found."; 1294 return _m; 1295 } 1296 /** 1297 * Gets the text of the {@code <separator>} message. 1298 * <p><dl> 1299 * <dt><b>Languages:</b></dt> 1300 * <dd>English (default)</dd> 1301 * <dt><b>Final:</b></dt><dd>No</dd> 1302 * </dl></p> 1303 * @param locale The locale of the message to return. 1304 * @return The text of the {@code <separator>} message for {@code locale}. 1305 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1306 */ 1307 @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" ) 1308 private String getSeparator( final java.util.Locale locale ) 1309 { 1310 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "separator", locale ); 1311 assert _m != null : "'separator' message not found."; 1312 return _m; 1313 } 1314 /** 1315 * Gets the text of the {@code <shortDescriptionMessage>} message. 1316 * <p><dl> 1317 * <dt><b>Languages:</b></dt> 1318 * <dd>English (default)</dd> 1319 * <dt><b>Final:</b></dt><dd>No</dd> 1320 * </dl></p> 1321 * @param locale The locale of the message to return. 1322 * @return The text of the {@code <shortDescriptionMessage>} message for {@code locale}. 1323 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1324 */ 1325 @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" ) 1326 private String getShortDescriptionMessage( final java.util.Locale locale ) 1327 { 1328 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "shortDescriptionMessage", locale ); 1329 assert _m != null : "'shortDescriptionMessage' message not found."; 1330 return _m; 1331 } 1332 /** 1333 * Gets the text of the {@code <specificationNotFoundWarning>} message. 1334 * <p><dl> 1335 * <dt><b>Languages:</b></dt> 1336 * <dd>English (default)</dd> 1337 * <dd>Deutsch</dd> 1338 * <dt><b>Final:</b></dt><dd>Yes</dd> 1339 * </dl></p> 1340 * @param locale The locale of the message to return. 1341 * @param specificationIdentifier Format argument. 1342 * @return The text of the {@code <specificationNotFoundWarning>} message for {@code locale}. 1343 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1344 */ 1345 @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" ) 1346 private String getSpecificationNotFoundWarning( final java.util.Locale locale, final java.lang.String specificationIdentifier ) 1347 { 1348 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "specificationNotFoundWarning", locale, specificationIdentifier ); 1349 assert _m != null : "'specificationNotFoundWarning' message not found."; 1350 return _m; 1351 } 1352 // </editor-fold> 1353 // SECTION-END 1354 // SECTION-START[Generated Command] 1355 // <editor-fold defaultstate="collapsed" desc=" Generated Options "> 1356 /** 1357 * Gets the options of the command. 1358 * <p><strong>Options:</strong> 1359 * <table border="1" width="100%" cellpadding="3" cellspacing="0"> 1360 * <tr class="TableSubHeadingColor"> 1361 * <th align="left" scope="col" nowrap><b>Specification</b></th> 1362 * <th align="left" scope="col" nowrap><b>Implementation</b></th> 1363 * </tr> 1364 * <tr class="TableRow"> 1365 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1366 * <td align="left" valign="top" nowrap>JOMC CLI Classpath Option</td> 1367 * </tr> 1368 * <tr class="TableRow"> 1369 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1370 * <td align="left" valign="top" nowrap>JOMC CLI Country Option</td> 1371 * </tr> 1372 * <tr class="TableRow"> 1373 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1374 * <td align="left" valign="top" nowrap>JOMC CLI Default Template Profile Option</td> 1375 * </tr> 1376 * <tr class="TableRow"> 1377 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1378 * <td align="left" valign="top" nowrap>JOMC CLI Documents Option</td> 1379 * </tr> 1380 * <tr class="TableRow"> 1381 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1382 * <td align="left" valign="top" nowrap>JOMC CLI Implementation Option</td> 1383 * </tr> 1384 * <tr class="TableRow"> 1385 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1386 * <td align="left" valign="top" nowrap>JOMC CLI Indentation String Option</td> 1387 * </tr> 1388 * <tr class="TableRow"> 1389 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1390 * <td align="left" valign="top" nowrap>JOMC CLI Input Encoding Option</td> 1391 * </tr> 1392 * <tr class="TableRow"> 1393 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1394 * <td align="left" valign="top" nowrap>JOMC CLI Language Option</td> 1395 * </tr> 1396 * <tr class="TableRow"> 1397 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1398 * <td align="left" valign="top" nowrap>JOMC CLI Line Separator Option</td> 1399 * </tr> 1400 * <tr class="TableRow"> 1401 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1402 * <td align="left" valign="top" nowrap>JOMC CLI Locale Variant Option</td> 1403 * </tr> 1404 * <tr class="TableRow"> 1405 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1406 * <td align="left" valign="top" nowrap>JOMC CLI ModelContextFactory Class Name Option</td> 1407 * </tr> 1408 * <tr class="TableRow"> 1409 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1410 * <td align="left" valign="top" nowrap>JOMC CLI Model Option</td> 1411 * </tr> 1412 * <tr class="TableRow"> 1413 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1414 * <td align="left" valign="top" nowrap>JOMC CLI Modlet Location Option</td> 1415 * </tr> 1416 * <tr class="TableRow"> 1417 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1418 * <td align="left" valign="top" nowrap>JOMC CLI Modlet Schema System Id Option</td> 1419 * </tr> 1420 * <tr class="TableRow"> 1421 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1422 * <td align="left" valign="top" nowrap>JOMC CLI Module Location Option</td> 1423 * </tr> 1424 * <tr class="TableRow"> 1425 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1426 * <td align="left" valign="top" nowrap>JOMC CLI Module Name Option</td> 1427 * </tr> 1428 * <tr class="TableRow"> 1429 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1430 * <td align="left" valign="top" nowrap>JOMC CLI No Classpath Resolution Option</td> 1431 * </tr> 1432 * <tr class="TableRow"> 1433 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1434 * <td align="left" valign="top" nowrap>JOMC CLI No Model Processing Option</td> 1435 * </tr> 1436 * <tr class="TableRow"> 1437 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1438 * <td align="left" valign="top" nowrap>JOMC CLI No Model Resource Validation Option</td> 1439 * </tr> 1440 * <tr class="TableRow"> 1441 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1442 * <td align="left" valign="top" nowrap>JOMC CLI No Modlet Resource Validation Option</td> 1443 * </tr> 1444 * <tr class="TableRow"> 1445 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1446 * <td align="left" valign="top" nowrap>JOMC CLI No Source File Processing Option</td> 1447 * </tr> 1448 * <tr class="TableRow"> 1449 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1450 * <td align="left" valign="top" nowrap>JOMC CLI Output Encoding Option</td> 1451 * </tr> 1452 * <tr class="TableRow"> 1453 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1454 * <td align="left" valign="top" nowrap>JOMC CLI Platform Provider Location Option</td> 1455 * </tr> 1456 * <tr class="TableRow"> 1457 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1458 * <td align="left" valign="top" nowrap>JOMC CLI Provider Location Option</td> 1459 * </tr> 1460 * <tr class="TableRow"> 1461 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1462 * <td align="left" valign="top" nowrap>JOMC CLI Source Directory Option</td> 1463 * </tr> 1464 * <tr class="TableRow"> 1465 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1466 * <td align="left" valign="top" nowrap>JOMC CLI SourceFileProcessor Class Name Option</td> 1467 * </tr> 1468 * <tr class="TableRow"> 1469 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1470 * <td align="left" valign="top" nowrap>JOMC CLI Specification Option</td> 1471 * </tr> 1472 * <tr class="TableRow"> 1473 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1474 * <td align="left" valign="top" nowrap>JOMC CLI Template Encoding Option</td> 1475 * </tr> 1476 * <tr class="TableRow"> 1477 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1478 * <td align="left" valign="top" nowrap>JOMC CLI Template Location Option</td> 1479 * </tr> 1480 * <tr class="TableRow"> 1481 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1482 * <td align="left" valign="top" nowrap>JOMC CLI Template Profile Option</td> 1483 * </tr> 1484 * <tr class="TableRow"> 1485 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1486 * <td align="left" valign="top" nowrap>JOMC CLI Transformer Location Option</td> 1487 * </tr> 1488 * </table> 1489 * </p> 1490 * @return The options of the command. 1491 */ 1492 @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" ) 1493 @Override 1494 public org.apache.commons.cli.Options getOptions() 1495 { 1496 final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options(); 1497 options.addOption( this.getClasspathOption() ); 1498 options.addOption( this.getCountryOption() ); 1499 options.addOption( this.getDefaultTemplateProfileOption() ); 1500 options.addOption( this.getDocumentsOption() ); 1501 options.addOption( this.getImplementationOption() ); 1502 options.addOption( this.getIndentationStringOption() ); 1503 options.addOption( this.getInputEncodingOption() ); 1504 options.addOption( this.getLanguageOption() ); 1505 options.addOption( this.getLineSeparatorOption() ); 1506 options.addOption( this.getLocaleVariantOption() ); 1507 options.addOption( this.getModelContextFactoryOption() ); 1508 options.addOption( this.getModelOption() ); 1509 options.addOption( this.getModletLocationOption() ); 1510 options.addOption( this.getModletSchemaSystemIdOption() ); 1511 options.addOption( this.getModuleLocationOption() ); 1512 options.addOption( this.getModuleNameOption() ); 1513 options.addOption( this.getNoClasspathResolutionOption() ); 1514 options.addOption( this.getNoModelProcessingOption() ); 1515 options.addOption( this.getNoModelResourceValidation() ); 1516 options.addOption( this.getNoModletResourceValidation() ); 1517 options.addOption( this.getNoSourceProcessingOption() ); 1518 options.addOption( this.getOutputEncodingOption() ); 1519 options.addOption( this.getPlatformProviderLocationOption() ); 1520 options.addOption( this.getProviderLocationOption() ); 1521 options.addOption( this.getSourceDirectoryOption() ); 1522 options.addOption( this.getSourceFileProcessorOption() ); 1523 options.addOption( this.getSpecificationOption() ); 1524 options.addOption( this.getTemplateEncodingOption() ); 1525 options.addOption( this.getTemplateLocationOption() ); 1526 options.addOption( this.getTemplateProfileOption() ); 1527 options.addOption( this.getTransformerLocationOption() ); 1528 return options; 1529 } 1530 // </editor-fold> 1531 // SECTION-END 1532 }