Class PageInfo

  • All Implemented Interfaces:
    Artifact

    public class PageInfo
    extends RDFArtifactInfo
    Class extends the artifact info by page-specific properties.
    Author:
    burgetr
    • Constructor Detail

      • PageInfo

        public PageInfo​(org.eclipse.rdf4j.model.Model model,
                        org.eclipse.rdf4j.model.IRI pageIri)
    • Method Detail

      • processStatement

        protected boolean processStatement​(org.eclipse.rdf4j.model.Statement st)
        Description copied from class: RDFArtifactInfo
        Processes a model statement and changes the artifact accordingly.
        Overrides:
        processStatement in class RDFArtifactInfo
        Parameters:
        st - the statement to process
        Returns:
        true if the statement was used for changing the model, false when the statement was ignored.
      • getWidth

        public int getWidth()
      • setWidth

        public void setWidth​(int width)
      • getHeight

        public int getHeight()
      • setHeight

        public void setHeight​(int height)
      • getTitle

        public String getTitle()
      • getUrl

        public String getUrl()
      • getPngImage

        public byte[] getPngImage()
      • applyToPage

        public void applyToPage​(RDFPage page)