Class XsdPattern


  • public class XsdPattern
    extends XsdStringRestrictions
    States a pattern that a given attribute must match in order to be considered valid. The value is defined as a String. This value is usually defined as a regular expression.
    • Method Detail

      • accept

        public void accept​(XsdAbstractElementVisitor xsdAbstractElementVisitor)
        Description copied from class: XsdAbstractElement
        Base method for all accept methods. It serves as a way to guarantee that every accept call assigns the parent field.
        Overrides:
        accept in class XsdAbstractElement
        Parameters:
        xsdAbstractElementVisitor - The visitor that is visiting the current instance.
      • clone

        public XsdPattern clone​(@NotNull
                                java.util.Map<java.lang.String,​java.lang.String> placeHolderAttributes)
        Performs a copy of the current object for replacing purposes. The cloned objects are used to replace UnsolvedReference objects in the reference solving process.
        Overrides:
        clone in class XsdAbstractElement
        Parameters:
        placeHolderAttributes - The additional attributes to add to the clone.
        Returns:
        A copy of the object from which is called upon.