#101 XMLElement:find(Predicate<XMLContext> predicate)

Terbuka
dibuka 2 tahun lalu oleh ranides · 0 komentar

We should implement recursive scan of whole subtree, filtered by predicate.

If Predicate is instance of XMLSelector, we should do exactly the same as to already implemented "find(XMLSelector)" function.

Maybe to make everything easier we should implement descendants method, which returns unfiltered CQuery with whole subtree and then simply apply filter?

We should implement recursive scan of whole subtree, filtered by predicate. If Predicate is instance of XMLSelector, we should do exactly the same as to already implemented "find(XMLSelector)" function. Maybe to make everything easier we should implement `descendants` method, which returns unfiltered CQuery with whole subtree and then simply apply filter?
Masuk untuk bergabung dalam percakapan ini.
Tidak ada tonggak
Tidak ada penerima
1 Peserta
Memuat...
Batal
Simpan
Belum ada konten.