Package cz.vutbr.fit.layout.rdf
Class PageInfo
- java.lang.Object
-
- cz.vutbr.fit.layout.impl.BaseArtifact
-
- cz.vutbr.fit.layout.api.ArtifactInfo
-
- cz.vutbr.fit.layout.rdf.RDFArtifactInfo
-
- cz.vutbr.fit.layout.rdf.PageInfo
-
- All Implemented Interfaces:
Artifact
public class PageInfo extends RDFArtifactInfo
Class extends the artifact info by page-specific properties.- Author:
- burgetr
-
-
Constructor Summary
Constructors Constructor Description PageInfo(org.eclipse.rdf4j.model.Model model, org.eclipse.rdf4j.model.IRI pageIri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyToPage(RDFPage page)
int
getHeight()
byte[]
getPngImage()
String
getTitle()
String
getUrl()
int
getWidth()
protected boolean
processStatement(org.eclipse.rdf4j.model.Statement st)
Processes a model statement and changes the artifact accordingly.void
setHeight(int height)
void
setWidth(int width)
-
Methods inherited from class cz.vutbr.fit.layout.rdf.RDFArtifactInfo
applyToArtifact, getAdditionalStatements
-
Methods inherited from class cz.vutbr.fit.layout.api.ArtifactInfo
getArtifactType, setArtifactType, toString
-
Methods inherited from class cz.vutbr.fit.layout.impl.BaseArtifact
equals, getCreatedOn, getCreator, getCreatorParams, getIri, getLabel, getMetadata, getParentIri, hashCode, setCreatedOn, setCreator, setCreatorParams, setIri, setLabel, setMetadata, setParentIri
-
-
-
-
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 classRDFArtifactInfo
- 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)
-
-