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
Field Summary |
protected java.lang.String |
type
|
Method Summary |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getValue()
|
|
getValue(java.lang.Class<T> cls)
|
|
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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
type
protected java.lang.String type
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)
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 The Apache Software Foundation. All Rights Reserved.