org.glassfish.jersey.server.wadl.internal
Class ApplicationDescription.ExternalGrammar

java.lang.Object
  extended by org.glassfish.jersey.server.wadl.internal.ApplicationDescription.ExternalGrammar
Enclosing class:
ApplicationDescription

public static class ApplicationDescription.ExternalGrammar
extends Object

A simple holder class that stores a type and binary content to be used to return extra metadata with


Constructor Summary
ApplicationDescription.ExternalGrammar(MediaType type, byte[] content)
           
 
Method Summary
 byte[] getContent()
           
 MediaType getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationDescription.ExternalGrammar

public ApplicationDescription.ExternalGrammar(MediaType type,
                                              byte[] content)
Method Detail

getType

public MediaType getType()

getContent

public byte[] getContent()


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.