}
private XPathExtractor initialiseExtractor(final String expression, XPathReturnType resultType)
throws RegistrationException
{
final XPathExtractor extractor = new XPathExtractor();
extractor.setExpression(expression);
extractor.setResultType(resultType);
initialiseObject(extractor);
return extractor;
}