KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ws > jaxme > xs > XSAtomicType


1 /*
2  * Copyright 2003, 2004 The Apache Software Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15
16  */

17 package org.apache.ws.jaxme.xs;
18
19
20 /** <p>Details of an atomic type.</p>
21  *
22  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
23  */

24 public interface XSAtomicType {
25   /** <p>Returns the value of the "fractionDigits" facet or null, if the facet is not set.</p>
26    */

27   public Long JavaDoc getFractionDigits();
28
29   /** <p>Returns the value of the "length" facet or null, if the facet is not set.</p>
30    */

31   public Long JavaDoc getLength();
32
33   /** <p>Returns the value of the "maxExclusive" facet or null, if the facet is not set.</p>
34    */

35   public String JavaDoc getMaxExclusive();
36
37   /** <p>Returns the value of the "maxInclusive" facet or null, if the facet is not set.</p>
38    */

39   public String JavaDoc getMaxInclusive();
40
41   /** <p>Returns the value of the "maxLength" facet or null, if the facet is not set.</p>
42    */

43   public Long JavaDoc getMaxLength();
44
45   /** <p>Returns the value of the "minExclusive" facet or null, if the facet is not set.</p>
46    */

47   public String JavaDoc getMinExclusive();
48
49   /** <p>Returns the value of the "minInclusive" facet or null, if the facet is not set.</p>
50    */

51   public String JavaDoc getMinInclusive();
52
53   /** <p>Returns the value of the "minLength" facet or null, if the facet is not set.</p>
54    */

55   public Long JavaDoc getMinLength();
56
57   /** <p>Returns the value of the "totalDigits" facet or null, if the facet is not set.</p>
58    */

59   public Long JavaDoc getTotalDigits();
60
61   /** <p>Returns whether the simple type is replacing tabs, carriage returns,
62    * and line feeds with blanks.</p>
63    */

64   public boolean isReplacing();
65
66   /** <p>Returns whether the simple type is collapsing multiple blanks into
67    * one and removing preceding and trailing blanks. Collapsing includes
68    * replacing.</p>
69    */

70   public boolean isCollapsing();
71 }
72
Popular Tags