Class XsdEnumeration


  • public class XsdEnumeration
    extends XsdStringRestrictions
    Represents a value that a given XSD type is allowed to take. The value is defined as a String.
    • 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 XsdEnumeration 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.