org.xwiki.rest.representations.tags
Class TextPlainTagsReader

java.lang.Object
  extended by org.xwiki.rest.representations.TextPlainReader<Tags>
      extended by org.xwiki.rest.representations.tags.TextPlainTagsReader
All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyReader<Tags>, XWikiRestComponent

@Component(value="org.xwiki.rest.representations.tags.TextPlainTagsReader")
@Provider
public class TextPlainTagsReader
extends TextPlainReader<Tags>

Version:
$Id: TextPlainTagsReader.java 21281 2009-06-13 19:22:09Z sdumitriu $

Constructor Summary
TextPlainTagsReader()
           
 
Method Summary
 boolean isReadable(java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
           
 Tags readFrom(java.lang.Class<Tags> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> httpHeaders, java.io.InputStream entityStream)
           
 
Methods inherited from class org.xwiki.rest.representations.TextPlainReader
getEntityAsString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextPlainTagsReader

public TextPlainTagsReader()
Method Detail

isReadable

public boolean isReadable(java.lang.Class<?> type,
                          java.lang.reflect.Type genericType,
                          java.lang.annotation.Annotation[] annotations,
                          javax.ws.rs.core.MediaType mediaType)

readFrom

public Tags readFrom(java.lang.Class<Tags> type,
                     java.lang.reflect.Type genericType,
                     java.lang.annotation.Annotation[] annotations,
                     javax.ws.rs.core.MediaType mediaType,
                     javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> httpHeaders,
                     java.io.InputStream entityStream)
              throws java.io.IOException,
                     javax.ws.rs.WebApplicationException
Throws:
java.io.IOException
javax.ws.rs.WebApplicationException


Copyright © 2004-2009 XWiki. All Rights Reserved.