com.sun.jersey.api.wadl.config
Class WadlGeneratorDescription

java.lang.Object
  extended by com.sun.jersey.api.wadl.config.WadlGeneratorDescription

public class WadlGeneratorDescription
extends java.lang.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:

Version:
$Id: WadlGeneratorDescription.java 4088 2010-08-24 11:15:13Z pavel_bucek $
Author:
Martin Grotzke

Constructor Summary
WadlGeneratorDescription()
           
WadlGeneratorDescription(java.lang.Class<? extends WadlGenerator> generatorClass, java.util.Properties properties)
           
 
Method Summary
 java.lang.Class<? extends WadlGenerator> getGeneratorClass()
           
 java.util.Properties getProperties()
           
 void setGeneratorClass(java.lang.Class<? extends WadlGenerator> generatorClass)
           
 void setProperties(java.util.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(java.lang.Class<? extends WadlGenerator> generatorClass,
                                java.util.Properties properties)
Method Detail

getGeneratorClass

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

setGeneratorClass

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

getProperties

public java.util.Properties getProperties()
Returns:
the properties

setProperties

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


Copyright © 2010 Oracle Corporation. All Rights Reserved.