Methods Summary |
---|
public java.lang.String | getDescription()
return( node.getChild( "description" ).getValue());
|
public RSSItem[] | getItems()
return( items );
|
public java.net.URL | getLink()
try{
return( new URL( node.getChild("link").getValue()));
}catch( MalformedURLException e ){
Debug.printStackTrace(e);
return( null );
}
|
public SimpleXMLParserDocumentNode | getNode()
return( node );
|
public java.util.Date | getPublicationDate()
// optional attribute
SimpleXMLParserDocumentNode pd = node.getChild( "pubdate" );
if ( pd == null ){
return( null );
}
return( RSSUtils.parseDate( pd.getValue()));
|
public java.lang.String | getTitle()
return( node.getChild( "title" ).getValue());
|