Class DefaultChunkSet

    • Constructor Detail

      • DefaultChunkSet

        public DefaultChunkSet​(org.eclipse.rdf4j.model.IRI parentIri)
      • DefaultChunkSet

        public DefaultChunkSet​(org.eclipse.rdf4j.model.IRI parentIri,
                               Set<TextChunk> chunks)
    • Method Detail

      • getArtifactType

        public org.eclipse.rdf4j.model.IRI getArtifactType()
        Description copied from interface: Artifact
        Gets the artifact type.
        Specified by:
        getArtifactType in interface Artifact
        Returns:
        the IRI of the artifact type.
      • getAreaTreeIri

        public org.eclipse.rdf4j.model.IRI getAreaTreeIri()
        Description copied from interface: ChunkSet
        Gets the IRI of the area tree the chunk set was build from. This may be equal to the parent IRI when the chunk set was built from an area tree directly.
        Specified by:
        getAreaTreeIri in interface ChunkSet
        Returns:
        the source area tree IRI
      • setAreaTreeIri

        public void setAreaTreeIri​(org.eclipse.rdf4j.model.IRI pageIri)
      • setTextChunks

        public void setTextChunks​(Set<TextChunk> chunks)
      • addTextChunk

        public void addTextChunk​(TextChunk chunk)
      • invalidateTopology

        public void invalidateTopology()
      • updateTopology

        public void updateTopology()
      • getNextAreaId

        protected int getNextAreaId()
      • setNextAreaId

        public void setNextAreaId​(int nextId)