private Fields buildFields( ParseResult parseResult ) {
Fields fields = new Fields();
List<Field> removeFields = fields.removeFields;
for( QName p : parseResult.getFieldsToRemove()) {
removeFields.add( new Field( p.getLocalPart()));
}
List<PropPatchHandler.SetField> setFields = fields.setFields;
for( Entry<QName, String> entry : parseResult.getFieldsToSet().entrySet()) {
setFields.add( new PropPatchHandler.SetField( entry.getKey().getLocalPart(), entry.getValue()));
}