public abstract class BaseWireFeedGenerator extends Object implements WireFeedGenerator
Modifier | Constructor and Description |
---|---|
protected |
BaseWireFeedGenerator(String type) |
Modifier and Type | Method and Description |
---|---|
protected void |
generateFeedModules(List<Module> modules,
org.jdom2.Element feed) |
protected void |
generateForeignMarkup(org.jdom2.Element element,
List<org.jdom2.Element> foreignElements) |
void |
generateItemModules(List<Module> modules,
org.jdom2.Element item) |
protected void |
generateModuleNamespaceDefs(org.jdom2.Element root) |
void |
generatePersonModules(List<Module> modules,
org.jdom2.Element person) |
String |
getType()
Returns the type of feed the generator creates.
|
protected static void |
purgeUnusedNamespaceDeclarations(org.jdom2.Element root)
Purging unused declarations is less optimal, performance-wise, than never adding them in the
first place.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generate
protected BaseWireFeedGenerator(String type)
public String getType()
WireFeedGenerator
getType
in interface WireFeedGenerator
for details on the format of this string.
protected void generateModuleNamespaceDefs(org.jdom2.Element root)
protected void generateFeedModules(List<Module> modules, org.jdom2.Element feed)
public void generatePersonModules(List<Module> modules, org.jdom2.Element person)
protected void generateForeignMarkup(org.jdom2.Element element, List<org.jdom2.Element> foreignElements)
protected static void purgeUnusedNamespaceDeclarations(org.jdom2.Element root)
Copyright © 2016. All rights reserved.