Constructor and Description |
---|
UnionQNameTest(java.util.List<QNameTest> tests) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateJavaScriptNameTest(int targetVersion)
Generate Javascript code to test if a name matches the test.
|
boolean |
matches(StructuredQName qname)
Test whether the QNameTest matches a given QName
|
java.lang.String |
toString()
The toString() method defines the format used in a package export, so it must be re-parseable
|
public UnionQNameTest(java.util.List<QNameTest> tests)
public boolean matches(StructuredQName qname)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String generateJavaScriptNameTest(int targetVersion)
generateJavaScriptNameTest
in interface QNameTest
targetVersion
- Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.