Package net.sf.saxon.pattern
Class UnionQNameTest
java.lang.Object
net.sf.saxon.pattern.UnionQNameTest
- All Implemented Interfaces:
QNameTest
A QNameTest that is the union of a number of supplied QNameTests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanExport the QNameTest as a string for use in a SEF file (typically in a catch clause).getTests()inthashCode()booleanmatches(StructuredQName qname) Test whether the QNameTest matches a given QNamerelationship(QNameTest other) Determine the relationship of this QNameTest to another QNameTest: one of (same, subsumes, subsumed-by, overlaps, disjoint)toString()The toString() method defines the format used in a package export, so it must be re-parseable
-
Constructor Details
-
UnionQNameTest
-
UnionQNameTest
-
-
Method Details
-
getTests
-
matches
Test whether the QNameTest matches a given QName -
toString
The toString() method defines the format used in a package export, so it must be re-parseable -
exportQNameTest
Export the QNameTest as a string for use in a SEF file (typically in a catch clause).- Specified by:
exportQNameTestin interfaceQNameTest- Returns:
- a string representation of the QNameTest, suitable for use in export files. The format is a sequence of alternatives separated by spaces, where each alternative is one of '*', '*:localname', 'Q{uri}*', or 'Q{uri}local'.
-
relationship
Description copied from interface:QNameTestDetermine the relationship of this QNameTest to another QNameTest: one of (same, subsumes, subsumed-by, overlaps, disjoint)- Specified by:
relationshipin interfaceQNameTest
-
equals
-
hashCode
public int hashCode()
-