Package org.rometools.feed.module.mediarss.types

Examples of org.rometools.feed.module.mediarss.types.PlayerReference


        return md;
    }
   
    private PlayerReference parsePlayer(Element e) {
        Element player = e.getChild("player", getNS());
        PlayerReference p = null;
       
        if (player != null) {
            Integer width = (player.getAttributeValue("width") == null) ? null
                    : new Integer(player.getAttributeValue(
                    "width"));
            Integer height = (player.getAttributeValue("height") == null)
            ? null : new Integer(player.getAttributeValue("height"));
           
            try {
                p = new PlayerReference(new URI(player.getAttributeValue("url")),
                        width, height);
            } catch (Exception ex) {
                LOG.log(Level.WARNING, "Exception parsing player tag.", ex);
            }
        }
View Full Code Here

TOP

Related Classes of org.rometools.feed.module.mediarss.types.PlayerReference

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.