Package org.jxmpp.strings.testframework
Class JidCorpusParser<J>
- java.lang.Object
-
- org.jxmpp.strings.testframework.JidCorpusParser<J>
-
- Direct Known Subclasses:
InvalidJidCorpusParser,ValidJidCorpusParser
public abstract class JidCorpusParser<J> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static charASCII_LINE_FEED_UNICODE_END_OF_LINEstatic charASCII_RECORD_SEPARATOR_UNICODE_INFORMATION_SEPARATOR_TWOstatic charASCII_UNIT_SEPARATOR_UNICODE_INFORMATION_SEPARATOR_ONEprotected static char[]CONTROL_CHARACTERSprotected static char[]CONTROL_CHARACTERS_AND_NEWLINEstatic StringEND_OF_RECORD
-
Constructor Summary
Constructors Modifier Constructor Description protectedJidCorpusParser(String input)Construct a new valid JID corpus parser.protectedJidCorpusParser(String input, boolean tracing)Construct a new valid JID corpus parser.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.parboiled.RulegetParserRootRule()List<J>parse()Parse the input.
-
-
-
Field Detail
-
ASCII_LINE_FEED_UNICODE_END_OF_LINE
public static final char ASCII_LINE_FEED_UNICODE_END_OF_LINE
- See Also:
- Constant Field Values
-
ASCII_RECORD_SEPARATOR_UNICODE_INFORMATION_SEPARATOR_TWO
public static final char ASCII_RECORD_SEPARATOR_UNICODE_INFORMATION_SEPARATOR_TWO
- See Also:
- Constant Field Values
-
ASCII_UNIT_SEPARATOR_UNICODE_INFORMATION_SEPARATOR_ONE
public static final char ASCII_UNIT_SEPARATOR_UNICODE_INFORMATION_SEPARATOR_ONE
- See Also:
- Constant Field Values
-
END_OF_RECORD
public static final String END_OF_RECORD
-
CONTROL_CHARACTERS
protected static final char[] CONTROL_CHARACTERS
-
CONTROL_CHARACTERS_AND_NEWLINE
protected static final char[] CONTROL_CHARACTERS_AND_NEWLINE
-
-
Constructor Detail
-
JidCorpusParser
protected JidCorpusParser(String input)
Construct a new valid JID corpus parser.- Parameters:
input- the string to parse.
-
JidCorpusParser
protected JidCorpusParser(String input, boolean tracing)
Construct a new valid JID corpus parser.- Parameters:
input- the string to parse.tracing- if tracing of the parser should be enabled.
-
-
Method Detail
-
getParserRootRule
protected abstract org.parboiled.Rule getParserRootRule()
-
-