|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.saxonica.schema.Facet
com.saxonica.schema.LengthFacet
com.saxonica.schema.MaxLengthFacet
public class MaxLengthFacet
Represents the minLength facet
| Field Summary |
|---|
| Fields inherited from class com.saxonica.schema.Facet |
|---|
ASSERT, ENUMERATION, FRACTIONDIGITS, LENGTH, MAX_EXCLUSIVE, MAX_INCLUSIVE, MAX_LENGTH, MIN_EXCLUSIVE, MIN_INCLUSIVE, MIN_LENGTH, PATTERN, TOTALDIGITS, WHITESPACE |
| Constructor Summary | |
|---|---|
MaxLengthFacet()
|
|
| Method Summary | |
|---|---|
void |
checkFacetRestriction(UserSimpleType type,
SimpleType base)
Check that this facet is legal when used on a type derived by restriction |
java.lang.String |
getName()
Returns the name of this Facet |
boolean |
testLength(int actualLength)
Test whether a supplied length conforms to this required length |
| Methods inherited from class com.saxonica.schema.LengthFacet |
|---|
getValue, setIntegerValue, setValue, testAtomicValue, toLong |
| Methods inherited from class com.saxonica.schema.Facet |
|---|
getWhitespaceAction, isFacetName, isFixed, isNewlyIntroduced, makeFacet, serializeFacet, setFixed, testListValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MaxLengthFacet()
| Method Detail |
|---|
public java.lang.String getName()
Facet
getName in class LengthFacet
public void checkFacetRestriction(UserSimpleType type,
SimpleType base)
throws SchemaException,
ValidationException
checkFacetRestriction in class LengthFacetbase - the type from which the restricted type is derivedtype - the type on which the facet is defined
SchemaException - if the facet is not legal
ValidationExceptionpublic boolean testLength(int actualLength)
testLength in class LengthFacetactualLength - the actual length of the list
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||