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
public class SemanticParagraph extends SemanticTextNode
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanenclosedBottomprotected booleanenclosedTopprotected intindentation-
Fields inherited from class org.verapdf.wcag.algorithms.entities.SemanticNode
nodeInfo
-
-
Constructor Summary
Constructors Constructor Description SemanticParagraph()SemanticParagraph(SemanticType initialSemanticType)SemanticParagraph(BoundingBox bbox)SemanticParagraph(BoundingBox bbox, List<TextColumn> columns)SemanticParagraph(SemanticParagraph paragraph)SemanticParagraph(SemanticTextNode textNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetIndentation()inthashCode()booleanisEnclosedBottom()booleanisEnclosedTop()voidsetEnclosedBottom(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, 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, 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
-
-
-
-
Constructor Detail
-
SemanticParagraph
public SemanticParagraph(SemanticParagraph paragraph)
-
SemanticParagraph
public SemanticParagraph()
-
SemanticParagraph
public SemanticParagraph(SemanticType initialSemanticType)
-
SemanticParagraph
public SemanticParagraph(BoundingBox bbox, List<TextColumn> columns)
-
SemanticParagraph
public SemanticParagraph(BoundingBox bbox)
-
SemanticParagraph
public SemanticParagraph(SemanticTextNode textNode)
-
-
Method Detail
-
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
public boolean equals(Object o)
- Overrides:
equalsin classSemanticTextNode
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSemanticTextNode
-
-