Class ApplicationDescription
java.lang.Object
org.glassfish.jersey.server.wadl.internal.ApplicationDescription
This class is designed to combine the Application instance with any other
external metadata that might be required to describe the application.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A simple holder class that stores a type and binary content to be used to return extra metadata with -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionApplicationDescription
(Application application, WadlGenerator.ExternalGrammarDefinition externalGrammarDefiniton) -
Method Summary
-
Field Details
-
_application
-
_externalGrammarDefiniton
-
-
Constructor Details
-
ApplicationDescription
ApplicationDescription(Application application, WadlGenerator.ExternalGrammarDefinition externalGrammarDefiniton)
-
-
Method Details
-
getApplication
- Returns:
- The instance of the application object
-
resolve
- Parameters:
type
- java class to be resolved.- Returns:
- the QName for the given Class in the grammar.
-
getExternalGrammar
- 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.
-
getExternalMetadataKeys
- Returns:
- A set of all the external metadata keys
-