01: /*
02: * The contents of this file are subject to the terms of the Common Development
03: * and Distribution License (the License). You may not use this file except in
04: * compliance with the License.
05: *
06: * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
07: * or http://www.netbeans.org/cddl.txt.
08: *
09: * 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: * <pre>
23: * <xs:element name="for-each-group" substitutionGroup="xsl:instruction">
24: * <xs:complexType>
25: * <xs:complexContent mixed="true">
26: * <xs:extension base="xsl:versioned-element-type">
27: * <xs:sequence>
28: * <xs:element ref="xsl:sort" minOccurs="0" maxOccurs="unbounded"/>
29: * <xs:group ref="xsl:sequence-constructor-group" minOccurs="0" maxOccurs="unbounded"/>
30: * </xs:sequence>
31: * <xs:attribute name="select" type="xsl:expression" use="required"/>
32: * <xs:attribute name="group-by" type="xsl:expression"/>
33: * <xs:attribute name="group-adjacent" type="xsl:expression"/>
34: * <xs:attribute name="group-starting-with" type="xsl:pattern"/>
35: * <xs:attribute name="group-ending-with" type="xsl:pattern"/>
36: * <xs:attribute name="collation" type="xs:anyURI"/>
37: * </xs:extension>
38: * </xs:complexContent>
39: * </xs:complexType>
40: * </xs:element>
41: * </pre>
42: * @author ads
43: *
44: */
45: public interface ForEachGroup extends SequenceConstructor,
46: SequenceElement, Instruction, SelectSpec, SortContainer,
47: CollationSpec {
48: String GROUP_BY = "group-by"; // NOI18N
49:
50: String GROUP_ADJACENT = "group-adjacent"; // NOI18N
51:
52: String GROUP_STARTING_WITH = "group-starting-with"; // NOI18N
53:
54: String GROUP_ENDING_WITH = "group-ending-with"; // NOI18N
55:
56: /**
57: * @return "group-by" attribute value
58: */
59: String getGroupBy();
60:
61: /**
62: * Set "group-by" attribute value.
63: * @param value new value
64: */
65: void setGroupBy(String value);
66:
67: /**
68: * @return "group-adjacent" attribute value
69: */
70: String getGroupAdjacent();
71:
72: /**
73: * Set "group-adjacent" attribute value.
74: * @param value new value
75: */
76: void setGroupAdjacent(String value);
77:
78: /**
79: * @return "group-starting-with" attribute value
80: */
81: String getGroupStartingWith();
82:
83: /**
84: * Set "group-starting-with" attribute value.
85: * @param value new value
86: */
87: void setGroupStartingWith(String value);
88:
89: /**
90: * @return "group-ending-with" attribute value
91: */
92: String getGroupEndingWith();
93:
94: /**
95: * Set "group-ending-with" attribute value.
96: * @param value new value
97: */
98: void setGroupEndingWith(String value);
99: }
|