xsd.PatternFacet

The xsd.PatternFacet is a constraint on the value space of a datatype which is achieved by constraining the lexical space to literals which match each member of a set of regular expressions.

Base class: xsd.Facet

class xsd.PatternFacet

Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a NotImplementedError exception.

Attributes

xsd.Facet.builtin

Returns True if this xsd.Facet value is predefined by the XML Schema specification.

xsd.Facet.element

Returns the xml.ElementInformationItem representing this xsd.Facet schema component.

xsd.PatternFacet.value

Returns a sequence of regular expressions.

Special methods

__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__