Package org.attoparser.select
Class MarkupSelectorFilter
java.lang.Object
org.attoparser.select.MarkupSelectorFilter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MarkupSelectorFilter.MarkupBlockMatchingCounter
(package private) int
private final IMarkupSelectorItem
private static final int
private boolean[]
private boolean
private MarkupSelectorFilter
private final MarkupSelectorFilter
-
Constructor Summary
ConstructorsConstructorDescriptionMarkupSelectorFilter
(MarkupSelectorFilter prev, IMarkupSelectorItem markupSelectorItem) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkMarkupLevel
(int markupLevel) (package private) boolean
matchCDATASection
(boolean blockMatching, int markupLevel, int markupBlockIndex) (package private) boolean
matchComment
(boolean blockMatching, int markupLevel, int markupBlockIndex) (package private) boolean
matchDocTypeClause
(boolean blockMatching, int markupLevel, int markupBlockIndex) private boolean
matchesPreviousOrCurrentLevel
(int markupLevel) (package private) boolean
matchOpenElement
(boolean blockMatching, int markupLevel, int markupBlockIndex, SelectorElementBuffer elementBuffer) (package private) boolean
matchProcessingInstruction
(boolean blockMatching, int markupLevel, int markupBlockIndex) (package private) boolean
matchStandaloneElement
(boolean blockMatching, int markupLevel, int markupBlockIndex, SelectorElementBuffer elementBuffer) (package private) boolean
matchText
(boolean blockMatching, int markupLevel, int markupBlockIndex) (package private) boolean
matchXmlDeclaration
(boolean blockMatching, int markupLevel, int markupBlockIndex) (package private) void
removeMatchesForLevel
(int markupLevel)
-
Field Details
-
prev
-
next
-
markupSelectorItem
-
MATCHED_MARKUP_LEVELS_LEN
private static final int MATCHED_MARKUP_LEVELS_LEN- See Also:
-
matchedMarkupLevels
private boolean[] matchedMarkupLevels -
matchesThisLevel
private boolean matchesThisLevel -
markupBlockMatchingCounter
-
markupLevelCheckerIndex
int markupLevelCheckerIndex
-
-
Constructor Details
-
MarkupSelectorFilter
MarkupSelectorFilter(MarkupSelectorFilter prev, IMarkupSelectorItem markupSelectorItem)
-
-
Method Details
-
matchXmlDeclaration
boolean matchXmlDeclaration(boolean blockMatching, int markupLevel, int markupBlockIndex) -
matchDocTypeClause
boolean matchDocTypeClause(boolean blockMatching, int markupLevel, int markupBlockIndex) -
matchCDATASection
boolean matchCDATASection(boolean blockMatching, int markupLevel, int markupBlockIndex) -
matchText
boolean matchText(boolean blockMatching, int markupLevel, int markupBlockIndex) -
matchComment
boolean matchComment(boolean blockMatching, int markupLevel, int markupBlockIndex) -
matchStandaloneElement
boolean matchStandaloneElement(boolean blockMatching, int markupLevel, int markupBlockIndex, SelectorElementBuffer elementBuffer) -
matchOpenElement
boolean matchOpenElement(boolean blockMatching, int markupLevel, int markupBlockIndex, SelectorElementBuffer elementBuffer) -
matchProcessingInstruction
boolean matchProcessingInstruction(boolean blockMatching, int markupLevel, int markupBlockIndex) -
checkMarkupLevel
private void checkMarkupLevel(int markupLevel) -
removeMatchesForLevel
void removeMatchesForLevel(int markupLevel) -
matchesPreviousOrCurrentLevel
private boolean matchesPreviousOrCurrentLevel(int markupLevel)
-