});
}
private Iterator<PropertyDelegate> propertyDelegateIterator(
Iterator<? extends PropertyState> properties) throws InvalidItemStateException {
final TreeLocation location = getLocation();
return Iterators.transform(
Iterators.filter(properties, new Predicate<PropertyState>() {
@Override
public boolean apply(PropertyState property) {
return !property.getName().startsWith(":");
}
}),
new Function<PropertyState, PropertyDelegate>() {
@Override
public PropertyDelegate apply(PropertyState propertyState) {
return new PropertyDelegate(sessionDelegate, location.getChild(propertyState.getName()));
}
});
}