| Modifier and Type | Field and Description |
|---|---|
| pack-priv static Pattern | |
| private static final Namespace | |
| private static final String | |
| private static boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private String | findAtomLink(final Element
Consider only children of this parent element parent, final String Consider only links with this relationship rel)Return URL string of Atom link element under parent element. |
| private String | findBaseURI(final Element
Root element of feed. root)Find base URI of feed considering relative URIs. |
| private static String | |
| protected Namespace | |
| public static boolean | |
| public static boolean | |
| public boolean | isMyType(final Document
XML Document (JDOM) to check if it can be parsed by this parser. document)Implements com. |
| public static boolean | |
| public WireFeed | parse(final Document
XML document (JDOM) to parse. document, final boolean indicates if the feed should be strictly validated (NOT YET IMPLEMENTED). validate, final Locale locale)Implements com. |
| private List | |
| private List | |
| private Category | |
| private Content | |
| protected List | |
| protected Entry | |
| public static Entry | |
| protected WireFeed | |
| private Feed | |
| private Link | |
| private List | |
| private Person | |
| private List | |
| private String | |
| public static String | resolveURI(final String
Base URI used to fetch the XML document baseURI, final Parent Parent element from which to consider xml:base parent, String URL to be resolved url)Resolve URI via base URL and parent element. |
| public static void | |
| private static String | |
| private static String | |
| protected void |
| absoluteURIPattern | back to summary |
|---|---|
| pack-priv static Pattern absoluteURIPattern | |
| ATOM_10_NS | back to summary |
|---|---|
| private static final Namespace ATOM_10_NS | |
| ATOM_10_URI | back to summary |
|---|---|
| private static final String ATOM_10_URI | |
| resolveURIs | back to summary |
|---|---|
| private static boolean resolveURIs | |
| Atom10Parser | back to summary |
|---|---|
| public Atom10Parser() | |
| Atom10Parser | back to summary |
|---|---|
| protected Atom10Parser(final String type) | |
| findAtomLink | back to summary |
|---|---|
| private String findAtomLink(final Element parent, final String rel) Return URL string of Atom link element under parent element. Link with no rel attribute is considered to be rel="alternate" | |
| findBaseURI | back to summary |
|---|---|
| private String findBaseURI(final Element root) throws MalformedURLException Find base URI of feed considering relative URIs.
| |
| formURI | back to summary |
|---|---|
| private static String formURI(String base, String append) Form URI by combining base with append portion and giving special consideration to append portions that begin with ".." | |
| getAtomNamespace | back to summary |
|---|---|
| protected Namespace getAtomNamespace() | |
| getResolveURIs | back to summary |
|---|---|
| public static boolean getResolveURIs() | |
| isAbsoluteURI | back to summary |
|---|---|
| public static boolean isAbsoluteURI(final String uri) | |
| isMyType | back to summary |
|---|---|
| public boolean isMyType(final Document document) Implements com. Doc from com. Inspects an XML Document (JDOM) to check if it can parse it. It checks if the given document if the type of feeds the parser understands.
| |
| isRelativeURI | back to summary |
|---|---|
| public static boolean isRelativeURI(final String uri) Returns true if URI is relative. | |
| parse | back to summary |
|---|---|
| public WireFeed parse(final Document document, final boolean validate, final Locale locale) throws IllegalArgumentException, FeedException Implements com. Doc from com. Parses an XML document (JDOM Document) into a feed bean.
| |
| parseAlternateLinks | back to summary |
|---|---|
| private List | |
| parseCategories | back to summary |
|---|---|
| private List | |
| parseCategory | back to summary |
|---|---|
| private Category parseCategory(final String baseURI, final Element eCategory) | |
| parseContent | back to summary |
|---|---|
| private Content parseContent(final Element e) | |
| parseEntries | back to summary |
|---|---|
| protected List | |
| parseEntry | back to summary |
|---|---|
| protected Entry parseEntry(final Feed feed, final Element eEntry, final String baseURI, final Locale locale) | |
| parseEntry | back to summary |
|---|---|
| public static Entry parseEntry(final Reader rd, final String baseURI, final Locale locale) throws JDOMException, IOException, IllegalArgumentException, FeedException Parse entry from reader. | |
| parseFeed | back to summary |
|---|---|
| protected WireFeed parseFeed(final Element eFeed, final Locale locale) throws FeedException | |
| parseFeedMetadata | back to summary |
|---|---|
| private Feed parseFeedMetadata(final String baseURI, final Element eFeed, final Locale locale) | |
| parseLink | back to summary |
|---|---|
| private Link parseLink(final Feed feed, final Entry entry, final String baseURI, final Element eLink) | |
| parseOtherLinks | back to summary |
|---|---|
| private List | |
| parsePerson | back to summary |
|---|---|
| private Person parsePerson(final String baseURI, final Element ePerson, final Locale locale) | |
| parsePersons | back to summary |
|---|---|
| private List | |
| parseTextConstructToString | back to summary |
|---|---|
| private String parseTextConstructToString(final Element e) | |
| resolveURI | back to summary |
|---|---|
| public static String resolveURI(final String baseURI, final Parent parent, String url) Resolve URI via base URL and parent element. Resolve URI based considering xml:base and baseURI. | |
| setResolveURIs | back to summary |
|---|---|
| public static void setResolveURIs(final boolean resolveURIs) | |
| stripStartingSlash | back to summary |
|---|---|
| private static String stripStartingSlash(String s) Strip starting slash from beginning of string. | |
| stripTrailingSlash | back to summary |
|---|---|
| private static String stripTrailingSlash(String s) Strip trailing slash from end of string. | |
| validateFeed | back to summary |
|---|---|
| protected void validateFeed(final Document document) throws FeedException | |