/** * Declare the default collation * * @param uri the absolute URI of the default collation. This URI must have been bound to a collation * using the method {@link Configuration#registerCollation(String, StringCollator)}, or it must be * one that is recognized implicitly, such as a UCA collation * @throws NullPointerException if the collation URI is null * @throws IllegalStateException if the collation URI has not been registered, unless it is the standard * Unicode codepoint collation which is registered implicitly * @since 9.4 */ public void declareDefaultCollation(String uri) { env.declareDefaultCollation(uri); }
/** * Declare the default collation * * @param uri the absolute URI of the default collation. This URI must have been bound to a collation * using the method {@link Configuration#registerCollation(String, StringCollator)}, or it must be * one that is recognized implicitly, such as a UCA collation * @throws NullPointerException if the collation URI is null * @throws IllegalStateException if the collation URI has not been registered, unless it is the standard * Unicode codepoint collation which is registered implicitly * @since 9.4 */ public void declareDefaultCollation(String uri) { env.declareDefaultCollation(uri); }
sqc.declareDefaultCollation(ctx.getDefaultCollation()); sqc.setDefaultElementNamespace(ctx.getDefaultElementTypeNamespace()); sqc.setDefaultFunctionNamespace(ctx.getDefaultFunctionNamespace());