org.glassfish.jersey.server.wadl.config
Class WadlGeneratorDescription
java.lang.Object
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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WadlGeneratorDescription
public WadlGeneratorDescription()
WadlGeneratorDescription
public WadlGeneratorDescription(Class<? extends WadlGenerator> generatorClass,
Properties properties)
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-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.