org.glassfish.jersey.server.wadl.config
Class WadlGeneratorDescription

java.lang.Object
  extended by org.glassfish.jersey.server.wadl.config.WadlGeneratorDescription

public class WadlGeneratorDescription
extends Object

This is the model for the definition of wadl generators via configuration properties.
The properties refer to the properties of the WadlGenerator implementation with the specified getGeneratorClass(). The WadlGenerator properties are populated with the provided properties like this:

Author:
Martin Grotzke (martin.grotzke at freiheit.com)

Constructor Summary
WadlGeneratorDescription()
           
WadlGeneratorDescription(Class<? extends WadlGenerator> generatorClass, Properties properties)
           
 
Method Summary
 Class<?> getConfiguratorClass()
          Return WadlGeneratorConfig that was used to produce current description instance.
 Class<? extends WadlGenerator> getGeneratorClass()
           
 Properties getProperties()
           
 void setGeneratorClass(Class<? extends WadlGenerator> generatorClass)
           
 void setProperties(Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WadlGeneratorDescription

public WadlGeneratorDescription()

WadlGeneratorDescription

public WadlGeneratorDescription(Class<? extends WadlGenerator> generatorClass,
                                Properties properties)
Method Detail

getGeneratorClass

public Class<? extends WadlGenerator> getGeneratorClass()
Returns:
the generatorClass

setGeneratorClass

public void setGeneratorClass(Class<? extends WadlGenerator> generatorClass)
Parameters:
generatorClass - the generatorClass to set

getProperties

public Properties getProperties()
Returns:
the properties

setProperties

public void setProperties(Properties properties)
Parameters:
properties - the properties to set

getConfiguratorClass

public Class<?> getConfiguratorClass()
Return WadlGeneratorConfig that was used to produce current description instance. The result could be null if the config was not set on this instance.

Returns:
config


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.