net.sf.saxon.pattern
Class UnionQNameTest

java.lang.Object
  extended by net.sf.saxon.pattern.UnionQNameTest
All Implemented Interfaces:
java.io.Serializable, QNameTest

public class UnionQNameTest
extends java.lang.Object
implements QNameTest

A QNameTest that is the union of a number of supplied QNameTests

See Also:
Serialized Form

Field Summary
(package private)  java.util.List<QNameTest> tests
           
 
Constructor Summary
UnionQNameTest(java.util.List<QNameTest> tests)
           
 
Method Summary
 boolean matches(StructuredQName qname)
          Test whether the QNameTest matches a given QName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tests

java.util.List<QNameTest> tests
Constructor Detail

UnionQNameTest

public UnionQNameTest(java.util.List<QNameTest> tests)
Method Detail

matches

public boolean matches(StructuredQName qname)
Test whether the QNameTest matches a given QName

Specified by:
matches in interface QNameTest
Parameters:
qname - the QName to be matched
Returns:
true if the name matches, false if not