KickJava   Java API By Example, From Geeks To Geeks.

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


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 package org.netbeans.modules.xslt.model;
20
21
22 /**
23  * <pre>
24  * &lt;xs:element name="for-each-group" substitutionGroup="xsl:instruction">
25  * &lt;xs:complexType>
26  * &lt;xs:complexContent mixed="true">
27  * &lt;xs:extension base="xsl:versioned-element-type">
28  * &lt;xs:sequence>
29  * &lt;xs:element ref="xsl:sort" minOccurs="0" maxOccurs="unbounded"/>
30  * &lt;xs:group ref="xsl:sequence-constructor-group" minOccurs="0" maxOccurs="unbounded"/>
31  * &lt;/xs:sequence>
32  * &lt;xs:attribute name="select" type="xsl:expression" use="required"/>
33  * &lt;xs:attribute name="group-by" type="xsl:expression"/>
34  * &lt;xs:attribute name="group-adjacent" type="xsl:expression"/>
35  * &lt;xs:attribute name="group-starting-with" type="xsl:pattern"/>
36  * &lt;xs:attribute name="group-ending-with" type="xsl:pattern"/>
37  * &lt;xs:attribute name="collation" type="xs:anyURI"/>
38  * &lt;/xs:extension>
39  * &lt;/xs:complexContent>
40  * &lt;/xs:complexType>
41  * &lt;/xs:element>
42  * </pre>
43  * @author ads
44  *
45  */

46 public interface ForEachGroup extends SequenceConstructor, SequenceElement,
47     Instruction, SelectSpec, SortContainer, CollationSpec
48 {
49     String JavaDoc GROUP_BY = "group-by"; // NOI18N
50

51     String JavaDoc GROUP_ADJACENT = "group-adjacent"; // NOI18N
52

53     String JavaDoc GROUP_STARTING_WITH = "group-starting-with"; // NOI18N
54

55     String JavaDoc GROUP_ENDING_WITH = "group-ending-with"; // NOI18N
56

57     /**
58      * @return "group-by" attribute value
59      */

60     String JavaDoc getGroupBy();
61     
62     /**
63      * Set "group-by" attribute value.
64      * @param value new value
65      */

66     void setGroupBy( String JavaDoc value );
67     
68     /**
69      * @return "group-adjacent" attribute value
70      */

71     String JavaDoc getGroupAdjacent();
72     
73     /**
74      * Set "group-adjacent" attribute value.
75      * @param value new value
76      */

77     void setGroupAdjacent( String JavaDoc value );
78        
79     /**
80      * @return "group-starting-with" attribute value
81      */

82     String JavaDoc getGroupStartingWith();
83     
84     /**
85      * Set "group-starting-with" attribute value.
86      * @param value new value
87      */

88     void setGroupStartingWith( String JavaDoc value );
89     
90     /**
91      * @return "group-ending-with" attribute value
92      */

93     String JavaDoc getGroupEndingWith();
94     
95     /**
96      * Set "group-ending-with" attribute value.
97      * @param value new value
98      */

99     void setGroupEndingWith( String JavaDoc value );
100 }
101
Popular Tags