Package net.sf.saxon.pattern.qname
Class AnyQNameTest
java.lang.Object
net.sf.saxon.pattern.qname.AnyQNameTest
- All Implemented Interfaces:
QNameTest
A
QNameTest that matches any QName-
Method Summary
Modifier and TypeMethodDescriptionExport the QNameTest as a string for use in a SEF file (typically in a catch clause).static AnyQNameTestbooleanmatches(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()
-
Method Details
-
getInstance
-
matches
Description copied from interface:QNameTestTest whether the QNameTest matches a given QName -
exportQNameTest
Description copied from interface:QNameTestExport 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, space-separated, where each alternative is one of '*', '*:localname', 'Q{uri}*', or 'Q{uri}local'.
-
toString
-
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
-