com.sun.jersey.server.wadl
Class ApplicationDescription

java.lang.Object
  extended by com.sun.jersey.server.wadl.ApplicationDescription

public class ApplicationDescription
extends java.lang.Object

This class is designed to combine the Application instance with any other external metadata that might be required to describe the application.

Author:
Gerard Davison

Nested Class Summary
static class ApplicationDescription.ExternalGrammar
          A simple holder class that stores a type and binary content to be used to return extra metadata with
 
Method Summary
 com.sun.research.ws.wadl.Application getApplication()
           
 ApplicationDescription.ExternalGrammar getExternalGrammar(java.lang.String path)
           
 java.util.Set<java.lang.String> getExternalMetadataKeys()
           
 javax.xml.namespace.QName resolve(java.lang.Class type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getApplication

public com.sun.research.ws.wadl.Application getApplication()
Returns:
The instance of the application object

resolve

public javax.xml.namespace.QName resolve(java.lang.Class type)
Returns:
the QName for the given Class in the grammar

getExternalGrammar

public ApplicationDescription.ExternalGrammar getExternalGrammar(java.lang.String path)
Returns:
the external metadata for a give URL, generally provided as a sub resource or the root application.wadl

getExternalMetadataKeys

public java.util.Set<java.lang.String> getExternalMetadataKeys()
Returns:
A set of all the external metadata keys


Copyright © 2011 Oracle Corporation. All Rights Reserved.