com.sun.syndication.io.impl
クラス Atom03Parser

java.lang.Object
  上位を拡張 com.sun.syndication.io.impl.BaseWireFeedParser
      上位を拡張 com.sun.syndication.io.impl.Atom03Parser
すべての実装されたインタフェース:
WireFeedParser

public class Atom03Parser
extends BaseWireFeedParser


コンストラクタの概要
  Atom03Parser()
           
protected Atom03Parser(java.lang.String type, Namespace ns)
           
 
メソッドの概要
protected  Namespace getAtomNamespace()
           
 boolean isMyType(Document document)
          Inspects an XML Document (JDOM) to check if it can parse it.
 WireFeed parse(Document document, boolean validate)
          Parses an XML document (JDOM Document) into a feed bean.
protected  WireFeed parseFeed(Element eFeed)
           
protected  void validateFeed(Document document)
           
 
クラス com.sun.syndication.io.impl.BaseWireFeedParser から継承されたメソッド
extractForeignMarkup, getAttribute, getAttributeValue, getType, parseFeedModules, parseItemModules
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Atom03Parser

public Atom03Parser()

Atom03Parser

protected Atom03Parser(java.lang.String type,
                       Namespace ns)
メソッドの詳細

getAtomNamespace

protected Namespace getAtomNamespace()

isMyType

public boolean isMyType(Document document)
インタフェース WireFeedParser の記述:
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.

パラメータ:
document - XML Document (JDOM) to check if it can be parsed by this parser.
戻り値:
true if the parser know how to parser this feed, false otherwise.

parse

public WireFeed parse(Document document,
                      boolean validate)
               throws java.lang.IllegalArgumentException,
                      FeedException
インタフェース WireFeedParser の記述:
Parses an XML document (JDOM Document) into a feed bean.

パラメータ:
document - XML document (JDOM) to parse.
validate - indicates if the feed should be strictly validated (NOT YET IMPLEMENTED).
戻り値:
the resulting feed bean.
例外:
java.lang.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).

validateFeed

protected void validateFeed(Document document)
                     throws FeedException
例外:
FeedException

parseFeed

protected WireFeed parseFeed(Element eFeed)