public interface Criteria
Criteria add(Criteria criteria)
For example:
If you have structure of elements:
<A><B></B></A>
then, to check elements A and B you should use
construction like this: critToCheckA.add(critToCheckB);
criteria - restriction to addboolean match(Element element) throws XMLException
element - element to checktrue if element match.XMLExceptionCopyright © 2006–2014 Tigase. All rights reserved.