}
public Triple parseTripleLine(final RegexMatcher subjectMatcher, final RegexMatcher predicateMatcher,
final RegexMatcher objectMatcher) throws ParseException {
final SubjectNode subject = (SubjectNode) nodeParser.parseNode(nodeMaps.getSubjectMap(), subjectMatcher);
final PredicateNode predicate = (PredicateNode) nodeParser.parseNode(nodeMaps.getPredicateMap(),
predicateMatcher);
final ObjectNode object = (ObjectNode) nodeParser.parseNode(nodeMaps.getObjectMap(), objectMatcher);
if (subject != null && predicate != null && object != null) {
return tripleFactory.createTriple(subject, predicate, object);
} else {