Class SemanticParagraph
java.lang.Object
org.verapdf.wcag.algorithms.entities.BaseObject
org.verapdf.wcag.algorithms.entities.SemanticNode
org.verapdf.wcag.algorithms.entities.SemanticTextNode
org.verapdf.wcag.algorithms.entities.SemanticParagraph
- Direct Known Subclasses:
SemanticHeading
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected intFields inherited from class org.verapdf.wcag.algorithms.entities.SemanticNode
nodeInfo -
Constructor Summary
ConstructorsConstructorDescriptionSemanticParagraph(SemanticType initialSemanticType) SemanticParagraph(BoundingBox bbox) SemanticParagraph(BoundingBox bbox, List<TextColumn> columns) SemanticParagraph(SemanticParagraph paragraph) SemanticParagraph(SemanticTextNode textNode) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintinthashCode()booleanbooleanvoidsetEnclosedBottom(boolean enclosedBottom) voidsetEnclosedTop(boolean enclosedTop) voidsetIndentation(int indentation) Methods inherited from class org.verapdf.wcag.algorithms.entities.SemanticTextNode
add, addAll, getBackgroundColor, getColumns, getColumnsNumber, getFirstBaseline, getFirstColumn, getFirstLine, getFirstNonSpaceLine, getFirstNonSpaceLine, getFontName, getFontSize, getFontWeight, getItalicAngle, getLastBaseline, getLastColumn, getLastLine, getLinesNumber, getMaxFontSize, getNonSpaceLine, getNonSpaceLine, getPenultColumn, getPenultLine, getSecondLine, getTextColor, getTextFormat, getValue, hasFullLines, isEmpty, isSpaceNode, isStartsWithArabicNumber, setFirstLine, setLastColumn, setLastLine, setTextFormat, toStringMethods 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
-
Field Details
-
enclosedTop
protected boolean enclosedTop -
enclosedBottom
protected boolean enclosedBottom -
indentation
protected int indentation
-
-
Constructor Details
-
SemanticParagraph
-
SemanticParagraph
public SemanticParagraph() -
SemanticParagraph
-
SemanticParagraph
-
SemanticParagraph
-
SemanticParagraph
-
-
Method Details
-
isEnclosedTop
public boolean isEnclosedTop() -
setEnclosedTop
public void setEnclosedTop(boolean enclosedTop) -
isEnclosedBottom
public boolean isEnclosedBottom() -
setEnclosedBottom
public void setEnclosedBottom(boolean enclosedBottom) -
getIndentation
public int getIndentation() -
setIndentation
public void setIndentation(int indentation) -
equals
- Overrides:
equalsin classSemanticTextNode
-
hashCode
public int hashCode()- Overrides:
hashCodein classSemanticTextNode
-