Class NormalizedStringType

All Implemented Interfaces:
DatabindableDatatype, Discrete, XSDatatype, Serializable, org.relaxng.datatype.Datatype

public class NormalizedStringType extends StringType
"normalizedString" type. type of the value object is java.lang.String. See http://www.w3.org/TR/xmlschema-2/#normalizedString for the spec
See Also:
  • Field Details

  • Constructor Details

    • NormalizedStringType

      protected NormalizedStringType(String typeName, boolean isAlwaysValid)
  • Method Details

    • getBaseType

      public XSDatatype getBaseType()
      Description copied from interface: XSDatatype
      gets the base type of this type. This method returns null if this object represents the simple ur-type.

      This method is intended to capture the semantics of the base type definition property of the simple type component, but there is an important difference.

      Specifically, if you derive a type D from another type B, then calling D.getBaseType() does not necessarily return B. Instead, it may return an intermediate object (that represents a facet). Calling the getBaseType method recursively will eventually return B.

      Specified by:
      getBaseType in interface XSDatatype
      Overrides:
      getBaseType in class StringType