org.apache.wink.common.model.synd
Class SyndContent
java.lang.Object
org.apache.wink.common.model.synd.SyndCommonAttributes
org.apache.wink.common.model.synd.SyndSimpleContent
org.apache.wink.common.model.synd.SyndContent
public class SyndContent
- extends SyndSimpleContent
Constructor Summary |
SyndContent()
|
SyndContent(java.lang.Object value)
Creates a new SyndContent with the specified value and 'text' type
attribute. |
SyndContent(java.lang.Object value,
java.lang.String type)
|
SyndContent(java.lang.Object value,
java.lang.String type,
boolean isSrc)
Creates a new SyndContent with the specified value or src, and type
attribute. |
SyndContent(SyndContent other)
|
Method Summary |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getSrc()
|
java.lang.String |
getType()
|
int |
hashCode()
|
void |
setProviders(javax.ws.rs.ext.Providers _providers)
Sets the Providers on a local field so that the registry of custom and system
providers is available when a client application retrieves the value, expecting
it to be seamlessly unmarshalled or converted to the expected type declared in
getValue(Class). |
void |
setSrc(java.lang.String src)
|
void |
setType(java.lang.String type)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
SyndContent
public SyndContent()
SyndContent
public SyndContent(java.lang.Object value)
- Creates a new SyndContent with the specified value and 'text' type
attribute.
- Parameters:
value
- the value of the text construct
SyndContent
public SyndContent(java.lang.Object value,
java.lang.String type,
boolean isSrc)
- Creates a new SyndContent with the specified value or src, and type
attribute.
- Parameters:
value
- the value of the text construct, or the value of the src
attribute.type
- the type attributeisSrc
- true indicates that the value parameter is the value of the
src attribute.
SyndContent
public SyndContent(java.lang.Object value,
java.lang.String type)
SyndContent
public SyndContent(SyndContent other)
getType
public java.lang.String getType()
setType
public void setType(java.lang.String type)
getSrc
public java.lang.String getSrc()
setSrc
public void setSrc(java.lang.String src)
hashCode
public int hashCode()
- Overrides:
hashCode
in class SyndSimpleContent
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class SyndSimpleContent
setProviders
public void setProviders(javax.ws.rs.ext.Providers _providers)
- Sets the Providers on a local field so that the registry of custom and system
providers is available when a client application retrieves the value, expecting
it to be seamlessly unmarshalled or converted to the expected type declared in
getValue(Class).
Client applications should NOT call this method.
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.