} else {
text = ((DatatypeQueryNode) node).getDatatype();
}
if (replace(text)) {
if (node instanceof ProtectedQueryNode) {
final ProtectedQueryNode pqn = (ProtectedQueryNode) node;
pqn.setText(sb.toString());
pqn.setEnd(pqn.getText().length());
} else {
((DatatypeQueryNode) node).setDatatype(sb.toString());
}
}
}