org.apache.wink.common.model.synd
Class SyndSimpleContent

java.lang.Object
  extended by org.apache.wink.common.model.synd.SyndCommonAttributes
      extended by org.apache.wink.common.model.synd.SyndSimpleContent
Direct Known Subclasses:
SyndContent, SyndGenerator, SyndText

public abstract class SyndSimpleContent
extends SyndCommonAttributes


Field Summary
protected  javax.ws.rs.ext.Providers providers
           
protected  java.lang.String type
           
 
Constructor Summary
SyndSimpleContent()
           
SyndSimpleContent(java.lang.Object value)
           
SyndSimpleContent(java.lang.Object value, java.lang.String type)
           
SyndSimpleContent(SyndSimpleContent other)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getValue()
           
<T> T
getValue(java.lang.Class<T> cls)
           
<T> T
getValue(java.lang.Class<T> cls, java.lang.reflect.Type genericType, javax.ws.rs.ext.Providers providers, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> httpHeaders, javax.ws.rs.core.MediaType mediaType)
           
 int hashCode()
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class org.apache.wink.common.model.synd.SyndCommonAttributes
getBase, getLang, setBase, setLang
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected java.lang.String type

providers

protected javax.ws.rs.ext.Providers providers
Constructor Detail

SyndSimpleContent

public SyndSimpleContent()

SyndSimpleContent

public SyndSimpleContent(java.lang.Object value)

SyndSimpleContent

public SyndSimpleContent(java.lang.Object value,
                         java.lang.String type)

SyndSimpleContent

public SyndSimpleContent(SyndSimpleContent other)
Method Detail

getValue

public java.lang.String getValue()

getValue

public <T> T getValue(java.lang.Class<T> cls)

getValue

public <T> T getValue(java.lang.Class<T> cls,
                      java.lang.reflect.Type genericType,
                      javax.ws.rs.ext.Providers providers,
                      java.lang.annotation.Annotation[] annotations,
                      javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> httpHeaders,
                      javax.ws.rs.core.MediaType mediaType)
           throws java.io.IOException
Throws:
java.io.IOException

setValue

public void setValue(java.lang.Object value)

hashCode

public int hashCode()
Overrides:
hashCode in class SyndCommonAttributes

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class SyndCommonAttributes


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.