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 * <xs:element name="whiteSpace" id="whiteSpace"> 24 * <xs:annotation> 25 * <xs:documentation 26 * source="http://www.w3.org/TR/xmlschema-2/#element-whiteSpace"/> 27 * </xs:annotation> 28 * <xs:complexType> 29 * <xs:complexContent> 30 * <xs:restriction base="xs:facet"> 31 * <xs:sequence> 32 * <xs:element ref="xs:annotation" minOccurs="0"/> 33 * </xs:sequence> 34 * <xs:attribute name="value" use="required"> 35 * <xs:simpleType> 36 * <xs:restriction base="xs:NMTOKEN"> 37 * <xs:enumeration value="preserve"/> 38 * <xs:enumeration value="replace"/> 39 * <xs:enumeration value="collapse"/> 40 * </xs:restriction> 41 * </xs:simpleType> 42 * </xs:attribute> 43 * </xs:restriction> 44 * </xs:complexContent> 45 * </xs:complexType> 46 * </xs:element> 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