com.sun.jersey.server.wadl
Class ApplicationDescription.ExternalGrammar

java.lang.Object
  extended by com.sun.jersey.server.wadl.ApplicationDescription.ExternalGrammar
Enclosing class:
ApplicationDescription

public static class ApplicationDescription.ExternalGrammar
extends java.lang.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 © 2011 Oracle Corporation. All Rights Reserved.