Class SemanticTextNode
java.lang.Object
org.verapdf.wcag.algorithms.entities.BaseObject
org.verapdf.wcag.algorithms.entities.SemanticNode
org.verapdf.wcag.algorithms.entities.SemanticTextNode
- Direct Known Subclasses:
SemanticCaption,SemanticList,SemanticParagraph,SemanticPart,SemanticSpan
-
Field Summary
Fields inherited from class org.verapdf.wcag.algorithms.entities.SemanticNode
nodeInfo -
Constructor Summary
ConstructorsConstructorDescriptionSemanticTextNode(TextChunk textChunk) SemanticTextNode(TextChunk textChunk, SemanticType initialSemanticType) SemanticTextNode(SemanticType initialSemanticType) SemanticTextNode(BoundingBox bbox) SemanticTextNode(BoundingBox bbox, List<TextColumn> columns) SemanticTextNode(BoundingBox bbox, SemanticType initialSemanticType) SemanticTextNode(SemanticTextNode textNode) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddAll(List<TextColumn> text) booleandouble[]intdoublegetFirstNonSpaceLine(int pageNumber) doubledoubledoubledoubleintdouble[]getValue()booleaninthashCode()booleanisEmpty()booleanbooleanvoidsetFirstLine(TextLine firstLine) voidsetLastColumn(TextColumn lastColumn) voidsetLastLine(TextLine lastLine) voidsetTextFormat(TextFormat textFormat) toString()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, setSemanticTypeMethods 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
-
Constructor Details
-
SemanticTextNode
-
SemanticTextNode
public SemanticTextNode() -
SemanticTextNode
-
SemanticTextNode
-
SemanticTextNode
-
SemanticTextNode
-
SemanticTextNode
-
SemanticTextNode
-
-
Method Details
-
add
-
addAll
-
getColumns
-
getLinesNumber
public int getLinesNumber() -
getColumnsNumber
public int getColumnsNumber() -
getFirstLine
-
setFirstLine
-
setLastLine
-
setLastColumn
-
getFirstColumn
-
getLastColumn
-
getPenultColumn
-
getSecondLine
-
getPenultLine
-
getLastLine
-
getFirstBaseline
public double getFirstBaseline() -
getLastBaseline
public double getLastBaseline() -
isEmpty
public boolean isEmpty() -
getFontWeight
public double getFontWeight() -
getFirstNonSpaceLine
-
getFirstNonSpaceLine
-
hasFullLines
public boolean hasFullLines() -
getFontSize
public double getFontSize() -
getItalicAngle
public double getItalicAngle() -
getTextColor
public double[] getTextColor() -
getFontName
-
getTextFormat
-
setTextFormat
-
getMaxFontSize
-
getBackgroundColor
public double[] getBackgroundColor() -
isSpaceNode
public boolean isSpaceNode() -
isStartsWithArabicNumber
public boolean isStartsWithArabicNumber() -
getValue
-
equals
- Overrides:
equalsin classSemanticNode
-
hashCode
public int hashCode()- Overrides:
hashCodein classSemanticNode
-
toString
- Overrides:
toStringin classSemanticNode
-