public enum QueryBinding extends java.lang.Enum<QueryBinding>
| Enum Constant and Description |
|---|
DEFAULT
Default query binding (when unspecified in Schema)
|
XSLT1
"xslt" query binding usnig XSLT 1.0 templates
|
XSLT2
"xslt2" query binding usnig XSLT 2.0 version
|
XSLT3
"xslt3" query binding usnig XSLT 2.0 version
|
| Modifier and Type | Method and Description |
|---|---|
static QueryBinding |
forValue(java.lang.String value)
Return the query binding based on the attribute value.
|
static QueryBinding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QueryBinding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
java.lang.String |
version() |
public static final QueryBinding DEFAULT
public static final QueryBinding XSLT1
public static final QueryBinding XSLT2
public static final QueryBinding XSLT3
public static QueryBinding[] values()
for (QueryBinding c : QueryBinding.values()) System.out.println(c);
public static QueryBinding valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String version()
public static QueryBinding forValue(java.lang.String value) throws SchematronException
value - attribute value of `sch:schema`SchematronException - If the query binding is not supported.