org.jrdf.parser.ntriples.parser
Class RegexLiteralMatcher

java.lang.Object
  extended by org.jrdf.parser.ntriples.parser.RegexLiteralMatcher
All Implemented Interfaces:
Serializable, LiteralMatcher

public final class RegexLiteralMatcher
extends Object
implements LiteralMatcher, Serializable

See Also:
Serialized Form

Constructor Summary
RegexLiteralMatcher(RegexMatcherFactory newRegexFactory, NTripleUtil newNTripleUtil)
           
 
Method Summary
 boolean matches(String s)
           
 String[] parse(String s)
           
 void setPattern(String newPattern)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexLiteralMatcher

public RegexLiteralMatcher(RegexMatcherFactory newRegexFactory,
                           NTripleUtil newNTripleUtil)
Method Detail

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