org.jrdf.parser.ntriples.parser
Class RegexLiteralMatcher
java.lang.Object
org.jrdf.parser.ntriples.parser.RegexLiteralMatcher
- All Implemented Interfaces:
- Serializable, LiteralMatcher
public final class RegexLiteralMatcher
- extends Object
- implements LiteralMatcher, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexLiteralMatcher
public RegexLiteralMatcher(RegexMatcherFactory newRegexFactory,
NTripleUtil newNTripleUtil)
setPattern
public void setPattern(String newPattern)
- Specified by:
setPattern
in interface LiteralMatcher
matches
public boolean matches(String s)
- Specified by:
matches
in interface LiteralMatcher
parse
public String[] parse(String s)
- Specified by:
parse
in interface LiteralMatcher