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: AbstractClassFileProcessorCommand.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.util.logging.Level; 039import org.apache.commons.cli.CommandLine; 040import org.jomc.tools.ClassFileProcessor; 041 042// SECTION-START[Documentation] 043// <editor-fold defaultstate="collapsed" desc=" Generated Documentation "> 044/** 045 * JOMC CLI {@code ClassFileProcessor} based command implementation. 046 * 047 * <dl> 048 * <dt><b>Identifier:</b></dt><dd>JOMC CLI ClassFileProcessor Command</dd> 049 * <dt><b>Name:</b></dt><dd>JOMC CLI ClassFileProcessor Command</dd> 050 * <dt><b>Specifications:</b></dt> 051 * <dd>JOMC CLI Command @ 1.0</dd> 052 * <dt><b>Abstract:</b></dt><dd>Yes</dd> 053 * <dt><b>Final:</b></dt><dd>No</dd> 054 * <dt><b>Stateless:</b></dt><dd>No</dd> 055 * </dl> 056 * 057 * @author <a href="mailto:schulte2005@users.sourceforge.net">Christian Schulte</a> 1.2 058 * @version 1.3 059 */ 060// </editor-fold> 061// SECTION-END 062// SECTION-START[Annotations] 063// <editor-fold defaultstate="collapsed" desc=" Generated Annotations "> 064@javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 065// </editor-fold> 066// SECTION-END 067public abstract class AbstractClassFileProcessorCommand extends AbstractJomcToolCommand 068{ 069 // SECTION-START[Command] 070 // SECTION-END 071 // SECTION-START[AbstractClassFileProcessorCommand] 072 073 /** 074 * Creates a new {@code ClassFileProcessor} instance taking a command line. 075 * 076 * @param commandLine The command line to process. 077 * 078 * @return A new {@code ClassFileProcessor} instance as specified by the given command line. 079 * 080 * @throws NullPointerException if {@code commandLine} is {@code null}. 081 * @throws CommandExecutionException if creating a new instance fails. 082 */ 083 protected ClassFileProcessor createClassFileProcessor( final CommandLine commandLine ) 084 throws CommandExecutionException 085 { 086 if ( commandLine == null ) 087 { 088 throw new NullPointerException( "commandLine" ); 089 } 090 091 final String className = commandLine.hasOption( this.getClassFileProcessorOption().getOpt() ) 092 ? commandLine.getOptionValue( this.getClassFileProcessorOption().getOpt() ) 093 : ClassFileProcessor.class.getName(); 094 095 final ClassFileProcessor tool = this.createJomcTool( className, ClassFileProcessor.class, commandLine ); 096 return tool; 097 } 098 099 /** {@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.getNoClassProcessingOption().getOpt() ) ) 108 { 109 this.log( Level.INFO, this.getDisabledMessage( this.getLocale() ), null ); 110 } 111 else 112 { 113 this.processClassFiles( commandLine ); 114 } 115 } 116 117 /** 118 * Processes class files. 119 * 120 * @param commandLine The command line to execute. 121 * 122 * @throws CommandExecutionException if processing class files fails. 123 */ 124 protected abstract void processClassFiles( 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 AbstractClassFileProcessorCommand} instance. */ 130 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 131 public AbstractClassFileProcessorCommand() 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 <ClassFileProcessorOption>} dependency. 143 * <p> 144 * This method returns the {@code <JOMC CLI ClassFileProcessor Class Name 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 <ClassFileProcessorOption>} dependency. 151 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 152 */ 153 @SuppressWarnings("unused") 154 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 155 private org.apache.commons.cli.Option getClassFileProcessorOption() 156 { 157 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClassFileProcessorOption" ); 158 assert _d != null : "'ClassFileProcessorOption' dependency not found."; 159 return _d; 160 } 161 /** 162 * Gets the {@code <ClasspathOption>} dependency. 163 * <p> 164 * This method returns the {@code <JOMC CLI Classpath Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 165 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 166 * </p> 167 * <dl> 168 * <dt><b>Final:</b></dt><dd>No</dd> 169 * </dl> 170 * @return The {@code <ClasspathOption>} dependency. 171 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 172 */ 173 @SuppressWarnings("unused") 174 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 175 private org.apache.commons.cli.Option getClasspathOption() 176 { 177 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ClasspathOption" ); 178 assert _d != null : "'ClasspathOption' dependency not found."; 179 return _d; 180 } 181 /** 182 * Gets the {@code <CountryOption>} dependency. 183 * <p> 184 * This method returns the {@code <JOMC CLI Country Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 185 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 186 * </p> 187 * <dl> 188 * <dt><b>Final:</b></dt><dd>No</dd> 189 * </dl> 190 * @return The {@code <CountryOption>} dependency. 191 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 192 */ 193 @SuppressWarnings("unused") 194 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 195 private org.apache.commons.cli.Option getCountryOption() 196 { 197 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "CountryOption" ); 198 assert _d != null : "'CountryOption' dependency not found."; 199 return _d; 200 } 201 /** 202 * Gets the {@code <DefaultTemplateEncodingOption>} dependency. 203 * <p> 204 * This method returns the {@code <JOMC CLI Default Template Encoding Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 205 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 206 * </p> 207 * <dl> 208 * <dt><b>Final:</b></dt><dd>No</dd> 209 * </dl> 210 * @return The {@code <DefaultTemplateEncodingOption>} dependency. 211 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 212 */ 213 @SuppressWarnings("unused") 214 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 215 private org.apache.commons.cli.Option getDefaultTemplateEncodingOption() 216 { 217 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DefaultTemplateEncodingOption" ); 218 assert _d != null : "'DefaultTemplateEncodingOption' dependency not found."; 219 return _d; 220 } 221 /** 222 * Gets the {@code <DefaultTemplateProfileOption>} dependency. 223 * <p> 224 * 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. 225 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 226 * </p> 227 * <dl> 228 * <dt><b>Final:</b></dt><dd>No</dd> 229 * </dl> 230 * @return The {@code <DefaultTemplateProfileOption>} dependency. 231 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 232 */ 233 @SuppressWarnings("unused") 234 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 235 private org.apache.commons.cli.Option getDefaultTemplateProfileOption() 236 { 237 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DefaultTemplateProfileOption" ); 238 assert _d != null : "'DefaultTemplateProfileOption' dependency not found."; 239 return _d; 240 } 241 /** 242 * Gets the {@code <DocumentsOption>} dependency. 243 * <p> 244 * This method returns the {@code <JOMC CLI Documents Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 245 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 246 * </p> 247 * <dl> 248 * <dt><b>Final:</b></dt><dd>No</dd> 249 * </dl> 250 * @return The {@code <DocumentsOption>} dependency. 251 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 252 */ 253 @SuppressWarnings("unused") 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 private org.apache.commons.cli.Option getDocumentsOption() 256 { 257 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "DocumentsOption" ); 258 assert _d != null : "'DocumentsOption' dependency not found."; 259 return _d; 260 } 261 /** 262 * Gets the {@code <ImplementationOption>} dependency. 263 * <p> 264 * This method returns the {@code <JOMC CLI Implementation Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 265 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 266 * </p> 267 * <dl> 268 * <dt><b>Final:</b></dt><dd>No</dd> 269 * </dl> 270 * @return The {@code <ImplementationOption>} dependency. 271 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 272 */ 273 @SuppressWarnings("unused") 274 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 275 private org.apache.commons.cli.Option getImplementationOption() 276 { 277 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ImplementationOption" ); 278 assert _d != null : "'ImplementationOption' dependency not found."; 279 return _d; 280 } 281 /** 282 * Gets the {@code <IndentationStringOption>} dependency. 283 * <p> 284 * This method returns the {@code <JOMC CLI Indentation String Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 285 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 286 * </p> 287 * <dl> 288 * <dt><b>Final:</b></dt><dd>No</dd> 289 * </dl> 290 * @return The {@code <IndentationStringOption>} dependency. 291 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 292 */ 293 @SuppressWarnings("unused") 294 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 295 private org.apache.commons.cli.Option getIndentationStringOption() 296 { 297 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "IndentationStringOption" ); 298 assert _d != null : "'IndentationStringOption' dependency not found."; 299 return _d; 300 } 301 /** 302 * Gets the {@code <InputEncodingOption>} dependency. 303 * <p> 304 * This method returns the {@code <JOMC CLI Input Encoding Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 305 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 306 * </p> 307 * <dl> 308 * <dt><b>Final:</b></dt><dd>No</dd> 309 * </dl> 310 * @return The {@code <InputEncodingOption>} dependency. 311 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 312 */ 313 @SuppressWarnings("unused") 314 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 315 private org.apache.commons.cli.Option getInputEncodingOption() 316 { 317 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "InputEncodingOption" ); 318 assert _d != null : "'InputEncodingOption' dependency not found."; 319 return _d; 320 } 321 /** 322 * Gets the {@code <LanguageOption>} dependency. 323 * <p> 324 * This method returns the {@code <JOMC CLI Language Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 325 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 326 * </p> 327 * <dl> 328 * <dt><b>Final:</b></dt><dd>No</dd> 329 * </dl> 330 * @return The {@code <LanguageOption>} dependency. 331 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 332 */ 333 @SuppressWarnings("unused") 334 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 335 private org.apache.commons.cli.Option getLanguageOption() 336 { 337 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LanguageOption" ); 338 assert _d != null : "'LanguageOption' dependency not found."; 339 return _d; 340 } 341 /** 342 * Gets the {@code <LineSeparatorOption>} dependency. 343 * <p> 344 * This method returns the {@code <JOMC CLI Line Separator Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 345 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 346 * </p> 347 * <dl> 348 * <dt><b>Final:</b></dt><dd>No</dd> 349 * </dl> 350 * @return The {@code <LineSeparatorOption>} dependency. 351 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 352 */ 353 @SuppressWarnings("unused") 354 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 355 private org.apache.commons.cli.Option getLineSeparatorOption() 356 { 357 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LineSeparatorOption" ); 358 assert _d != null : "'LineSeparatorOption' dependency not found."; 359 return _d; 360 } 361 /** 362 * Gets the {@code <Locale>} dependency. 363 * <p> 364 * This method returns the {@code <default>} object of the {@code <java.util.Locale>} specification at specification level 1.1. 365 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 366 * </p> 367 * <dl> 368 * <dt><b>Final:</b></dt><dd>No</dd> 369 * </dl> 370 * @return The {@code <Locale>} dependency. 371 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 372 */ 373 @SuppressWarnings("unused") 374 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 375 private java.util.Locale getLocale() 376 { 377 final java.util.Locale _d = (java.util.Locale) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "Locale" ); 378 assert _d != null : "'Locale' dependency not found."; 379 return _d; 380 } 381 /** 382 * Gets the {@code <LocaleVariantOption>} dependency. 383 * <p> 384 * This method returns the {@code <JOMC CLI Locale Variant Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 385 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 386 * </p> 387 * <dl> 388 * <dt><b>Final:</b></dt><dd>No</dd> 389 * </dl> 390 * @return The {@code <LocaleVariantOption>} dependency. 391 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 392 */ 393 @SuppressWarnings("unused") 394 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 395 private org.apache.commons.cli.Option getLocaleVariantOption() 396 { 397 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "LocaleVariantOption" ); 398 assert _d != null : "'LocaleVariantOption' dependency not found."; 399 return _d; 400 } 401 /** 402 * Gets the {@code <ModelContextFactoryOption>} dependency. 403 * <p> 404 * 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. 405 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 406 * </p> 407 * <dl> 408 * <dt><b>Final:</b></dt><dd>No</dd> 409 * </dl> 410 * @return The {@code <ModelContextFactoryOption>} dependency. 411 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 412 */ 413 @SuppressWarnings("unused") 414 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 415 private org.apache.commons.cli.Option getModelContextFactoryOption() 416 { 417 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelContextFactoryOption" ); 418 assert _d != null : "'ModelContextFactoryOption' dependency not found."; 419 return _d; 420 } 421 /** 422 * Gets the {@code <ModelOption>} dependency. 423 * <p> 424 * This method returns the {@code <JOMC CLI Model Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 425 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 426 * </p> 427 * <dl> 428 * <dt><b>Final:</b></dt><dd>No</dd> 429 * </dl> 430 * @return The {@code <ModelOption>} dependency. 431 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 432 */ 433 @SuppressWarnings("unused") 434 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 435 private org.apache.commons.cli.Option getModelOption() 436 { 437 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModelOption" ); 438 assert _d != null : "'ModelOption' dependency not found."; 439 return _d; 440 } 441 /** 442 * Gets the {@code <ModletLocationOption>} dependency. 443 * <p> 444 * This method returns the {@code <JOMC CLI Modlet Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 445 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 446 * </p> 447 * <dl> 448 * <dt><b>Final:</b></dt><dd>No</dd> 449 * </dl> 450 * @return The {@code <ModletLocationOption>} dependency. 451 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 452 */ 453 @SuppressWarnings("unused") 454 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 455 private org.apache.commons.cli.Option getModletLocationOption() 456 { 457 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletLocationOption" ); 458 assert _d != null : "'ModletLocationOption' dependency not found."; 459 return _d; 460 } 461 /** 462 * Gets the {@code <ModletSchemaSystemIdOption>} dependency. 463 * <p> 464 * 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. 465 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 466 * </p> 467 * <dl> 468 * <dt><b>Final:</b></dt><dd>No</dd> 469 * </dl> 470 * @return The {@code <ModletSchemaSystemIdOption>} dependency. 471 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 472 */ 473 @SuppressWarnings("unused") 474 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 475 private org.apache.commons.cli.Option getModletSchemaSystemIdOption() 476 { 477 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModletSchemaSystemIdOption" ); 478 assert _d != null : "'ModletSchemaSystemIdOption' dependency not found."; 479 return _d; 480 } 481 /** 482 * Gets the {@code <ModuleLocationOption>} dependency. 483 * <p> 484 * This method returns the {@code <JOMC CLI Module Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 485 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 486 * </p> 487 * <dl> 488 * <dt><b>Final:</b></dt><dd>No</dd> 489 * </dl> 490 * @return The {@code <ModuleLocationOption>} dependency. 491 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 492 */ 493 @SuppressWarnings("unused") 494 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 495 private org.apache.commons.cli.Option getModuleLocationOption() 496 { 497 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleLocationOption" ); 498 assert _d != null : "'ModuleLocationOption' dependency not found."; 499 return _d; 500 } 501 /** 502 * Gets the {@code <ModuleNameOption>} dependency. 503 * <p> 504 * This method returns the {@code <JOMC CLI Module Name Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 505 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 506 * </p> 507 * <dl> 508 * <dt><b>Final:</b></dt><dd>No</dd> 509 * </dl> 510 * @return The {@code <ModuleNameOption>} dependency. 511 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 512 */ 513 @SuppressWarnings("unused") 514 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 515 private org.apache.commons.cli.Option getModuleNameOption() 516 { 517 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ModuleNameOption" ); 518 assert _d != null : "'ModuleNameOption' dependency not found."; 519 return _d; 520 } 521 /** 522 * Gets the {@code <NoClassProcessingOption>} dependency. 523 * <p> 524 * This method returns the {@code <JOMC CLI No Class File Processing 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 <NoClassProcessingOption>} dependency. 531 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 532 */ 533 @SuppressWarnings("unused") 534 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 535 private org.apache.commons.cli.Option getNoClassProcessingOption() 536 { 537 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoClassProcessingOption" ); 538 assert _d != null : "'NoClassProcessingOption' dependency not found."; 539 return _d; 540 } 541 /** 542 * Gets the {@code <NoClasspathResolutionOption>} dependency. 543 * <p> 544 * 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. 545 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 546 * </p> 547 * <dl> 548 * <dt><b>Final:</b></dt><dd>No</dd> 549 * </dl> 550 * @return The {@code <NoClasspathResolutionOption>} dependency. 551 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 552 */ 553 @SuppressWarnings("unused") 554 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 555 private org.apache.commons.cli.Option getNoClasspathResolutionOption() 556 { 557 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoClasspathResolutionOption" ); 558 assert _d != null : "'NoClasspathResolutionOption' dependency not found."; 559 return _d; 560 } 561 /** 562 * Gets the {@code <NoModelProcessingOption>} dependency. 563 * <p> 564 * 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. 565 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 566 * </p> 567 * <dl> 568 * <dt><b>Final:</b></dt><dd>No</dd> 569 * </dl> 570 * @return The {@code <NoModelProcessingOption>} dependency. 571 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 572 */ 573 @SuppressWarnings("unused") 574 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 575 private org.apache.commons.cli.Option getNoModelProcessingOption() 576 { 577 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelProcessingOption" ); 578 assert _d != null : "'NoModelProcessingOption' dependency not found."; 579 return _d; 580 } 581 /** 582 * Gets the {@code <NoModelResourceValidation>} dependency. 583 * <p> 584 * 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. 585 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 586 * </p> 587 * <dl> 588 * <dt><b>Final:</b></dt><dd>No</dd> 589 * </dl> 590 * @return The {@code <NoModelResourceValidation>} dependency. 591 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 592 */ 593 @SuppressWarnings("unused") 594 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 595 private org.apache.commons.cli.Option getNoModelResourceValidation() 596 { 597 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModelResourceValidation" ); 598 assert _d != null : "'NoModelResourceValidation' dependency not found."; 599 return _d; 600 } 601 /** 602 * Gets the {@code <NoModletResourceValidation>} dependency. 603 * <p> 604 * 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. 605 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 606 * </p> 607 * <dl> 608 * <dt><b>Final:</b></dt><dd>No</dd> 609 * </dl> 610 * @return The {@code <NoModletResourceValidation>} dependency. 611 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 612 */ 613 @SuppressWarnings("unused") 614 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 615 private org.apache.commons.cli.Option getNoModletResourceValidation() 616 { 617 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "NoModletResourceValidation" ); 618 assert _d != null : "'NoModletResourceValidation' dependency not found."; 619 return _d; 620 } 621 /** 622 * Gets the {@code <OutputEncodingOption>} dependency. 623 * <p> 624 * This method returns the {@code <JOMC CLI Output Encoding Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 625 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 626 * </p> 627 * <dl> 628 * <dt><b>Final:</b></dt><dd>No</dd> 629 * </dl> 630 * @return The {@code <OutputEncodingOption>} dependency. 631 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 632 */ 633 @SuppressWarnings("unused") 634 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 635 private org.apache.commons.cli.Option getOutputEncodingOption() 636 { 637 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "OutputEncodingOption" ); 638 assert _d != null : "'OutputEncodingOption' dependency not found."; 639 return _d; 640 } 641 /** 642 * Gets the {@code <PlatformProviderLocationOption>} dependency. 643 * <p> 644 * 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. 645 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 646 * </p> 647 * <dl> 648 * <dt><b>Final:</b></dt><dd>No</dd> 649 * </dl> 650 * @return The {@code <PlatformProviderLocationOption>} dependency. 651 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 652 */ 653 @SuppressWarnings("unused") 654 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 655 private org.apache.commons.cli.Option getPlatformProviderLocationOption() 656 { 657 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "PlatformProviderLocationOption" ); 658 assert _d != null : "'PlatformProviderLocationOption' dependency not found."; 659 return _d; 660 } 661 /** 662 * Gets the {@code <ProviderLocationOption>} dependency. 663 * <p> 664 * This method returns the {@code <JOMC CLI Provider Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 665 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 666 * </p> 667 * <dl> 668 * <dt><b>Final:</b></dt><dd>No</dd> 669 * </dl> 670 * @return The {@code <ProviderLocationOption>} dependency. 671 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 672 */ 673 @SuppressWarnings("unused") 674 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 675 private org.apache.commons.cli.Option getProviderLocationOption() 676 { 677 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "ProviderLocationOption" ); 678 assert _d != null : "'ProviderLocationOption' dependency not found."; 679 return _d; 680 } 681 /** 682 * Gets the {@code <SpecificationOption>} dependency. 683 * <p> 684 * This method returns the {@code <JOMC CLI Specification Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 685 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 686 * </p> 687 * <dl> 688 * <dt><b>Final:</b></dt><dd>No</dd> 689 * </dl> 690 * @return The {@code <SpecificationOption>} dependency. 691 * @throws org.jomc.ObjectManagementException if getting the dependency 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 org.apache.commons.cli.Option getSpecificationOption() 696 { 697 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "SpecificationOption" ); 698 assert _d != null : "'SpecificationOption' dependency not found."; 699 return _d; 700 } 701 /** 702 * Gets the {@code <TemplateEncodingOption>} dependency. 703 * <p> 704 * This method returns the {@code <JOMC CLI Template Encoding Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 705 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 706 * </p> 707 * <dl> 708 * <dt><b>Final:</b></dt><dd>No</dd> 709 * </dl> 710 * @return The {@code <TemplateEncodingOption>} dependency. 711 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 712 */ 713 @Deprecated 714 @SuppressWarnings("unused") 715 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 716 private org.apache.commons.cli.Option getTemplateEncodingOption() 717 { 718 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateEncodingOption" ); 719 assert _d != null : "'TemplateEncodingOption' dependency not found."; 720 return _d; 721 } 722 /** 723 * Gets the {@code <TemplateLocationOption>} dependency. 724 * <p> 725 * This method returns the {@code <JOMC CLI Template Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 726 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 727 * </p> 728 * <dl> 729 * <dt><b>Final:</b></dt><dd>No</dd> 730 * </dl> 731 * @return The {@code <TemplateLocationOption>} dependency. 732 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 733 */ 734 @SuppressWarnings("unused") 735 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 736 private org.apache.commons.cli.Option getTemplateLocationOption() 737 { 738 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateLocationOption" ); 739 assert _d != null : "'TemplateLocationOption' dependency not found."; 740 return _d; 741 } 742 /** 743 * Gets the {@code <TemplateProfileOption>} dependency. 744 * <p> 745 * This method returns the {@code <JOMC CLI Template Profile Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 746 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 747 * </p> 748 * <dl> 749 * <dt><b>Final:</b></dt><dd>No</dd> 750 * </dl> 751 * @return The {@code <TemplateProfileOption>} dependency. 752 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 753 */ 754 @SuppressWarnings("unused") 755 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 756 private org.apache.commons.cli.Option getTemplateProfileOption() 757 { 758 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TemplateProfileOption" ); 759 assert _d != null : "'TemplateProfileOption' dependency not found."; 760 return _d; 761 } 762 /** 763 * Gets the {@code <TransformerLocationOption>} dependency. 764 * <p> 765 * This method returns the {@code <JOMC CLI Transformer Location Option>} object of the {@code <JOMC CLI Command Option>} specification at specification level 1.2. 766 * That specification does not apply to any scope. A new object is returned whenever requested and bound to this instance. 767 * </p> 768 * <dl> 769 * <dt><b>Final:</b></dt><dd>No</dd> 770 * </dl> 771 * @return The {@code <TransformerLocationOption>} dependency. 772 * @throws org.jomc.ObjectManagementException if getting the dependency instance fails. 773 */ 774 @SuppressWarnings("unused") 775 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 776 private org.apache.commons.cli.Option getTransformerLocationOption() 777 { 778 final org.apache.commons.cli.Option _d = (org.apache.commons.cli.Option) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getDependency( this, "TransformerLocationOption" ); 779 assert _d != null : "'TransformerLocationOption' dependency not found."; 780 return _d; 781 } 782 // </editor-fold> 783 // SECTION-END 784 // SECTION-START[Properties] 785 // <editor-fold defaultstate="collapsed" desc=" Generated Properties "> 786 /** 787 * Gets the value of the {@code <abbreviatedCommandName>} property. 788 * <p><dl> 789 * <dt><b>Final:</b></dt><dd>No</dd> 790 * </dl></p> 791 * @return Abbreviated name of the command. 792 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 793 */ 794 @SuppressWarnings("unused") 795 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 796 private java.lang.String getAbbreviatedCommandName() 797 { 798 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "abbreviatedCommandName" ); 799 assert _p != null : "'abbreviatedCommandName' property not found."; 800 return _p; 801 } 802 /** 803 * Gets the value of the {@code <applicationModlet>} property. 804 * <p><dl> 805 * <dt><b>Final:</b></dt><dd>Yes</dd> 806 * </dl></p> 807 * @return Name of the 'shaded' application modlet. 808 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 809 */ 810 @SuppressWarnings("unused") 811 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 812 private java.lang.String getApplicationModlet() 813 { 814 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "applicationModlet" ); 815 assert _p != null : "'applicationModlet' property not found."; 816 return _p; 817 } 818 /** 819 * Gets the value of the {@code <commandName>} property. 820 * <p><dl> 821 * <dt><b>Final:</b></dt><dd>No</dd> 822 * </dl></p> 823 * @return Name of the command. 824 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 825 */ 826 @SuppressWarnings("unused") 827 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 828 private java.lang.String getCommandName() 829 { 830 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "commandName" ); 831 assert _p != null : "'commandName' property not found."; 832 return _p; 833 } 834 /** 835 * Gets the value of the {@code <modletExcludes>} property. 836 * <p><dl> 837 * <dt><b>Final:</b></dt><dd>Yes</dd> 838 * </dl></p> 839 * @return List of modlet names to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 840 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 841 */ 842 @SuppressWarnings("unused") 843 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 844 private java.lang.String getModletExcludes() 845 { 846 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "modletExcludes" ); 847 assert _p != null : "'modletExcludes' property not found."; 848 return _p; 849 } 850 /** 851 * Gets the value of the {@code <providerExcludes>} property. 852 * <p><dl> 853 * <dt><b>Final:</b></dt><dd>Yes</dd> 854 * </dl></p> 855 * @return List of providers to exclude from any {@code META-INF/services} files separated by {@code :}. 856 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 857 */ 858 @SuppressWarnings("unused") 859 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 860 private java.lang.String getProviderExcludes() 861 { 862 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "providerExcludes" ); 863 assert _p != null : "'providerExcludes' property not found."; 864 return _p; 865 } 866 /** 867 * Gets the value of the {@code <schemaExcludes>} property. 868 * <p><dl> 869 * <dt><b>Final:</b></dt><dd>Yes</dd> 870 * </dl></p> 871 * @return List of schema context-ids to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 872 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 873 */ 874 @SuppressWarnings("unused") 875 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 876 private java.lang.String getSchemaExcludes() 877 { 878 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "schemaExcludes" ); 879 assert _p != null : "'schemaExcludes' property not found."; 880 return _p; 881 } 882 /** 883 * Gets the value of the {@code <serviceExcludes>} property. 884 * <p><dl> 885 * <dt><b>Final:</b></dt><dd>Yes</dd> 886 * </dl></p> 887 * @return List of service classes to exclude from any {@code META-INF/jomc-modlet.xml} files separated by {@code :}. 888 * @throws org.jomc.ObjectManagementException if getting the property instance fails. 889 */ 890 @SuppressWarnings("unused") 891 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 892 private java.lang.String getServiceExcludes() 893 { 894 final java.lang.String _p = (java.lang.String) org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getProperty( this, "serviceExcludes" ); 895 assert _p != null : "'serviceExcludes' property not found."; 896 return _p; 897 } 898 // </editor-fold> 899 // SECTION-END 900 // SECTION-START[Messages] 901 // <editor-fold defaultstate="collapsed" desc=" Generated Messages "> 902 /** 903 * Gets the text of the {@code <applicationTitle>} message. 904 * <p><dl> 905 * <dt><b>Languages:</b></dt> 906 * <dd>English (default)</dd> 907 * <dt><b>Final:</b></dt><dd>No</dd> 908 * </dl></p> 909 * @param locale The locale of the message to return. 910 * @return The text of the {@code <applicationTitle>} message for {@code locale}. 911 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 912 */ 913 @SuppressWarnings("unused") 914 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 915 private String getApplicationTitle( final java.util.Locale locale ) 916 { 917 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "applicationTitle", locale ); 918 assert _m != null : "'applicationTitle' message not found."; 919 return _m; 920 } 921 /** 922 * Gets the text of the {@code <cannotProcessMessage>} message. 923 * <p><dl> 924 * <dt><b>Languages:</b></dt> 925 * <dd>English (default)</dd> 926 * <dd>Deutsch</dd> 927 * <dt><b>Final:</b></dt><dd>No</dd> 928 * </dl></p> 929 * @param locale The locale of the message to return. 930 * @param itemInfo Format argument. 931 * @param detailMessage Format argument. 932 * @return The text of the {@code <cannotProcessMessage>} message for {@code locale}. 933 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 934 */ 935 @SuppressWarnings("unused") 936 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 937 private String getCannotProcessMessage( final java.util.Locale locale, final java.lang.String itemInfo, final java.lang.String detailMessage ) 938 { 939 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "cannotProcessMessage", locale, itemInfo, detailMessage ); 940 assert _m != null : "'cannotProcessMessage' message not found."; 941 return _m; 942 } 943 /** 944 * Gets the text of the {@code <classpathElementInfo>} message. 945 * <p><dl> 946 * <dt><b>Languages:</b></dt> 947 * <dd>English (default)</dd> 948 * <dd>Deutsch</dd> 949 * <dt><b>Final:</b></dt><dd>No</dd> 950 * </dl></p> 951 * @param locale The locale of the message to return. 952 * @param classpathElement Format argument. 953 * @return The text of the {@code <classpathElementInfo>} message for {@code locale}. 954 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 955 */ 956 @SuppressWarnings("unused") 957 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 958 private String getClasspathElementInfo( final java.util.Locale locale, final java.lang.String classpathElement ) 959 { 960 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementInfo", locale, classpathElement ); 961 assert _m != null : "'classpathElementInfo' message not found."; 962 return _m; 963 } 964 /** 965 * Gets the text of the {@code <classpathElementNotFoundWarning>} message. 966 * <p><dl> 967 * <dt><b>Languages:</b></dt> 968 * <dd>English (default)</dd> 969 * <dd>Deutsch</dd> 970 * <dt><b>Final:</b></dt><dd>No</dd> 971 * </dl></p> 972 * @param locale The locale of the message to return. 973 * @param fileName Format argument. 974 * @return The text of the {@code <classpathElementNotFoundWarning>} message for {@code locale}. 975 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 976 */ 977 @SuppressWarnings("unused") 978 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 979 private String getClasspathElementNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName ) 980 { 981 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "classpathElementNotFoundWarning", locale, fileName ); 982 assert _m != null : "'classpathElementNotFoundWarning' message not found."; 983 return _m; 984 } 985 /** 986 * Gets the text of the {@code <commandFailureMessage>} message. 987 * <p><dl> 988 * <dt><b>Languages:</b></dt> 989 * <dd>English (default)</dd> 990 * <dd>Deutsch</dd> 991 * <dt><b>Final:</b></dt><dd>No</dd> 992 * </dl></p> 993 * @param locale The locale of the message to return. 994 * @param toolName Format argument. 995 * @return The text of the {@code <commandFailureMessage>} message for {@code locale}. 996 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 997 */ 998 @SuppressWarnings("unused") 999 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1000 private String getCommandFailureMessage( final java.util.Locale locale, final java.lang.String toolName ) 1001 { 1002 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandFailureMessage", locale, toolName ); 1003 assert _m != null : "'commandFailureMessage' message not found."; 1004 return _m; 1005 } 1006 /** 1007 * Gets the text of the {@code <commandInfoMessage>} message. 1008 * <p><dl> 1009 * <dt><b>Languages:</b></dt> 1010 * <dd>English (default)</dd> 1011 * <dd>Deutsch</dd> 1012 * <dt><b>Final:</b></dt><dd>No</dd> 1013 * </dl></p> 1014 * @param locale The locale of the message to return. 1015 * @param toolName Format argument. 1016 * @return The text of the {@code <commandInfoMessage>} message for {@code locale}. 1017 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1018 */ 1019 @SuppressWarnings("unused") 1020 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1021 private String getCommandInfoMessage( final java.util.Locale locale, final java.lang.String toolName ) 1022 { 1023 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandInfoMessage", locale, toolName ); 1024 assert _m != null : "'commandInfoMessage' message not found."; 1025 return _m; 1026 } 1027 /** 1028 * Gets the text of the {@code <commandSuccessMessage>} message. 1029 * <p><dl> 1030 * <dt><b>Languages:</b></dt> 1031 * <dd>English (default)</dd> 1032 * <dd>Deutsch</dd> 1033 * <dt><b>Final:</b></dt><dd>No</dd> 1034 * </dl></p> 1035 * @param locale The locale of the message to return. 1036 * @param toolName Format argument. 1037 * @return The text of the {@code <commandSuccessMessage>} message for {@code locale}. 1038 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1039 */ 1040 @SuppressWarnings("unused") 1041 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1042 private String getCommandSuccessMessage( final java.util.Locale locale, final java.lang.String toolName ) 1043 { 1044 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "commandSuccessMessage", locale, toolName ); 1045 assert _m != null : "'commandSuccessMessage' message not found."; 1046 return _m; 1047 } 1048 /** 1049 * Gets the text of the {@code <defaultLogLevelInfo>} message. 1050 * <p><dl> 1051 * <dt><b>Languages:</b></dt> 1052 * <dd>English (default)</dd> 1053 * <dd>Deutsch</dd> 1054 * <dt><b>Final:</b></dt><dd>No</dd> 1055 * </dl></p> 1056 * @param locale The locale of the message to return. 1057 * @param defaultLogLevel Format argument. 1058 * @return The text of the {@code <defaultLogLevelInfo>} message for {@code locale}. 1059 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1060 */ 1061 @SuppressWarnings("unused") 1062 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1063 private String getDefaultLogLevelInfo( final java.util.Locale locale, final java.lang.String defaultLogLevel ) 1064 { 1065 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "defaultLogLevelInfo", locale, defaultLogLevel ); 1066 assert _m != null : "'defaultLogLevelInfo' message not found."; 1067 return _m; 1068 } 1069 /** 1070 * Gets the text of the {@code <deprecatedOptionMessage>} message. 1071 * <p><dl> 1072 * <dt><b>Languages:</b></dt> 1073 * <dd>English (default)</dd> 1074 * <dd>Deutsch</dd> 1075 * <dt><b>Final:</b></dt><dd>No</dd> 1076 * </dl></p> 1077 * @param locale The locale of the message to return. 1078 * @param deprecatedOption Format argument. 1079 * @param replacementOption Format argument. 1080 * @return The text of the {@code <deprecatedOptionMessage>} message for {@code locale}. 1081 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1082 */ 1083 @SuppressWarnings("unused") 1084 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1085 private String getDeprecatedOptionMessage( final java.util.Locale locale, final java.lang.String deprecatedOption, final java.lang.String replacementOption ) 1086 { 1087 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "deprecatedOptionMessage", locale, deprecatedOption, replacementOption ); 1088 assert _m != null : "'deprecatedOptionMessage' message not found."; 1089 return _m; 1090 } 1091 /** 1092 * Gets the text of the {@code <disabledMessage>} message. 1093 * <p><dl> 1094 * <dt><b>Languages:</b></dt> 1095 * <dd>English (default)</dd> 1096 * <dd>Deutsch</dd> 1097 * <dt><b>Final:</b></dt><dd>No</dd> 1098 * </dl></p> 1099 * @param locale The locale of the message to return. 1100 * @return The text of the {@code <disabledMessage>} message for {@code locale}. 1101 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1102 */ 1103 @SuppressWarnings("unused") 1104 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1105 private String getDisabledMessage( final java.util.Locale locale ) 1106 { 1107 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "disabledMessage", locale ); 1108 assert _m != null : "'disabledMessage' message not found."; 1109 return _m; 1110 } 1111 /** 1112 * Gets the text of the {@code <documentFileInfo>} message. 1113 * <p><dl> 1114 * <dt><b>Languages:</b></dt> 1115 * <dd>English (default)</dd> 1116 * <dd>Deutsch</dd> 1117 * <dt><b>Final:</b></dt><dd>No</dd> 1118 * </dl></p> 1119 * @param locale The locale of the message to return. 1120 * @param documentFile Format argument. 1121 * @return The text of the {@code <documentFileInfo>} message for {@code locale}. 1122 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1123 */ 1124 @SuppressWarnings("unused") 1125 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1126 private String getDocumentFileInfo( final java.util.Locale locale, final java.lang.String documentFile ) 1127 { 1128 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileInfo", locale, documentFile ); 1129 assert _m != null : "'documentFileInfo' message not found."; 1130 return _m; 1131 } 1132 /** 1133 * Gets the text of the {@code <documentFileNotFoundWarning>} message. 1134 * <p><dl> 1135 * <dt><b>Languages:</b></dt> 1136 * <dd>English (default)</dd> 1137 * <dd>Deutsch</dd> 1138 * <dt><b>Final:</b></dt><dd>No</dd> 1139 * </dl></p> 1140 * @param locale The locale of the message to return. 1141 * @param fileName Format argument. 1142 * @return The text of the {@code <documentFileNotFoundWarning>} message for {@code locale}. 1143 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1144 */ 1145 @SuppressWarnings("unused") 1146 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1147 private String getDocumentFileNotFoundWarning( final java.util.Locale locale, final java.lang.String fileName ) 1148 { 1149 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "documentFileNotFoundWarning", locale, fileName ); 1150 assert _m != null : "'documentFileNotFoundWarning' message not found."; 1151 return _m; 1152 } 1153 /** 1154 * Gets the text of the {@code <excludedModletInfo>} message. 1155 * <p><dl> 1156 * <dt><b>Languages:</b></dt> 1157 * <dd>English (default)</dd> 1158 * <dd>Deutsch</dd> 1159 * <dt><b>Final:</b></dt><dd>No</dd> 1160 * </dl></p> 1161 * @param locale The locale of the message to return. 1162 * @param resourceName Format argument. 1163 * @param modletIdentifier Format argument. 1164 * @return The text of the {@code <excludedModletInfo>} message for {@code locale}. 1165 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1166 */ 1167 @SuppressWarnings("unused") 1168 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1169 private String getExcludedModletInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String modletIdentifier ) 1170 { 1171 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedModletInfo", locale, resourceName, modletIdentifier ); 1172 assert _m != null : "'excludedModletInfo' message not found."; 1173 return _m; 1174 } 1175 /** 1176 * Gets the text of the {@code <excludedProviderInfo>} message. 1177 * <p><dl> 1178 * <dt><b>Languages:</b></dt> 1179 * <dd>English (default)</dd> 1180 * <dd>Deutsch</dd> 1181 * <dt><b>Final:</b></dt><dd>No</dd> 1182 * </dl></p> 1183 * @param locale The locale of the message to return. 1184 * @param resourceName Format argument. 1185 * @param providerName Format argument. 1186 * @return The text of the {@code <excludedProviderInfo>} message for {@code locale}. 1187 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1188 */ 1189 @SuppressWarnings("unused") 1190 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1191 private String getExcludedProviderInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String providerName ) 1192 { 1193 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedProviderInfo", locale, resourceName, providerName ); 1194 assert _m != null : "'excludedProviderInfo' message not found."; 1195 return _m; 1196 } 1197 /** 1198 * Gets the text of the {@code <excludedSchemaInfo>} message. 1199 * <p><dl> 1200 * <dt><b>Languages:</b></dt> 1201 * <dd>English (default)</dd> 1202 * <dd>Deutsch</dd> 1203 * <dt><b>Final:</b></dt><dd>No</dd> 1204 * </dl></p> 1205 * @param locale The locale of the message to return. 1206 * @param resourceName Format argument. 1207 * @param contextId Format argument. 1208 * @return The text of the {@code <excludedSchemaInfo>} message for {@code locale}. 1209 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1210 */ 1211 @SuppressWarnings("unused") 1212 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1213 private String getExcludedSchemaInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String contextId ) 1214 { 1215 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedSchemaInfo", locale, resourceName, contextId ); 1216 assert _m != null : "'excludedSchemaInfo' message not found."; 1217 return _m; 1218 } 1219 /** 1220 * Gets the text of the {@code <excludedServiceInfo>} message. 1221 * <p><dl> 1222 * <dt><b>Languages:</b></dt> 1223 * <dd>English (default)</dd> 1224 * <dd>Deutsch</dd> 1225 * <dt><b>Final:</b></dt><dd>No</dd> 1226 * </dl></p> 1227 * @param locale The locale of the message to return. 1228 * @param resourceName Format argument. 1229 * @param serviceName Format argument. 1230 * @return The text of the {@code <excludedServiceInfo>} message for {@code locale}. 1231 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1232 */ 1233 @SuppressWarnings("unused") 1234 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1235 private String getExcludedServiceInfo( final java.util.Locale locale, final java.lang.String resourceName, final java.lang.String serviceName ) 1236 { 1237 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "excludedServiceInfo", locale, resourceName, serviceName ); 1238 assert _m != null : "'excludedServiceInfo' message not found."; 1239 return _m; 1240 } 1241 /** 1242 * Gets the text of the {@code <failedCreatingObjectMessage>} message. 1243 * <p><dl> 1244 * <dt><b>Languages:</b></dt> 1245 * <dd>English (default)</dd> 1246 * <dd>Deutsch</dd> 1247 * <dt><b>Final:</b></dt><dd>No</dd> 1248 * </dl></p> 1249 * @param locale The locale of the message to return. 1250 * @param objectInfo Format argument. 1251 * @return The text of the {@code <failedCreatingObjectMessage>} message for {@code locale}. 1252 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1253 */ 1254 @SuppressWarnings("unused") 1255 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1256 private String getFailedCreatingObjectMessage( final java.util.Locale locale, final java.lang.String objectInfo ) 1257 { 1258 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "failedCreatingObjectMessage", locale, objectInfo ); 1259 assert _m != null : "'failedCreatingObjectMessage' message not found."; 1260 return _m; 1261 } 1262 /** 1263 * Gets the text of the {@code <implementationNotFoundWarning>} message. 1264 * <p><dl> 1265 * <dt><b>Languages:</b></dt> 1266 * <dd>English (default)</dd> 1267 * <dd>Deutsch</dd> 1268 * <dt><b>Final:</b></dt><dd>Yes</dd> 1269 * </dl></p> 1270 * @param locale The locale of the message to return. 1271 * @param implementationIdentifier Format argument. 1272 * @return The text of the {@code <implementationNotFoundWarning>} message for {@code locale}. 1273 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1274 */ 1275 @SuppressWarnings("unused") 1276 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1277 private String getImplementationNotFoundWarning( final java.util.Locale locale, final java.lang.String implementationIdentifier ) 1278 { 1279 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "implementationNotFoundWarning", locale, implementationIdentifier ); 1280 assert _m != null : "'implementationNotFoundWarning' message not found."; 1281 return _m; 1282 } 1283 /** 1284 * Gets the text of the {@code <invalidModelMessage>} message. 1285 * <p><dl> 1286 * <dt><b>Languages:</b></dt> 1287 * <dd>English (default)</dd> 1288 * <dd>Deutsch</dd> 1289 * <dt><b>Final:</b></dt><dd>No</dd> 1290 * </dl></p> 1291 * @param locale The locale of the message to return. 1292 * @param modelIdentifier Format argument. 1293 * @return The text of the {@code <invalidModelMessage>} message for {@code locale}. 1294 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1295 */ 1296 @SuppressWarnings("unused") 1297 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1298 private String getInvalidModelMessage( final java.util.Locale locale, final java.lang.String modelIdentifier ) 1299 { 1300 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "invalidModelMessage", locale, modelIdentifier ); 1301 assert _m != null : "'invalidModelMessage' message not found."; 1302 return _m; 1303 } 1304 /** 1305 * Gets the text of the {@code <longDescriptionMessage>} message. 1306 * <p><dl> 1307 * <dt><b>Languages:</b></dt> 1308 * <dd>English (default)</dd> 1309 * <dt><b>Final:</b></dt><dd>No</dd> 1310 * </dl></p> 1311 * @param locale The locale of the message to return. 1312 * @return The text of the {@code <longDescriptionMessage>} message for {@code locale}. 1313 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1314 */ 1315 @SuppressWarnings("unused") 1316 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1317 private String getLongDescriptionMessage( final java.util.Locale locale ) 1318 { 1319 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "longDescriptionMessage", locale ); 1320 assert _m != null : "'longDescriptionMessage' message not found."; 1321 return _m; 1322 } 1323 /** 1324 * Gets the text of the {@code <moduleNotFoundWarning>} message. 1325 * <p><dl> 1326 * <dt><b>Languages:</b></dt> 1327 * <dd>English (default)</dd> 1328 * <dd>Deutsch</dd> 1329 * <dt><b>Final:</b></dt><dd>Yes</dd> 1330 * </dl></p> 1331 * @param locale The locale of the message to return. 1332 * @param moduleName Format argument. 1333 * @return The text of the {@code <moduleNotFoundWarning>} message for {@code locale}. 1334 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1335 */ 1336 @SuppressWarnings("unused") 1337 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1338 private String getModuleNotFoundWarning( final java.util.Locale locale, final java.lang.String moduleName ) 1339 { 1340 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "moduleNotFoundWarning", locale, moduleName ); 1341 assert _m != null : "'moduleNotFoundWarning' message not found."; 1342 return _m; 1343 } 1344 /** 1345 * Gets the text of the {@code <readingMessage>} message. 1346 * <p><dl> 1347 * <dt><b>Languages:</b></dt> 1348 * <dd>English (default)</dd> 1349 * <dd>Deutsch</dd> 1350 * <dt><b>Final:</b></dt><dd>No</dd> 1351 * </dl></p> 1352 * @param locale The locale of the message to return. 1353 * @param locationInfo Format argument. 1354 * @return The text of the {@code <readingMessage>} message for {@code locale}. 1355 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1356 */ 1357 @SuppressWarnings("unused") 1358 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1359 private String getReadingMessage( final java.util.Locale locale, final java.lang.String locationInfo ) 1360 { 1361 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "readingMessage", locale, locationInfo ); 1362 assert _m != null : "'readingMessage' message not found."; 1363 return _m; 1364 } 1365 /** 1366 * Gets the text of the {@code <separator>} message. 1367 * <p><dl> 1368 * <dt><b>Languages:</b></dt> 1369 * <dd>English (default)</dd> 1370 * <dt><b>Final:</b></dt><dd>No</dd> 1371 * </dl></p> 1372 * @param locale The locale of the message to return. 1373 * @return The text of the {@code <separator>} message for {@code locale}. 1374 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1375 */ 1376 @SuppressWarnings("unused") 1377 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1378 private String getSeparator( final java.util.Locale locale ) 1379 { 1380 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "separator", locale ); 1381 assert _m != null : "'separator' message not found."; 1382 return _m; 1383 } 1384 /** 1385 * Gets the text of the {@code <shortDescriptionMessage>} message. 1386 * <p><dl> 1387 * <dt><b>Languages:</b></dt> 1388 * <dd>English (default)</dd> 1389 * <dt><b>Final:</b></dt><dd>No</dd> 1390 * </dl></p> 1391 * @param locale The locale of the message to return. 1392 * @return The text of the {@code <shortDescriptionMessage>} message for {@code locale}. 1393 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1394 */ 1395 @SuppressWarnings("unused") 1396 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1397 private String getShortDescriptionMessage( final java.util.Locale locale ) 1398 { 1399 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "shortDescriptionMessage", locale ); 1400 assert _m != null : "'shortDescriptionMessage' message not found."; 1401 return _m; 1402 } 1403 /** 1404 * Gets the text of the {@code <specificationNotFoundWarning>} message. 1405 * <p><dl> 1406 * <dt><b>Languages:</b></dt> 1407 * <dd>English (default)</dd> 1408 * <dd>Deutsch</dd> 1409 * <dt><b>Final:</b></dt><dd>Yes</dd> 1410 * </dl></p> 1411 * @param locale The locale of the message to return. 1412 * @param specificationIdentifier Format argument. 1413 * @return The text of the {@code <specificationNotFoundWarning>} message for {@code locale}. 1414 * @throws org.jomc.ObjectManagementException if getting the message instance fails. 1415 */ 1416 @SuppressWarnings("unused") 1417 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1418 private String getSpecificationNotFoundWarning( final java.util.Locale locale, final java.lang.String specificationIdentifier ) 1419 { 1420 final String _m = org.jomc.ObjectManagerFactory.getObjectManager( this.getClass().getClassLoader() ).getMessage( this, "specificationNotFoundWarning", locale, specificationIdentifier ); 1421 assert _m != null : "'specificationNotFoundWarning' message not found."; 1422 return _m; 1423 } 1424 // </editor-fold> 1425 // SECTION-END 1426 // SECTION-START[Generated Command] 1427 // <editor-fold defaultstate="collapsed" desc=" Generated Options "> 1428 /** 1429 * Gets the options of the command. 1430 * <p><strong>Options:</strong> 1431 * <table border="1" width="100%" cellpadding="3" cellspacing="0"> 1432 * <tr class="TableSubHeadingColor"> 1433 * <th align="left" scope="col" nowrap><b>Specification</b></th> 1434 * <th align="left" scope="col" nowrap><b>Implementation</b></th> 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 ClassFileProcessor Class Name 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 Classpath 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 Country 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 Default Template 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 Default Template Profile 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 Documents 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 Implementation 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 Indentation String 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 Input Encoding 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 Language 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 Line Separator 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 Locale Variant 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 ModelContextFactory Class Name Option</td> 1487 * </tr> 1488 * <tr class="TableRow"> 1489 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1490 * <td align="left" valign="top" nowrap>JOMC CLI Model Option</td> 1491 * </tr> 1492 * <tr class="TableRow"> 1493 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1494 * <td align="left" valign="top" nowrap>JOMC CLI Modlet Location Option</td> 1495 * </tr> 1496 * <tr class="TableRow"> 1497 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1498 * <td align="left" valign="top" nowrap>JOMC CLI Modlet Schema System Id Option</td> 1499 * </tr> 1500 * <tr class="TableRow"> 1501 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1502 * <td align="left" valign="top" nowrap>JOMC CLI Module Location Option</td> 1503 * </tr> 1504 * <tr class="TableRow"> 1505 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1506 * <td align="left" valign="top" nowrap>JOMC CLI Module Name Option</td> 1507 * </tr> 1508 * <tr class="TableRow"> 1509 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1510 * <td align="left" valign="top" nowrap>JOMC CLI No Class File Processing Option</td> 1511 * </tr> 1512 * <tr class="TableRow"> 1513 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1514 * <td align="left" valign="top" nowrap>JOMC CLI No Classpath Resolution Option</td> 1515 * </tr> 1516 * <tr class="TableRow"> 1517 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1518 * <td align="left" valign="top" nowrap>JOMC CLI No Model Processing Option</td> 1519 * </tr> 1520 * <tr class="TableRow"> 1521 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1522 * <td align="left" valign="top" nowrap>JOMC CLI No Model Resource Validation Option</td> 1523 * </tr> 1524 * <tr class="TableRow"> 1525 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1526 * <td align="left" valign="top" nowrap>JOMC CLI No Modlet Resource Validation Option</td> 1527 * </tr> 1528 * <tr class="TableRow"> 1529 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1530 * <td align="left" valign="top" nowrap>JOMC CLI Output Encoding Option</td> 1531 * </tr> 1532 * <tr class="TableRow"> 1533 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1534 * <td align="left" valign="top" nowrap>JOMC CLI Platform Provider Location Option</td> 1535 * </tr> 1536 * <tr class="TableRow"> 1537 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1538 * <td align="left" valign="top" nowrap>JOMC CLI Provider Location Option</td> 1539 * </tr> 1540 * <tr class="TableRow"> 1541 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1542 * <td align="left" valign="top" nowrap>JOMC CLI Specification Option</td> 1543 * </tr> 1544 * <tr class="TableRow"> 1545 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1546 * <td align="left" valign="top" nowrap>JOMC CLI Template Encoding Option</td> 1547 * </tr> 1548 * <tr class="TableRow"> 1549 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1550 * <td align="left" valign="top" nowrap>JOMC CLI Template Location Option</td> 1551 * </tr> 1552 * <tr class="TableRow"> 1553 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1554 * <td align="left" valign="top" nowrap>JOMC CLI Template Profile Option</td> 1555 * </tr> 1556 * <tr class="TableRow"> 1557 * <td align="left" valign="top" nowrap>JOMC CLI Command Option {@code (org.apache.commons.cli.Option)} @ 1.2</td> 1558 * <td align="left" valign="top" nowrap>JOMC CLI Transformer Location Option</td> 1559 * </tr> 1560 * </table> 1561 * </p> 1562 * @return The options of the command. 1563 */ 1564 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.3", comments = "See http://jomc.sourceforge.net/jomc/1.3/jomc-tools-1.3" ) 1565 @Override 1566 public org.apache.commons.cli.Options getOptions() 1567 { 1568 final org.apache.commons.cli.Options options = new org.apache.commons.cli.Options(); 1569 options.addOption( this.getClassFileProcessorOption() ); 1570 options.addOption( this.getClasspathOption() ); 1571 options.addOption( this.getCountryOption() ); 1572 options.addOption( this.getDefaultTemplateEncodingOption() ); 1573 options.addOption( this.getDefaultTemplateProfileOption() ); 1574 options.addOption( this.getDocumentsOption() ); 1575 options.addOption( this.getImplementationOption() ); 1576 options.addOption( this.getIndentationStringOption() ); 1577 options.addOption( this.getInputEncodingOption() ); 1578 options.addOption( this.getLanguageOption() ); 1579 options.addOption( this.getLineSeparatorOption() ); 1580 options.addOption( this.getLocaleVariantOption() ); 1581 options.addOption( this.getModelContextFactoryOption() ); 1582 options.addOption( this.getModelOption() ); 1583 options.addOption( this.getModletLocationOption() ); 1584 options.addOption( this.getModletSchemaSystemIdOption() ); 1585 options.addOption( this.getModuleLocationOption() ); 1586 options.addOption( this.getModuleNameOption() ); 1587 options.addOption( this.getNoClassProcessingOption() ); 1588 options.addOption( this.getNoClasspathResolutionOption() ); 1589 options.addOption( this.getNoModelProcessingOption() ); 1590 options.addOption( this.getNoModelResourceValidation() ); 1591 options.addOption( this.getNoModletResourceValidation() ); 1592 options.addOption( this.getOutputEncodingOption() ); 1593 options.addOption( this.getPlatformProviderLocationOption() ); 1594 options.addOption( this.getProviderLocationOption() ); 1595 options.addOption( this.getSpecificationOption() ); 1596 options.addOption( this.getTemplateEncodingOption() ); 1597 options.addOption( this.getTemplateLocationOption() ); 1598 options.addOption( this.getTemplateProfileOption() ); 1599 options.addOption( this.getTransformerLocationOption() ); 1600 return options; 1601 } 1602 // </editor-fold> 1603 // SECTION-END 1604}