org.apache.abdera.ext.rss
Class RssText

java.lang.Object
  extended by org.apache.abdera.model.ElementWrapper
      extended by org.apache.abdera.ext.rss.RssText
All Implemented Interfaces:
Cloneable, Iterable<Element>, Base, Element, Text

public class RssText
extends ElementWrapper
implements Text


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.abdera.model.Text
Text.Type
 
Constructor Summary
RssText(Element internal)
           
RssText(Factory factory, QName qname)
           
 
Method Summary
 Text.Type getTextType()
          Return the Text.Type
 String getValue()
          Return the text value
 Div getValueElement()
          Return the text value element
 String getWrappedValue()
          Return the wrapped value
 Text setTextType(Text.Type type)
          Set the Text.Type
 Text setValue(String value)
          Set the text value
 Text setValueElement(Div value)
          Set the text value element
 Text setWrappedValue(String wrappedValue)
          Set the wrapped value
 
Methods inherited from class org.apache.abdera.model.ElementWrapper
addComment, clone, complete, declareNS, discard, equals, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDefaultWriterOptions, getDocument, getElements, getExtensionAttributes, getFactory, getFirstChild, getFirstChild, getInternal, getLanguage, getLanguageTag, getLocale, getMustPreserveWhitespace, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, hashCode, iterator, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setMustPreserveWhitespace, setParentElement, setText, setText, toString, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.abdera.model.Element
declareNS, discard, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDocument, getElements, getExtensionAttributes, getFirstChild, getFirstChild, getLanguage, getLanguageTag, getLocale, getMustPreserveWhitespace, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setMustPreserveWhitespace, setParentElement, setText, setText
 
Methods inherited from interface org.apache.abdera.model.Base
addComment, clone, complete, getDefaultWriterOptions, getFactory, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo
 
Methods inherited from interface java.lang.Iterable
iterator
 

Constructor Detail

RssText

public RssText(Element internal)

RssText

public RssText(Factory factory,
               QName qname)
Method Detail

getTextType

public Text.Type getTextType()
Description copied from interface: Text
Return the Text.Type

Specified by:
getTextType in interface Text
Returns:
The Text.Type

getValue

public String getValue()
Description copied from interface: Text
Return the text value

Specified by:
getValue in interface Text
Returns:
The text value

getValueElement

public Div getValueElement()
Description copied from interface: Text
Return the text value element

Specified by:
getValueElement in interface Text
Returns:
A xhtml:div

getWrappedValue

public String getWrappedValue()
Description copied from interface: Text
Return the wrapped value

Specified by:
getWrappedValue in interface Text
Returns:
The text value wrapped in a xhtml:div

setTextType

public Text setTextType(Text.Type type)
Description copied from interface: Text
Set the Text.Type

Specified by:
setTextType in interface Text
Parameters:
type - The Text.Type

setValue

public Text setValue(String value)
Description copied from interface: Text
Set the text value

Specified by:
setValue in interface Text
Parameters:
value - The text value

setValueElement

public Text setValueElement(Div value)
Description copied from interface: Text
Set the text value element

Specified by:
setValueElement in interface Text
Parameters:
value - The xhtml:div

setWrappedValue

public Text setWrappedValue(String wrappedValue)
Description copied from interface: Text
Set the wrapped value

Specified by:
setWrappedValue in interface Text
Parameters:
wrappedValue - The text value wrapped in a xhtml:div


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.