Some primitive value besides a conrete data-type may have a predefined set of values. And the value can be set only to one of that variants, like enumerations. XML schema allows us to restrict the value of a given type by a set of enumerated values. From the other hand we can restrict some value by defining its min/max bounds:
http://www.w3.org/2001/XMLSchema">
…
…
…
…
…
source: java-tips.org
No comments:
Post a Comment