Package org.jdom2

Examples of org.jdom2.Element.removeAttribute()


    public void populateItem(Item item, Element eItem, int index) {
        super.populateItem(item,eItem, index);

        Element eDescription = eItem.getChild("description",getFeedNamespace());
        if (eDescription != null) eDescription.removeAttribute("type");

        String author = item.getAuthor();
        if (author != null) {
            eItem.addContent(generateSimpleElement("author", author));
        }
View Full Code Here


        super.populateItem(item, eItem, index);

        final Element description = eItem.getChild("description", getFeedNamespace());
        if (description != null) {
            description.removeAttribute("type");
        }

        final String author = item.getAuthor();
        if (author != null) {
            eItem.addContent(generateSimpleElement("author", author));
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.