org.deegree.services.wps.wsdl
Class WSDLWriter

java.lang.Object
  extended by org.deegree.services.wps.wsdl.WSDLWriter
All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyWriter<WSDL>

@Provider
public class WSDLWriter
extends Object
implements javax.ws.rs.ext.MessageBodyWriter<WSDL>

JAX-RS MessageBodyWriter for WSDL instances.

Version:
$Revision: 29503 $, $Date: 2011-01-31 14:48:47 +0100 (Mon, 31 Jan 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
WSDLWriter()
           
 
Method Summary
 long getSize(WSDL t, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
           
 boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
           
 void writeTo(WSDL t, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLWriter

public WSDLWriter()
Method Detail

isWriteable

public boolean isWriteable(Class<?> type,
                           Type genericType,
                           Annotation[] annotations,
                           javax.ws.rs.core.MediaType mediaType)
Specified by:
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<WSDL>

getSize

public long getSize(WSDL t,
                    Class<?> type,
                    Type genericType,
                    Annotation[] annotations,
                    javax.ws.rs.core.MediaType mediaType)
Specified by:
getSize in interface javax.ws.rs.ext.MessageBodyWriter<WSDL>

writeTo

public void writeTo(WSDL t,
                    Class<?> type,
                    Type genericType,
                    Annotation[] annotations,
                    javax.ws.rs.core.MediaType mediaType,
                    javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
                    OutputStream entityStream)
             throws IOException,
                    javax.ws.rs.WebApplicationException
Specified by:
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<WSDL>
Throws:
IOException
javax.ws.rs.WebApplicationException


Copyright © 2011. All Rights Reserved.