com.rometools.modules.slash.package.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rome-modules Show documentation
Show all versions of rome-modules Show documentation
Plugin collection for the ROME RSS and Atom Utilities
This package contains the core classes for the Slash plug in for ROME.
This package contains the core module interface Slash,
as well as the implementation class SlashImpl.
Sample Useage:
SyndEntry entry = new SyndEntryImpl();
// set up the entry...
Slash slash = new SlashImpl();
slash.setComments( new Integer( 12 ) );
slash.setDepartment( "look-another-rome-plugin" );
slash.setSection("code");
slash.setHitParade( new Integer[] { new Integer(12), new Integer(0) } );
List modules = new ArrayList();
modules.add( slash );
entry.setModules( modules );
//Optionally, to get Slash information from a Feed:
Slash slash = entry.getModule( "http://purl.org/rss/1.0/modules/slash/" );
System.out.println( slash.getComments() );
© 2015 - 2025 Weber Informatics LLC | Privacy Policy