public class TotalDigitsFacet extends DigitsFacet
| Constructor and Description |
|---|
TotalDigitsFacet() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkFacetRestriction(UserSimpleType type,
SimpleType base,
SchemaCompiler compiler)
Check that this facet is legal when used on a type derived by restriction
|
String |
getName()
Returns the name of this Facet
|
void |
setValue(String value)
Set the value of this facet.
|
getFacetAsFunctionItem, getNumericValue, getValue, setNumericValue, testAtomicValuegetMessage, getWhitespaceAction, isConstraining, isFacetName, isFixed, isNewlyIntroduced, makeFacet, serializeFacet, setFixed, setMessage, testLength, testListValue, toLongpublic void setValue(String value) throws SchemaException
setValue in class DigitsFacetvalue - the value of the facet. This must be a string that parses as an integer.SchemaException - if the value is invalid (not an integer)public void checkFacetRestriction(UserSimpleType type, SimpleType base, SchemaCompiler compiler) throws SchemaException, ValidationException
DigitsFacetcheckFacetRestriction in class DigitsFacettype - the type on which the facet is definedbase - the type from which the restricted type is derivedcompiler - the schema compilerSchemaException - if the facet is not allowed for this simple type, or if
the combination of facets is inconsistent with values defined on the base type.ValidationException - if a value is found that does not conform to the facetCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.