Class SemanticNode
java.lang.Object
org.verapdf.wcag.algorithms.entities.BaseObject
org.verapdf.wcag.algorithms.entities.SemanticNode
- Direct Known Subclasses:
GFSANode,GFSARoot,SemanticAnnot,SemanticDocument,SemanticFigure,SemanticGroupingNode,SemanticTable,SemanticTextNode
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSemanticNode(SemanticType initialSemanticType) SemanticNode(SemanticType initialSemanticType, Integer objectKeyNumber) SemanticNode(SemanticType initialSemanticType, List<Integer> errorCodes, List<List<Object>> errorArguments, Integer objectKeyNumber) SemanticNode(BoundingBox bbox) SemanticNode(BoundingBox bbox, SemanticType initialSemanticType) SemanticNode(BoundingBox bbox, SemanticType initialSemanticType, SemanticType semanticType) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanintgetDepth()booleangetIndex()inthashCode()booleanisLeaf()booleanisRoot()voidsetAttributesDictionary(IAttributesDictionary AttributesDictionary) voidsetCorrectSemanticScore(Double correctSemanticScore) voidsetDepth(int depth) voidvoidvoidvoidsetSemanticType(SemanticType semanticType) toString()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, setRecognizedStructureIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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 Details
-
nodeInfo
-
-
Constructor Details
-
SemanticNode
public SemanticNode() -
SemanticNode
-
SemanticNode
-
SemanticNode
-
SemanticNode
-
SemanticNode
-
SemanticNode
-
-
Method Details
-
getCorrectSemanticScore
- Specified by:
getCorrectSemanticScorein interfaceINode
-
setCorrectSemanticScore
- Specified by:
setCorrectSemanticScorein interfaceINode
-
getSemanticType
- Specified by:
getSemanticTypein interfaceINode
-
setSemanticType
- Specified by:
setSemanticTypein interfaceINode
-
getInitialSemanticType
- Specified by:
getInitialSemanticTypein interfaceINode
-
getChildren
- Specified by:
getChildrenin interfaceINode
-
addChild
-
setParent
-
getParent
-
getIndex
-
setIndex
-
getObjectKeyNumber
- Specified by:
getObjectKeyNumberin interfaceINode
-
getNextNeighbor
- Specified by:
getNextNeighborin interfaceINode
-
getPreviousNeighbor
- Specified by:
getPreviousNeighborin interfaceINode
-
getNextNode
- Specified by:
getNextNodein interfaceINode
-
getPreviousNode
- Specified by:
getPreviousNodein interfaceINode
-
isRoot
public boolean isRoot() -
isLeaf
public boolean isLeaf() -
getDepth
public int getDepth() -
setHasLowestDepthError
public void setHasLowestDepthError()- Specified by:
setHasLowestDepthErrorin interfaceINode
-
getAttributesDictionary
- Specified by:
getAttributesDictionaryin interfaceINode
-
setAttributesDictionary
- Specified by:
setAttributesDictionaryin interfaceINode
-
getHasLowestDepthError
public boolean getHasLowestDepthError()- Specified by:
getHasLowestDepthErrorin interfaceINode
-
setDepth
public void setDepth(int depth) -
getNodeInfo
- Specified by:
getNodeInfoin interfaceINode
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseObject
-
equals
- Overrides:
equalsin classBaseObject
-
toString
-