Class SemanticSpan
- java.lang.Object
-
- org.verapdf.wcag.algorithms.entities.SemanticNode
-
- org.verapdf.wcag.algorithms.entities.SemanticTextNode
-
- org.verapdf.wcag.algorithms.entities.SemanticSpan
-
- All Implemented Interfaces:
INode
public class SemanticSpan extends SemanticTextNode
-
-
Field Summary
-
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 SemanticSpan()SemanticSpan(TextChunk textChunk)SemanticSpan(TextChunk textChunk, SemanticType initialSemanticType)SemanticSpan(SemanticType initialSemanticType)SemanticSpan(BoundingBox bbox)SemanticSpan(BoundingBox bbox, SemanticType initialSemanticType)SemanticSpan(SemanticSpan span)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringtoString()-
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, hashCode, 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
-
SemanticSpan
public SemanticSpan(SemanticSpan span)
-
SemanticSpan
public SemanticSpan()
-
SemanticSpan
public SemanticSpan(SemanticType initialSemanticType)
-
SemanticSpan
public SemanticSpan(BoundingBox bbox)
-
SemanticSpan
public SemanticSpan(BoundingBox bbox, SemanticType initialSemanticType)
-
SemanticSpan
public SemanticSpan(TextChunk textChunk)
-
SemanticSpan
public SemanticSpan(TextChunk textChunk, SemanticType initialSemanticType)
-
-
Method Detail
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classSemanticTextNode
-
toString
public String toString()
- Overrides:
toStringin classSemanticTextNode
-
-