Class SemanticFigure
- java.lang.Object
-
- org.verapdf.wcag.algorithms.entities.BaseObject
-
- org.verapdf.wcag.algorithms.entities.SemanticNode
-
- org.verapdf.wcag.algorithms.entities.SemanticFigure
-
public class SemanticFigure extends SemanticNode
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ImageChunk>imagesprotected List<LineArtChunk>lineArts-
Fields inherited from class org.verapdf.wcag.algorithms.entities.SemanticNode
nodeInfo
-
-
Constructor Summary
Constructors Constructor Description SemanticFigure(ImageChunk image)SemanticFigure(LineArtChunk lineArtChunk)SemanticFigure(SemanticFigure imageNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddImages(List<ImageChunk> images)voidaddLineArts(List<LineArtChunk> lineArts)booleanequals(Object o)List<ImageChunk>getImages()List<LineArtChunk>getLineArts()inthashCode()StringtoString()-
Methods inherited from class org.verapdf.wcag.algorithms.entities.SemanticNode
addChild, getAttributesDictionary, getChildren, getCorrectSemanticScore, getDepth, getHasLowestDepthError, getIndex, getInitialSemanticType, getNextNeighbor, getNextNode, getNodeInfo, getObjectKeyNumber, getParent, getPreviousNeighbor, getPreviousNode, getSemanticType, isLeaf, isRoot, setAttributesDictionary, setCorrectSemanticScore, setDepth, setHasLowestDepthError, setIndex, setParent, setSemanticType
-
Methods inherited from class org.verapdf.wcag.algorithms.entities.BaseObject
getBottomY, getBoundingBox, getCenterX, getCenterY, getErrorArguments, getErrorCodes, getHeight, getLastPageNumber, getLeftX, getPageNumber, getRecognizedStructureId, getRightX, getTopY, getWidth, setBoundingBox, setLastPageNumber, setPageNumber, setRecognizedStructureId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.verapdf.wcag.algorithms.entities.IObject
getBottomY, getBoundingBox, getCenterX, getCenterY, getErrorArguments, getErrorCodes, getHeight, getLastPageNumber, getLeftX, getPageNumber, getRecognizedStructureId, getRightX, getTopY, getWidth, setBoundingBox, setLastPageNumber, setPageNumber, setRecognizedStructureId
-
-
-
-
Field Detail
-
images
protected final List<ImageChunk> images
-
lineArts
protected final List<LineArtChunk> lineArts
-
-
Constructor Detail
-
SemanticFigure
public SemanticFigure(SemanticFigure imageNode)
-
SemanticFigure
public SemanticFigure(ImageChunk image)
-
SemanticFigure
public SemanticFigure(LineArtChunk lineArtChunk)
-
-
Method Detail
-
addImages
public void addImages(List<ImageChunk> images)
-
addLineArts
public void addLineArts(List<LineArtChunk> lineArts)
-
getImages
public List<ImageChunk> getImages()
-
getLineArts
public List<LineArtChunk> getLineArts()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classSemanticNode
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSemanticNode
-
toString
public String toString()
- Overrides:
toStringin classSemanticNode
-
-