Abderaã§RFC以åã®Feedãèªãããã«
ã¯ã¦ãªã®Atomãã£ã¼ãã¨ãããããªãã ãã©ãnamespaceãhttp://purl.org/atom/ns#ã«ãªã£ã¦ããããã®ãã©ããã£ã¦parseãããã®æ¹æ³ã
ãã®äººãã¡ã¨åãæ©ã¿ã§ãã
ããã¤ãåé¡ç¹ã¯æ®ãã¤ã¤ã ããã¨ããããåãåºããã®ã§æ¸ãã¦ããã
Abderaã§ã¯æ¡å¼µã¿ã°ã«ã¯ExtensibleElementã¨ããã®ãç¨æããã¦ãã¦ããããªãã«ç°¡åã«æ¡å¼µãããã¨ãã§ããã®ã ããä»åã®å ´åã¯æ¨æºã®namespaceãhttp://www.w3.org/2005/Atomããhttp://purl.org/atom/ns#ã«å¤æ´ãããã¨ããæãã
Abderaã¯ãã¼ãµã¼é¨åã¯ããã±ã¼ã¸ãorg.apache.abdera.parserããã±ã¼ã¸ã«ã¾ã¨ã¾ã£ã¦ãããcoreé¨åã¨ã®ä¾åé¢ä¿ãå°ãªããjarãå¥ç«ã¦ã§ç¨æããã¦ããã®ã§ãparseré¨åãã¡ãã£ã¨ã ãå¤æ´ãã¦ãæ°ããparserããã±ã¼ã¸ãä½æããã
æé ã¨ãã¦ã¯
- parserããã±ã¼ã¸ã®ã½ã¼ã¹ãå ¥æããããã±ã¼ã¸åãå¤æ´ãä»åã¯
- coreããã±ã¼ã¸ã®org.apache.abdera.util.Constantsã¤ã³ã¿ã¼ãã§ã¼ã¹ãã³ãã¼ãã¦ãã¦ããã®é¨åãhttp://purl.org/atom/ns#ã«å¤æ´ããã
public static final String ATOM_NS = "http://www.w3.org/2005/Atom";
- æ°ããã±ã¼ã¸å ã®Constantsã®importæãå ¨é¨åé¤ã
- summaryã¿ã°çãç¾ç¶ã§ã¯typeã«"text","html","xhtml"ãæ¸ãã®ã ãã©ãã¯ã¦ãªã§ã¯"text/plain"ã§è¿ãã¦ããã®ã§ãããã®å¯¾å¦ãããã
大ä½ãããããã§é©å½ã«åãå§ããããã¨æ°ã«ãªã£ã¦ããã¨ããã¯ã«ãã´ãªã
ã¯ã¦ãªã§ã¯dc:subjectãentryã«è¤æ°æå®ãããã©ãAtomã§ã¯categoriesã®ä¸ã«categoryãç½®ãããnamespaceãfeedãentryã¨åã/éãã®å·®ãããã®ã§ãããã®ã«ãã´ãªã対å¦ããã°ãã¯ã¦ãªã®ãã£ã¼ãã綺éºã«ãã¼ã¹ã§ããããã«ãªãããã¾ã¯getExtensionsã¨ãã§ãã£ã¦ãã
ãã¨ã¯abdera.propertiesã§ä»¥ä¸ã®ãããªè¨è¿°ããã¦parserãåãæ¿ããã
org.apache.abdera.factory.Factory=org.apache.abdera.parser.stax.pre_rfc.FOMFactory org.apache.abdera.parser.Parser=org.apache.abdera.parser.stax.pre_rfc.FOMParser