Package org.htmlcleaner.conditional
Class TagNodeInsignificantBrCondition
- java.lang.Object
-
- org.htmlcleaner.conditional.TagNodeInsignificantBrCondition
-
- All Implemented Interfaces:
ITagNodeCondition
public class TagNodeInsignificantBrCondition extends java.lang.Object implements ITagNodeCondition
Checks if node is an insignificant br tag -- is placed at the end or at the start of a block.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
BR_TAG
-
Constructor Summary
Constructors Constructor Description TagNodeInsignificantBrCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private boolean
checkSublist(int start, int end, java.util.List list)
private boolean
isBrNode(TagNode tagNode)
boolean
satisfy(TagNode tagNode)
-
-
-
Field Detail
-
BR_TAG
private static final java.lang.String BR_TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
satisfy
public boolean satisfy(TagNode tagNode)
- Specified by:
satisfy
in interfaceITagNodeCondition
-
isBrNode
private boolean isBrNode(TagNode tagNode)
-
checkSublist
private boolean checkSublist(int start, int end, java.util.List list)
-
-