Slide 15
Slide 15 text
Adapter
11
‣ XML tree tr
a
vers
a
l oper
a
tions
a
re
a
bstr
a
cted by
a
d
a
pters.
- element?, get_parent_node, get_attribute, ...
‣ Def
a
ult: REXMLAdapter
‣ By implementing
a
n
a
d
a
pter for our tree, we c
a
n get CSS selector m
a
tching for this.
‣ → PrismAdapter
Generic usage of CSS selector.