KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ws > jaxme > xs > xml > XsEWhiteSpace


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.xml;
18
19
20 /** <p>Interface of <code>xs:whiteSpace</code>, following
21  * this specification:
22  * <pre>
23  * &lt;xs:element name="whiteSpace" id="whiteSpace"&gt;
24  * &lt;xs:annotation&gt;
25  * &lt;xs:documentation
26  * source="http://www.w3.org/TR/xmlschema-2/#element-whiteSpace"/&gt;
27  * &lt;/xs:annotation&gt;
28  * &lt;xs:complexType&gt;
29  * &lt;xs:complexContent&gt;
30  * &lt;xs:restriction base="xs:facet"&gt;
31  * &lt;xs:sequence&gt;
32  * &lt;xs:element ref="xs:annotation" minOccurs="0"/&gt;
33  * &lt;/xs:sequence&gt;
34  * &lt;xs:attribute name="value" use="required"&gt;
35  * &lt;xs:simpleType&gt;
36  * &lt;xs:restriction base="xs:NMTOKEN"&gt;
37  * &lt;xs:enumeration value="preserve"/&gt;
38  * &lt;xs:enumeration value="replace"/&gt;
39  * &lt;xs:enumeration value="collapse"/&gt;
40  * &lt;/xs:restriction&gt;
41  * &lt;/xs:simpleType&gt;
42  * &lt;/xs:attribute&gt;
43  * &lt;/xs:restriction&gt;
44  * &lt;/xs:complexContent&gt;
45  * &lt;/xs:complexType&gt;
46  * &lt;/xs:element&gt;
47  * </pre></p>
48  *
49  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
50  */

51 public interface XsEWhiteSpace extends XsTFacet {
52   public boolean isPreserving();
53   public boolean isReplacing();
54   public boolean isCollapsing();
55 }
56
Popular Tags