Class ApplicationDescription
- java.lang.Object
-
- org.glassfish.jersey.server.wadl.internal.ApplicationDescription
-
public class ApplicationDescription extends 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
Nested Classes Modifier and Type Class Description static classApplicationDescription.ExternalGrammarA simple holder class that stores a type and binary content to be used to return extra metadata with
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationgetApplication()ApplicationDescription.ExternalGrammargetExternalGrammar(String path)Set<String>getExternalMetadataKeys()QNameresolve(Class type)
-
-
-
Method Detail
-
getApplication
public Application getApplication()
- Returns:
- The instance of the application object
-
resolve
public QName resolve(Class type)
- Parameters:
type- java class to be resolved.- Returns:
- the QName for the given Class in the grammar.
-
getExternalGrammar
public ApplicationDescription.ExternalGrammar getExternalGrammar(String path)
- Parameters:
path- path to external metadata.- Returns:
- the external metadata for a given URL, generally provided as a sub resource or the root application.wadl.
-
-