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
  • Method Details

    • 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.
    • getExternalMetadataKeys

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