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>
| Modifier | Constructor and Description |
|---|---|
protected |
XsEWhiteSpaceImpl(XsObject pParent) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFacetName() |
boolean |
isCollapsing() |
boolean |
isPreserving() |
boolean |
isReplacing() |
void |
setValue(java.lang.String pValue) |
getValue, validateisFixed, setFixedcreateAnnotation, getAnnotation, getId, setIdgetOpenAttributes, setAttributeasXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidatedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFixed, setFixedcreateAnnotation, getAnnotation, getId, setIdgetOpenAttributesgetLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validateprotected XsEWhiteSpaceImpl(XsObject pParent)
public void setValue(java.lang.String pValue)
setValue in interface XsTFacetsetValue in class XsTFacetImplpublic boolean isPreserving()
isPreserving in interface XsEWhiteSpacepublic boolean isReplacing()
isReplacing in interface XsEWhiteSpacepublic boolean isCollapsing()
isCollapsing in interface XsEWhiteSpacepublic java.lang.String getFacetName()
getFacetName in interface XsTFacetBasegetFacetName in class XsTFacetBaseImpl