public class OPML20Parser extends OPML10Parser
| Constructor and Description |
|---|
OPML20Parser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMyType(org.jdom2.Document document)
Inspects an XML Document (JDOM) to check if it can parse it.
|
WireFeed |
parse(org.jdom2.Document document,
boolean validate,
Locale locale)
Parses an XML document (JDOM Document) into a feed bean.
|
protected Outline |
parseOutline(org.jdom2.Element e,
boolean validate,
Locale locale) |
parseOutlines, readBoolean, readIntArray, readIntegerextractForeignMarkup, getAttribute, getAttributeValue, getStyleSheet, getType, parseFeedModules, parseItemModules, parsePersonModulesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypepublic boolean isMyType(org.jdom2.Document document)
It checks if the given document if the type of feeds the parser understands.
isMyType in interface WireFeedParserisMyType in class OPML10Parserdocument - XML Document (JDOM) to check if it can be parsed by this parser.public WireFeed parse(org.jdom2.Document document, boolean validate, Locale locale) throws IllegalArgumentException, FeedException
parse in interface WireFeedParserparse in class OPML10Parserdocument - XML document (JDOM) to parse.validate - indicates if the feed should be strictly validated (NOT YET IMPLEMENTED).IllegalArgumentException - thrown if the parser cannot handle the given feed type.FeedException - thrown if a feed bean cannot be created out of the XML document (JDOM).protected Outline parseOutline(org.jdom2.Element e, boolean validate, Locale locale) throws FeedException
parseOutline in class OPML10ParserFeedExceptionCopyright © 2025. All rights reserved.