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)
|
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
Copyright © 2009 The Apache Software Foundation. All Rights Reserved.