Lizzy v1.1.1

christophedelory.rss.media
Class Title

java.lang.Object
  extended by christophedelory.rss.media.Title

public class Title
extends Object

The title of a particular media.
Example:

 <media:title type="plain">The Judy's - The Moo Song</media:title>
 

Version:
$Revision: 92 $
Author:
Christophe Delory

Constructor Summary
Title()
           
 
Method Summary
 String getType()
          Returns the type of text embedded.
 String getValue()
          Returns the title itself.
 void setType(String type)
          Initializes the type of text embedded.
 void setValue(String value)
          Initializes the title itself.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Title

public Title()
Method Detail

setValue

public void setValue(String value)
Initializes the title itself.

Parameters:
value - a title. Shall not be null.
Throws:
NullPointerException - if value is null.
See Also:
getValue()

getValue

public String getValue()
Returns the title itself. All html must be entity-encoded.

Returns:
a title. May be null if not yet initialized.
See Also:
setValue(java.lang.String)

setType

public void setType(String type)
Initializes the type of text embedded.

Parameters:
type - a title's type. May be null.
See Also:
getType()

getType

public String getType()
Returns the type of text embedded. Possible values are either 'plain' or 'html'. Default value is 'plain'.

Returns:
a title's type. May be null.
See Also:
setType(java.lang.String)

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.