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$
Author:
Martin Grotzke

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

getGeneratorClass

public java.lang.Class<? extends com.sun.jersey.impl.wadl.WadlGenerator> getGeneratorClass()
Returns:
the generatorClass

setGeneratorClass

public void setGeneratorClass(java.lang.Class<? extends com.sun.jersey.impl.wadl.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 © 2008 Sun Microsystems, Inc. All Rights Reserved.