FileDocCategorySizeDatePackage
RSSItemImpl.javaAPI DocAzureus 3.0.3.42359Thu Feb 09 19:43:06 GMT 2006org.gudy.azureus2.pluginsimpl.local.utils.xml.rss

RSSItemImpl

public class RSSItemImpl extends Object implements org.gudy.azureus2.plugins.utils.xml.rss.RSSItem
author
parg

Fields Summary
private org.gudy.azureus2.plugins.utils.xml.simpleparser.SimpleXMLParserDocumentNode
node
Constructors Summary
protected RSSItemImpl(org.gudy.azureus2.plugins.utils.xml.simpleparser.SimpleXMLParserDocumentNode _node)

		node	= _node;
	
Methods Summary
public java.lang.StringgetDescription()

		if ( node.getChild( "description" ) != null ){
			
			return( node.getChild( "description" ).getValue());
		}
			
		return( null );	
	
public java.net.URLgetLink()

		if ( node.getChild( "link" ) != null ){

			try{
				return( new URL( node.getChild("link").getValue()));
				
			}catch( MalformedURLException e ){
			
				Debug.printStackTrace(e);
				
				return( null );
			}
		}
		
		return( null );
	
public org.gudy.azureus2.plugins.utils.xml.simpleparser.SimpleXMLParserDocumentNodegetNode()

		return( node );
	
public java.util.DategetPublicationDate()

		if ( node.getChild( "pubdate" ) != null ){

			return( RSSUtils.parseDate( node.getChild( "pubdate" ).getValue()));
		}
		
		return( null );
	
public java.lang.StringgetTitle()

		if ( node.getChild( "title" ) != null ){
		
			return( node.getChild( "title" ).getValue());
		}
		
		return( null );