Package org.rometools.feed.module.itunes.types

Examples of org.rometools.feed.module.itunes.types.Duration


            //Now I am going to get the item specific tags
           
            Element duration = element.getChild("duration", ns);
           
            if (duration != null  && duration.getValue() != null ) {
                Duration dur = new Duration(duration.getValue().trim());
                entryInfo.setDuration(dur);
            }
        }
        if (module != null) {
            //All these are common to both Channel and Item
View Full Code Here


        EntryInformationImpl info = (EntryInformationImpl) obj;
        this.setAuthor(info.getAuthor());
        this.setBlock(info.getBlock());

        if (info.getDuration() != null) {
            this.setDuration(new Duration(info.getDuration().getMilliseconds()));
        }

        this.setExplicit(info.getExplicit());

        if (info.getKeywords() != null) {
View Full Code Here

TOP

Related Classes of org.rometools.feed.module.itunes.types.Duration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.