Debian Codegraph @

net/sf/saxon/style/XSLSort.java

raw symbols SCIP
1 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2 // Copyright (c) 2018 Saxonica Limited.
3 // This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4 // If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 // This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla Public License, v. 2.0.
6 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7
8 package net.sf.saxon.style;
9
10 import net.sf.saxon.expr.Expression;
11 import net.sf.saxon.trans.XPathException;
12
13 /**
14 * An xsl:sort element in the stylesheet. <br>
15 */
16
17 public class XSLSort extends XSLSortOrMergeKey {
18
19
20 public void validate(ComponentDeclaration decl) throws XPathException {
21
22 super.validate(decl);
23 stable = typeCheck("stable", stable);
24 sortKeyDefinition.setStable(stable);
25
26 }
27
28
29 public Expression getStable() {
30 return stable;
31 }
32
33
34 }
35