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:
20: package org.netbeans.modules.xslt.model;
21:
22: /**
23: * <pre>
24: * <xs:element name="number" substitutionGroup="xsl:instruction">
25: * <xs:complexType>
26: * <xs:complexContent mixed="true">
27: * <xs:extension base="xsl:versioned-element-type">
28: * <xs:attribute name="value" type="xsl:expression"/>
29: * <xs:attribute name="select" type="xsl:expression"/>
30: * <xs:attribute name="level" type="xsl:level" default="single"/>
31: * <xs:attribute name="count" type="xsl:pattern"/>
32: * <xs:attribute name="from" type="xsl:pattern"/>
33: * <xs:attribute name="format" type="xsl:avt" default="1"/>
34: * <xs:attribute name="lang" type="xsl:avt"/>
35: * <xs:attribute name="letter-value" type="xsl:avt"/>
36: * <xs:attribute name="ordinal" type="xsl:avt"/>
37: * <xs:attribute name="grouping-separator" type="xsl:avt"/>
38: * <xs:attribute name="grouping-size" type="xsl:avt"/>
39: * </xs:extension>
40: * </xs:complexContent>
41: * </xs:complexType>
42: * </xs:element>
43: * </pre>
44: * @author ads
45: *
46: */
47: public interface Number extends ContentElement, SelectSpec,
48: Instruction, LangSpec, FormatSpec {
49:
50: String VALUE = "value"; // NOI18N
51:
52: String LEVEL = "level"; // NOI18N
53:
54: String COUNT = "count"; // NOI18N
55:
56: String FROM = "from"; // NOI18N
57:
58: String LETTER_VALUE = "letter-value"; // NOI18N
59:
60: String ORDINAL = "ordinal"; // NOI18N
61:
62: String GROUPING_SIZE = "grouping-size"; // NOI18N
63:
64: String GROUPING_SEPARATOR = DecimalFormat.GROUPING_SEPARATOR;
65: }
|