org.dbpedia.extraction.sources

XMLSource

object XMLSource extends Serializable

Loads wiki pages from an XML stream using the MediaWiki export format.

The MediaWiki export format is specified by http://www.mediawiki.org/xml/export-0.4 http://www.mediawiki.org/xml/export-0.5 http://www.mediawiki.org/xml/export-0.6 http://www.mediawiki.org/xml/export-0.8 etc.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. XMLSource
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def fromFile(file: File, language: Language, filter: (WikiTitle) ⇒ Boolean = _ => true): Source

    Creates an XML Source from an input stream.

    Creates an XML Source from an input stream.

    file

    The input stream to read from. Will be closed after reading.

    language

    if given, parser expects file to be in this language and doesn't read language from siteinfo element

    filter

    Function to filter pages by their title. Pages for which this function returns false, won't be yielded by the source.

  10. def fromMultipleFiles(files: List[File], language: Language, filter: (WikiTitle) ⇒ Boolean = _ => true): Source

  11. def fromOAIXML(xml: Elem): Source

    Creates an XML Source from a parsed XML OAI response.

    Creates an XML Source from a parsed XML OAI response.

    xml

    The xml which contains the pages

  12. def fromReader(source: () ⇒ Reader, language: Language, filter: (WikiTitle) ⇒ Boolean = _ => true): Source

    Creates an XML Source from a reader.

    Creates an XML Source from a reader.

    source

    The input stream to read from. Will be closed after reading.

    language

    if given, parser expects file to be in this language and doesn't read language from siteinfo element

    filter

    Function to filter pages by their title. Pages for which this function returns false, won't be yielded by the source.

  13. def fromReaders(sources: Seq[() ⇒ Reader], language: Language, filter: (WikiTitle) ⇒ Boolean = _ => true): Source

  14. def fromXML(xml: Elem, language: Language): Source

    Creates an XML Source from a parsed XML tree.

    Creates an XML Source from a parsed XML tree.

    xml

    The xml which contains the pages

  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped