net.sf.jaxme.xs.xml
Interface XsEWhiteSpace

All Superinterfaces:
XsObject, XsTAnnotated, XsTFacet, XsTFacetBase, XsTFixedFacet
All Known Implementing Classes:
XsEWhiteSpaceImpl

public interface XsEWhiteSpace
extends XsTFacet

Interface of xs:whiteSpace, following this specification:

  <xs:element name="whiteSpace" id="whiteSpace">
    <xs:annotation>
      <xs:documentation
        source="http://www.w3.org/TR/xmlschema-2/#element-whiteSpace"/>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:restriction base="xs:facet">
          <xs:sequence>
            <xs:element ref="xs:annotation" minOccurs="0"/>
          </xs:sequence>
          <xs:attribute name="value" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:NMTOKEN">
                <xs:enumeration value="preserve"/>
                <xs:enumeration value="replace"/>
                <xs:enumeration value="collapse"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:restriction>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
 

Author:
Jochen Wiedmann

Method Summary
 boolean isCollapsing()
           
 boolean isPreserving()
           
 boolean isReplacing()
           
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsTFacet
getValue, setValue
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsTFixedFacet
isFixed, setFixed
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsTFacetBase
getFacetName
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsTAnnotated
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate
 

Method Detail

isPreserving

public boolean isPreserving()

isReplacing

public boolean isReplacing()

isCollapsing

public boolean isCollapsing()