org.apache.ws.jaxme.xs.xml.impl

Class XsEWhiteSpaceImpl

public class XsEWhiteSpaceImpl extends XsTFacetImpl implements XsEWhiteSpace

Implementation 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

Constructor Summary
protected XsEWhiteSpaceImpl(XsObject pParent)
Method Summary
StringgetFacetName()
booleanisCollapsing()
booleanisPreserving()
booleanisReplacing()
voidsetValue(String pValue)

Constructor Detail

XsEWhiteSpaceImpl

protected XsEWhiteSpaceImpl(XsObject pParent)

Method Detail

getFacetName

public String getFacetName()

isCollapsing

public boolean isCollapsing()

isPreserving

public boolean isPreserving()

isReplacing

public boolean isReplacing()

setValue

public void setValue(String pValue)