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