Class XmlLineTokenizer

java.lang.Object
com._1c.g5.gumtree.core.tokenizer.AbsractLineTokenizer
com._1c.g5.v8.dt.xml.gumtree.tokenizer.XmlLineTokenizer

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

    • COMMENT_OPEN_SYMBOL

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

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

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

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

    • XmlLineTokenizer

      public XmlLineTokenizer()
  • Method Details

    • 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