Class XsdStringRestrictions

    • Field Detail

      • value

        private java.lang.String value
        The value of associated with a given restriction. This field has different meanings depending on the concrete restriction, e.g. if the concrete class is XsdEnumeration this field means that the attribute which has the restriction can only have the value that is specified in this field.
    • Method Detail

      • hasDifferentValue

        public static boolean hasDifferentValue​(XsdStringRestrictions o1,
                                                XsdStringRestrictions o2)
        Compares two different objects of this type.
        Parameters:
        o1 - The first object.
        o2 - The object to compare.
        Returns:
        True if the value of both classes is different, False if the value is equal.
      • getValue

        public java.lang.String getValue()