| Modifier and Type | Field and Description |
|---|---|
| public final int | scale
maximum number of fraction digits |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | FractionDigitsFacet(String nsUri, String typeName, XSDatatypeImpl baseType, int _scale, boolean _isFixed)
|
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | checkLexicalConstraint(String content)
Implements abstract com. |
| protected static final int | |
| protected void | diagnoseByFacet(String content, ValidationContext context)
Implements abstract com. |
| scale | back to summary |
|---|---|
| public final int scale maximum number of fraction digits | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| FractionDigitsFacet | back to summary |
|---|---|
| public FractionDigitsFacet(String nsUri, String typeName, XSDatatypeImpl baseType, int _scale, boolean _isFixed) throws DatatypeException | |
| checkLexicalConstraint | back to summary |
|---|---|
| protected boolean checkLexicalConstraint(String content) Implements abstract com. | |
| countScale | back to summary |
|---|---|
| protected static final int countScale(String literal) count the number of fractional digits. this method can assume that the given literal is appropriate as an decimal value. "the number of fractional digits" is defined in http://www.w3.org/TR/xmlschema-2/#number | |
| diagnoseByFacet | back to summary |
|---|---|
| protected void diagnoseByFacet(String content, ValidationContext context) throws DatatypeException Implements abstract com. | |