org.glassfish.jersey.server.wadl.internal
Class ApplicationDescription
java.lang.Object
org.glassfish.jersey.server.wadl.internal.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getApplication
public Application getApplication()
- Returns:
- The instance of the application object
resolve
public javax.xml.namespace.QName resolve(java.lang.Class type)
- Parameters:
type - java class to be resolved.
- Returns:
- the QName for the given Class in the grammar.
getExternalGrammar
public ApplicationDescription.ExternalGrammar getExternalGrammar(java.lang.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 java.util.Set<java.lang.String> getExternalMetadataKeys()
- Returns:
- A set of all the external metadata keys
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.