DefaultDtsCollector

final class DefaultDtsCollector(acceptsEmptyUriSet: Boolean) extends AbstractDtsCollector

Default DTS discovery implementation. It will fail for all found URIs that cannot be resolved to taxonomy documents.

Default DTS discovery implementation. It will fail for all found URIs that cannot be resolved to taxonomy documents.

This document collector works well with XBRL Taxonomy Packages, passing an entry point in such a taxonomy package, and using a document builder that uses the XML catalog of the taxonomy package.

DTS discovery also works if one or more taxonomy schemas and/or linkbases have been combined in the same XML document, below another (wrapper) root element. Embedded linkbases are also picked up.

Authors

Chris de Vreeze

Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def allowingEmptyUriSet(acceptsEmptyUriSet: Boolean): DefaultDtsCollector
def findAllUsedDocUris(taxonomyDoc: TaxonomyDocument): Set[URI]
def findAllUsedDocUris(taxonomyRootElem: TaxonomyRootElem): Set[URI]
def findAllUsedDocUrisInLinkbase(rootElem: Linkbase): Set[URI]
def findAllUsedDocUrisInXsdSchema(rootElem: XsdSchema): Set[URI]

Inherited methods

final def collectTaxonomyDocuments(entryPointUris: Set[URI], documentBuilder: DocumentBuilder): IndexedSeq[TaxonomyDocument]
Inherited from
AbstractDtsCollector