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, validate
isFixed, setFixed
createAnnotation, getAnnotation, getId, setId
getOpenAttributes, setAttribute
asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFixed, setFixed
createAnnotation, getAnnotation, getId, setId
getOpenAttributes
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate
protected XsEWhiteSpaceImpl(XsObject pParent)
public void setValue(java.lang.String pValue)
setValue
in interface XsTFacet
setValue
in class XsTFacetImpl
public boolean isPreserving()
isPreserving
in interface XsEWhiteSpace
public boolean isReplacing()
isReplacing
in interface XsEWhiteSpace
public boolean isCollapsing()
isCollapsing
in interface XsEWhiteSpace
public java.lang.String getFacetName()
getFacetName
in interface XsTFacetBase
getFacetName
in class XsTFacetBaseImpl