Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.jersey.api.wadl.config
Class WadlGeneratorConfigLoader

    java.lang.Object
      com.sun.jersey.api.wadl.config.WadlGeneratorConfigLoader

    public class WadlGeneratorConfigLoader

extends java.lang.Object

Loads a `WadlGeneratorConfig` and provides access to the `WadlGenerator` provided by the loaded `WadlGeneratorConfig`.
If no `WadlGeneratorConfig` is provided, the default `WadlGenerator` will be loaded.

Version:
  $Id: WadlGeneratorConfigLoader.java 4584 2011-02-10 09:12:27Z pavel_bucek $
Author:
  Martin Grotzke

Constructor Summary
`WadlGeneratorConfigLoader()`

Method Summary
`static WadlGenerator` | `loadWadlGeneratorsFromConfig(ResourceConfig resourceConfig)` Load the `WadlGeneratorConfig` from the provided `ResourceConfig` using the property `ResourceConfig.PROPERTY_WADL_GENERATOR_CONFIG`.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### WadlGeneratorConfigLoader

    public WadlGeneratorConfigLoader()

Method Detail

### loadWadlGeneratorsFromConfig

    public static WadlGenerator loadWadlGeneratorsFromConfig(ResourceConfig resourceConfig)

  Load the `WadlGeneratorConfig` from the provided `ResourceConfig` using the property `ResourceConfig.PROPERTY_WADL_GENERATOR_CONFIG`.

  The type of this property must be a subclass or an instance of a subclass of `WadlGeneratorConfig`.
  If it's not set, the default `WadlGeneratorImpl` will be used.

  Parameters:
    `resourceConfig` -
  Returns:
    the initialized `WadlGenerator`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 Oracle Corporation. All Rights Reserved.