Examples of FeedBurnerImpl


Examples of org.rometools.feed.module.feedburner.FeedBurnerImpl

    public String getNamespaceUri() {
        return FeedBurner.URI;
    }

    public Module parse(Element element) {
        FeedBurnerImpl fbi = new FeedBurnerImpl();
        boolean returnObj = false;
        Element tag = element.getChild("awareness", FeedBurnerModuleParser.NS);

        if (tag != null) {
            fbi.setAwareness(tag.getText().trim());
            returnObj = true;
        }

        tag = element.getChild("origLink", FeedBurnerModuleParser.NS);

        if (tag != null) {
            fbi.setOrigLink(tag.getText().trim());
            returnObj = true;
        }

        tag = element.getChild("origEnclosureLink", FeedBurnerModuleParser.NS);

        if (tag != null) {
            fbi.setOrigEnclosureLink(tag.getText().trim());
            returnObj = true;
        }

        if (returnObj) {
            return fbi;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.