|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.uky.rch.ept.xmlSegmentTree.TagFilter
An ElementFilter that matches tagged elements with any of a set
of tags, and optionally string elements as well.
| Constructor Summary | |
TagFilter(Collection tags)
Create a TagFilter which matches the tags in a collection, as well as string elements. |
|
TagFilter(Collection tags,
boolean strings)
Create a TagFilter which matches the tags in a collection, and optionally string elements. |
|
TagFilter(String[] tags)
Create a TagFilter which matches the tags in an array, as well as string elements. |
|
TagFilter(String[] tags,
boolean strings)
Create a TagFilter which matches the tags in an array, and optionally string elements. |
|
| Method Summary | |
boolean |
matches(Element e)
Test whether this filter matches an element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TagFilter(String[] tags,
boolean strings)
tags - the tags to be matched by the filter.strings - true if string elements should be matched.public TagFilter(String[] tags)
tags - the tags to be matched by the filter.
public TagFilter(Collection tags,
boolean strings)
tags - the tags to be matched by the filter.strings - true if string elements should be matched.public TagFilter(Collection tags)
tags - the tags to be matched by the filter.| Method Detail |
public boolean matches(Element e)
matches in interface ElementFiltere - the element under consideration.
e should be passed to the SegmentTreeVisitor
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||