public class OPML20Generator extends OPML10Generator
| Constructor and Description |
|---|
OPML20Generator() |
| Modifier and Type | Method and Description |
|---|---|
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) |
String |
getType()
Returns the type of feed the generator creates.
|
addNotNullAttribute, addNotNullSimpleElement, generateOutlines, intArrayToCsvStringgenerateFeedModules, generateForeignMarkup, generateItemModules, generateModuleNamespaceDefs, generatePersonModules, purgeUnusedNamespaceDeclarationspublic String getType()
getType in interface WireFeedGeneratorgetType in class BaseWireFeedGeneratorfor details on the format of this string.public org.jdom2.Document generate(WireFeed feed) throws IllegalArgumentException, FeedException
generate in interface WireFeedGeneratorgenerate in class OPML10Generatorfeed - 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 org.jdom2.Element generateHead(Opml opml)
generateHead in class OPML10Generatorprotected org.jdom2.Element generateOutline(Outline outline)
generateOutline in class OPML10GeneratorCopyright © 2025. All rights reserved.