KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > xslt > model > Sort


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.modules.xslt.model;
21
22 import org.netbeans.modules.xslt.model.enums.TBoolean;
23
24
25 /**
26  * <pre>
27  * &lt;xs:element name="sort">
28  * &lt;xs:complexType>
29  * &lt;xs:complexContent mixed="true">
30  * &lt;xs:extension base="xsl:sequence-constructor">
31  * &lt;xs:attribute name="select" type="xsl:expression"/>
32  * &lt;xs:attribute name="lang" type="xsl:avt"/>
33  * &lt;xs:attribute name="data-type" type="xsl:avt" default="text"/>
34  * &lt;xs:attribute name="order" type="xsl:avt" default="ascending"/>
35  * &lt;xs:attribute name="case-order" type="xsl:avt"/>
36  * &lt;xs:attribute name="collation" type="xsl:avt"/>
37  * &lt;xs:attribute name="stable" type="xsl:yes-or-no"/>
38  * &lt;/xs:extension>
39  * &lt;/xs:complexContent>
40  * &lt;/xs:complexType>
41  * &lt;/xs:element>
42  * </pre>
43  *
44  * @author ads
45  *
46  */

47 public interface Sort extends ApplyTemplateChild, SelectSpec, SequenceConstructor,
48     LangSpec, CollationSpec
49 {
50
51     String JavaDoc STABLE = "stable"; // NOI18N
52

53     String JavaDoc ORDER = "order"; // NOI18N
54

55     String JavaDoc CASE_ORDER = "case-order"; // NOI18N
56

57     String JavaDoc DATA_TYPE = "data-type"; // NOI18N
58

59     /**
60      * @return "stable" attribute value
61      */

62     TBoolean getStable();
63     
64     /**
65      * Set "stable" attribute value.
66      * @param value new value
67      */

68     void setStable( TBoolean value );
69     
70     /**
71      * @return "order" attribute value
72      */

73     AttributeValueTemplate getOrder();
74     
75     /**
76      * Set "order" attribute value.
77      * @param value new value
78      */

79     void setOrder( AttributeValueTemplate value );
80     
81     /**
82      * @return "data-type" attribute value
83      */

84     AttributeValueTemplate getDataType();
85     
86     /**
87      * Set "data-type" attribute value.
88      * @param value new value
89      */

90     void setDataType( AttributeValueTemplate value );
91     
92     /**
93      * @return "case-order" attribute value
94      */

95     AttributeValueTemplate getCaseOrder();
96     
97     /**
98      * Set "case-order" attribute value.
99      * @param value new value
100      */

101     void setCaseOrder( AttributeValueTemplate value );
102 }
103
Popular Tags