blob: 239e51aebb284be2b1be360112e432ebecb92ad0 [file] [log] [blame]
/*
* See LICENSE file in distribution for copyright and licensing information.
*/
package org.yaml.snakeyaml.resolver;
import java.util.regex.Pattern;
final class ResolverTuple {
private final String tag;
private final Pattern regexp;
public ResolverTuple(String tag, Pattern regexp) {
this.tag = tag;
this.regexp = regexp;
}
public String getTag() {
return tag;
}
public Pattern getRegexp() {
return regexp;
}
@Override
public String toString() {
return "Tuple tag=" + tag + " regexp=" + regexp;
}
}