org.apache.wink.common.model.synd
Class SyndSimpleContent
java.lang.Object
org.apache.wink.common.model.synd.SyndCommonAttributes
org.apache.wink.common.model.synd.SyndSimpleContent
- Direct Known Subclasses:
- SyndContent, SyndGenerator, SyndText
public abstract class SyndSimpleContent
- extends SyndCommonAttributes
type
protected String type
providers
protected javax.ws.rs.ext.Providers providers
SyndSimpleContent
public SyndSimpleContent()
SyndSimpleContent
public SyndSimpleContent(Object value)
SyndSimpleContent
public SyndSimpleContent(Object value,
String type)
SyndSimpleContent
public SyndSimpleContent(SyndSimpleContent other)
getValue
public String getValue()
getValue
public <T> T getValue(Class<T> cls)
getValue
public <T> T getValue(Class<T> cls,
Type genericType,
javax.ws.rs.ext.Providers providers,
Annotation[] annotations,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
javax.ws.rs.core.MediaType mediaType)
throws IOException
- Throws:
IOException
setValue
public void setValue(Object value)
hashCode
public int hashCode()
- Overrides:
hashCode
in class SyndCommonAttributes
equals
public boolean equals(Object obj)
- Overrides:
equals
in class SyndCommonAttributes
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.