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

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

public class DCModuleParser
extends java.lang.Object
implements ModuleParser

Parser for the Dublin Core module.


コンストラクタの概要
DCModuleParser()
           
 
メソッドの概要
 java.lang.String getNamespaceUri()
          Returns the namespace URI this parser handles.
protected  java.lang.String getTaxonomy(Element desc)
          Utility method to parse a taxonomy from an element.
 Module parse(Element dcRoot)
          Parse an element tree and return the module found in it.
protected  java.util.List parseElementList(java.util.List eList)
          Utility method to parse a list of strings out of a list of elements.
protected  java.util.List parseElementListDate(java.util.List eList)
          Utility method to parse a list of dates out of a list of elements.
protected  java.util.List parseSubjects(java.util.List eList)
          Utility method to parse a list of subjects out of a list of elements.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DCModuleParser

public DCModuleParser()
メソッドの詳細

getNamespaceUri

public final java.lang.String getNamespaceUri()
インタフェース ModuleParser の記述:
Returns the namespace URI this parser handles.

定義:
インタフェース ModuleParser 内の getNamespaceUri
戻り値:
the namespace URI.

parse

public Module parse(Element dcRoot)
Parse an element tree and return the module found in it.

定義:
インタフェース ModuleParser 内の parse
パラメータ:
dcRoot - the root element containing the module elements.
戻り値:
the module parsed from the element tree, null if none.

getTaxonomy

protected final java.lang.String getTaxonomy(Element desc)
Utility method to parse a taxonomy from an element.

パラメータ:
desc - the taxonomy description element.
戻り値:
the string contained in the resource of the element.

parseSubjects

protected final java.util.List parseSubjects(java.util.List eList)
Utility method to parse a list of subjects out of a list of elements.

パラメータ:
eList - the element list to parse.
戻り値:
a list of subjects parsed from the elements.

parseElementList

protected final java.util.List parseElementList(java.util.List eList)
Utility method to parse a list of strings out of a list of elements.

パラメータ:
eList - the list of elements to parse.
戻り値:
the list of strings

parseElementListDate

protected final java.util.List parseElementListDate(java.util.List eList)
Utility method to parse a list of dates out of a list of elements.

パラメータ:
eList - the list of elements to parse.
戻り値:
the list of dates.