Class XmlLineTokenizer


  • public class XmlLineTokenizer
    extends com._1c.g5.gumtree.core.tokenizer.AbsractLineTokenizer
    A line tokenizer for xml files.
    • Field Detail

      • COMMENT_OPEN_SYMBOL

        public static final String COMMENT_OPEN_SYMBOL
        Constant indicating the open symbol of a comment.
        See Also:
        Constant Field Values
      • COMMENT_CLOSE_SYMBOL

        public static final String COMMENT_CLOSE_SYMBOL
        Constant indicating the close symbol of a comment.
        See Also:
        Constant Field Values
      • STRING_LITERAL_OPEN_SYMBOL

        public static final String STRING_LITERAL_OPEN_SYMBOL
        Constant indicating the open symbol of a string literal.
        See Also:
        Constant Field Values
      • STRING_LITERAL_CLOSE_SYMBOL

        public static final String STRING_LITERAL_CLOSE_SYMBOL
        Constant indicating the close symbol of a string literal.
        See Also:
        Constant Field Values
    • Constructor Detail

      • XmlLineTokenizer

        public XmlLineTokenizer()
    • Method Detail

      • splitLineToTokens

        public List<String> splitLineToTokens​(String line)
        Specified by:
        splitLineToTokens in class com._1c.g5.gumtree.core.tokenizer.AbsractLineTokenizer
      • isComment

        public boolean isComment​(String token)
        Specified by:
        isComment in class com._1c.g5.gumtree.core.tokenizer.AbsractLineTokenizer