question: private byte skipTagForward ( ) { int initialCharIndex = charIndex ; while ( charIndex < length ) { lastChar = text . charAt ( charIndex ++ ) ; if ( lastChar == '>' ) { return Character . DIRECTIONALITY_WHITESPACE ; } if ( lastChar == '"' || lastChar == '\'' ) { char quote = lastChar ; while ( charIndex < length && ( lastChar = text . charAt ( charIndex ++ ) ) != quote ) { } } } charIndex = initialCharIndex ; lastChar = '<' ; return Character . DIRECTIONALITY_OTHER_NEUTRALS ; }
target:  Advances charIndex forward through an HTML tag (after the opening &lt; has already been read) and returns Character.DIRECTIONALITY_WHITESPACE. If there is no matching &gt;, does not change charIndex and returns Character.DIRECTIONALITY_OTHER_NEUTRALS (for the &lt; that hadn't been part of a tag after all).