|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.saxon.type.Facet | +--net.sf.saxon.type.LengthFacet | +--net.sf.saxon.type.MinLengthFacet
Represents the minLength facet
Field Summary |
Fields inherited from class net.sf.saxon.type.Facet |
ENUMERATION, FRACTIONDIGITS, LENGTH, MAX_EXCLUSIVE, MAX_INCLUSIVE, MAX_LENGTH, MIN_EXCLUSIVE, MIN_INCLUSIVE, MIN_LENGTH, PATTERN, TOTALDIGITS, WHITESPACE |
Constructor Summary | |
MinLengthFacet()
|
Method Summary | |
void |
checkFacetRestriction(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 (used when testing the length of a list) |
Methods inherited from class net.sf.saxon.type.LengthFacet |
getValue, setValue, testAtomicValue, toLong |
Methods inherited from class net.sf.saxon.type.Facet |
isMultivalued, makeFacet, toByte, toDouble, toFloat, toShort, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MinLengthFacet()
Method Detail |
public java.lang.String getName()
Facet
getName
in class LengthFacet
public void checkFacetRestriction(SimpleType base) throws SchemaException
checkFacetRestriction
in class LengthFacet
base
- the type from which the restricted type is derived
SchemaException
- if the facet is not legalpublic boolean testLength(int actualLength)
testLength
in class LengthFacet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |