KickJava   Java API By Example, From Geeks To Geeks.

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


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="decimal-format" substitutionGroup="xsl:declaration">
25  * &lt;xs:complexType>
26  * &lt;xs:complexContent>
27  * &lt;xs:extension base="xsl:element-only-versioned-element-type">
28  * &lt;xs:attribute name="name" type="xsl:QName"/>
29  * &lt;xs:attribute name="decimal-separator" type="xsl:char" default="."/>
30  * &lt;xs:attribute name="grouping-separator" type="xsl:char" default=","/>
31  * &lt;xs:attribute name="infinity" type="xs:string" default="Infinity"/>
32  * &lt;xs:attribute name="minus-sign" type="xsl:char" default="-"/>
33  * &lt;xs:attribute name="NaN" type="xs:string" default="NaN"/>
34  * &lt;xs:attribute name="percent" type="xsl:char" default="%"/>
35  * &lt;xs:attribute name="per-mille" type="xsl:char" default="&#x2030;"/>
36  * &lt;xs:attribute name="zero-digit" type="xsl:char" default="0"/>
37  * &lt;xs:attribute name="digit" type="xsl:char" default="#"/>
38  * &lt;xs:attribute name="pattern-separator" type="xsl:char" default=";"/>
39  * &lt;/xs:extension>
40  * &lt;/xs:complexContent>
41  * &lt;/xs:complexType>
42  * &lt;/xs:element>
43  * </pre>
44  * @author ads
45  *
46  */

47 public interface DecimalFormat extends Declaration, QualifiedNameable {
48     
49     String JavaDoc DECIMAL_SEPARATOR = "decimal-separator"; // NOI18N
50

51     String JavaDoc INFINITY = "infinity"; // NOI18N
52

53     String JavaDoc MINUS_SIGN = "minus-sign"; // NOI18N
54

55     String JavaDoc NAN = "NaN"; // NOI18N
56

57     String JavaDoc PERCENT = "percent"; // NOI18N
58

59     String JavaDoc ZERO_DIGIT = "zero-digit"; // NOI18N
60

61     String JavaDoc PER_MILLE = "per-mille"; // NOI18N
62

63     String JavaDoc DIGIT = "digit"; // NOI18N
64

65     String JavaDoc PATTERN_SEPARATOR = "pattern-separator"; // NOI18N
66

67     String JavaDoc GROUPING_SEPARATOR = "grouping-separator"; // NOI18N
68

69     /**
70      * @return "infinity" attribute value
71      */

72     String JavaDoc getInfinity();
73     
74     /**
75      * Set "infinity" attribute value.
76      * @param value new value
77      */

78     void setInfinity( String JavaDoc value );
79     
80     /**
81      * @return "NaN" attribute value
82      */

83     String JavaDoc getNaN();
84     
85     /**
86      * Set "NaN" attribute value.
87      * @param nan new value
88      */

89     void setNaN( String JavaDoc nan );
90
91 }
92
Popular Tags