Skip navigation links

Package com.rometools.modules.slash

This package contains the core classes for the Slash plug in for ROME.

See: Description

Package com.rometools.modules.slash Description

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() );        
        
    

Skip navigation links

Copyright © 2019. All rights reserved.