This project has retired. For details please refer to its
        
        Attic page.
      
 
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
 
 
 
 
| 
Method Summary | 
 boolean | 
equals(Object obj)
 
            | 
 String | 
getSrc()
 
            | 
 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(String src)
 
            | 
 void | 
setType(String type)
 
            | 
 
 
 
 
SyndContent
public SyndContent()
SyndContent
public SyndContent(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(Object value,
                   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(Object value,
                   String type)
SyndContent
public SyndContent(SyndContent other)
getType
public String getType()
 
setType
public void setType(String type)
 
getSrc
public String getSrc()
 
setSrc
public void setSrc(String src)
 
hashCode
public int hashCode()
- Overrides:
 hashCode in class SyndSimpleContent
 
 
equals
public boolean equals(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-2012 The Apache Software Foundation. All Rights Reserved.