Class SemanticHeading
- java.lang.Object
-
- org.verapdf.wcag.algorithms.entities.SemanticNode
-
- org.verapdf.wcag.algorithms.entities.SemanticTextNode
-
- org.verapdf.wcag.algorithms.entities.SemanticParagraph
-
- org.verapdf.wcag.algorithms.entities.SemanticHeading
-
- All Implemented Interfaces:
INode
- Direct Known Subclasses:
SemanticNumberHeading
public class SemanticHeading extends SemanticParagraph
-
-
Field Summary
-
Fields inherited from class org.verapdf.wcag.algorithms.entities.SemanticParagraph
enclosedBottom, enclosedTop, indentation
-
Fields inherited from class org.verapdf.wcag.algorithms.entities.SemanticTextNode
lines
-
Fields inherited from class org.verapdf.wcag.algorithms.entities.SemanticNode
nodeInfo
-
-
Constructor Summary
Constructors Constructor Description SemanticHeading()SemanticHeading(SemanticHeading heading)SemanticHeading(SemanticParagraph paragraph)SemanticHeading(SemanticSpan span)SemanticHeading(SemanticTextNode textNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()-
Methods inherited from class org.verapdf.wcag.algorithms.entities.SemanticParagraph
equals, getIndentation, hashCode, isEnclosedBottom, isEnclosedTop, setEnclosedBottom, setEnclosedTop, setIndentation
-
Methods inherited from class org.verapdf.wcag.algorithms.entities.SemanticTextNode
add, addAll, getFirstBaseline, getFirstLine, getFontName, getFontSize, getFontWeight, getItalicAngle, getLastBaseline, getLastLine, getLines, getLinesNumber, getPenultLine, getSecondLine, getTextColor, hasFullLines, isEmpty, isSpaceNode, isStartsWithArabicNumber, setFirstLine, setLastLine
-
Methods inherited from class org.verapdf.wcag.algorithms.entities.SemanticNode
addChild, getBottomY, getBoundingBox, getChildren, getCorrectSemanticScore, getInitialSemanticType, getLastPageNumber, getLeftX, getNodeInfo, getPageNumber, getParent, getRecognizedStructureId, getRightX, getSemanticType, getTopY, isLeaf, isRoot, setBoundingBox, setCorrectSemanticScore, setLastPageNumber, setPageNumber, setParent, setRecognizedStructureId, setSemanticType
-
-
-
-
Constructor Detail
-
SemanticHeading
public SemanticHeading(SemanticHeading heading)
-
SemanticHeading
public SemanticHeading(SemanticParagraph paragraph)
-
SemanticHeading
public SemanticHeading(SemanticSpan span)
-
SemanticHeading
public SemanticHeading(SemanticTextNode textNode)
-
SemanticHeading
public SemanticHeading()
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classSemanticParagraph
-
-