Class XsdMinLength


  • public class XsdMinLength
    extends XsdIntegerRestrictions
    States the minimum length of a given type, either a String, a List or another measurable type. This limit includes the respective value. The value is defined as an Integer. Example: If the type has a XsdIntegerRestrictions.value of 2 it means that the String, List or another measurable type should have a minimum length of 2.
    • 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 XsdMinLength 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.