Package eu.simuline.util.sgml
Class SGMLParser.SpecCharTester
- java.lang.Object
-
- eu.simuline.util.sgml.SGMLParser.SpecCharTester
-
- All Implemented Interfaces:
SGMLParser.CharTester
- Enclosing class:
- SGMLParser
static class SGMLParser.SpecCharTester extends Object implements SGMLParser.CharTester
ACharTesterwhich allows to specify the character which passes the test.
-
-
Field Summary
Fields Modifier and Type Field Description private charchrThe character which passes the testtestChar(char).
-
Constructor Summary
Constructors Constructor Description SpecCharTester()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidsetChar(char chr)Setschrto the specified character value.booleantestChar(char chr)Returns whether the given character coincides withchr.
-
-
-
Field Detail
-
chr
private char chr
The character which passes the testtestChar(char).
-
-
Method Detail
-
setChar
void setChar(char chr)
Setschrto the specified character value.- Parameters:
chr- acharvalue.
-
testChar
public boolean testChar(char chr)
Returns whether the given character coincides withchr.- Specified by:
testCharin interfaceSGMLParser.CharTester- Parameters:
chr- acharvalue.- Returns:
- whether
chcoincides withchr.
-
-