public class OPML10Generator extends BaseWireFeedGenerator implements WireFeedGenerator
Constructor and Description |
---|
OPML10Generator() |
OPML10Generator(String type) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
addNotNullAttribute(org.jdom2.Element target,
String name,
Object value) |
protected boolean |
addNotNullSimpleElement(org.jdom2.Element target,
String name,
Object value) |
org.jdom2.Document |
generate(WireFeed feed)
Creates an XML document (JDOM) for the given feed bean.
|
protected org.jdom2.Element |
generateHead(Opml opml) |
protected org.jdom2.Element |
generateOutline(Outline outline) |
protected List<org.jdom2.Element> |
generateOutlines(List<Outline> outlines) |
protected String |
intArrayToCsvString(int[] value) |
generateFeedModules, generateForeignMarkup, generateItemModules, generateModuleNamespaceDefs, generatePersonModules, getType, purgeUnusedNamespaceDeclarations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getType
public OPML10Generator()
public OPML10Generator(String type)
public org.jdom2.Document generate(WireFeed feed) throws IllegalArgumentException, FeedException
generate
in interface WireFeedGenerator
feed
- the feed bean to generate the XML document from.IllegalArgumentException
- thrown if the type of the given feed bean does not match with the type of the
WireFeedGenerator.FeedException
- thrown if the XML Document could not be created.protected boolean addNotNullAttribute(org.jdom2.Element target, String name, Object value)
protected boolean addNotNullSimpleElement(org.jdom2.Element target, String name, Object value)
protected org.jdom2.Element generateHead(Opml opml)
protected org.jdom2.Element generateOutline(Outline outline)
protected String intArrayToCsvString(int[] value)
Copyright © 2023. All rights reserved.