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 Summary
Fields Modifier and Type Field Description static String
COMMENT_CLOSE_SYMBOL
Constant indicating the close symbol of a comment.static String
COMMENT_OPEN_SYMBOL
Constant indicating the open symbol of a comment.static String
STRING_LITERAL_CLOSE_SYMBOL
Constant indicating the close symbol of a string literal.static String
STRING_LITERAL_OPEN_SYMBOL
Constant indicating the open symbol of a string literal.
-
Constructor Summary
Constructors Constructor Description XmlLineTokenizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isComment(String token)
List<String>
splitLineToTokens(String line)
-
-
-
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
-
-
Method Detail
-
splitLineToTokens
public List<String> splitLineToTokens(String line)
- Specified by:
splitLineToTokens
in classcom._1c.g5.gumtree.core.tokenizer.AbsractLineTokenizer
-
isComment
public boolean isComment(String token)
- Specified by:
isComment
in classcom._1c.g5.gumtree.core.tokenizer.AbsractLineTokenizer
-
-