Class XsdIntegerRestrictions

    • Field Detail

      • fixed

        private boolean fixed
        Indicates if the value is fixed.
      • value

        protected int 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 XsdLength this field means that the attribute which has the restriction can only have the length specified in this field..
    • Constructor Detail

    • Method Detail

      • hasDifferentValue

        public static boolean hasDifferentValue​(XsdIntegerRestrictions o1,
                                                XsdIntegerRestrictions 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 int getValue()
      • isFixed

        public boolean isFixed()