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

java.lang.Object
  extended by org.apache.wink.common.model.synd.SyndCommonAttributes
      extended by org.apache.wink.common.model.synd.SyndSimpleContent
          extended by org.apache.wink.common.model.synd.SyndContent

public class SyndContent
extends SyndSimpleContent


Constructor Summary
SyndContent()
           
SyndContent(java.lang.String value)
          Creates a new SyndContent with the specified value and 'text' type attribute.
SyndContent(java.lang.String 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 setSrc(java.lang.String src)
           
 void setType(java.lang.String type)
           
 
Methods inherited from class org.apache.wink.common.model.synd.SyndSimpleContent
getValue, setValue
 
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
 

Constructor Detail

SyndContent

public SyndContent()

SyndContent

public SyndContent(java.lang.String 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.String 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 attribute
isSrc - true indicates that the value parameter is the value of the src attribute

SyndContent

public SyndContent(SyndContent other)
Method Detail

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


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