Top Description Fields Constructors Methods
com.sun.msv.datatype.xsd

public Class MinLengthFacet

extends DataTypeWithValueConstraintFacet
Class Inheritance
Imports
org.relaxng.datatype.DatatypeException, .ValidationContext

'minLength' facet
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
public final int
private static final long

Constructor Summary

AccessConstructor and Description
protected
MinLengthFacet(String nsUri, String typeName, XSDatatypeImpl baseType, TypeIncubator facets)

protected
MinLengthFacet(String nsUri, String typeName, XSDatatypeImpl baseType, int _minLength, boolean _isFixed)

Method Summary

Modifier and TypeMethod and Description
public Object
_createValue(String literal, ValidationContext context)

Implements abstract com.sun.msv.datatype.xsd.XSDatatypeImpl._createValue.

converts a whitespace-processed lexical value into the corresponding value object
protected void
Inherited from com.sun.msv.datatype.xsd.DataTypeWithValueConstraintFacet:
checkFormatneedValueCheck

Field Detail

minLengthback to summary
public final int minLength
serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.sun.msv.datatype.xsd.DataTypeWithValueConstraintFacet.serialVersionUID.

Constructor Detail

MinLengthFacetback to summary
protected MinLengthFacet(String nsUri, String typeName, XSDatatypeImpl baseType, TypeIncubator facets) throws DatatypeException
MinLengthFacetback to summary
protected MinLengthFacet(String nsUri, String typeName, XSDatatypeImpl baseType, int _minLength, boolean _isFixed) throws DatatypeException

Method Detail

_createValueback to summary
public Object _createValue(String literal, ValidationContext context)

Implements abstract com.sun.msv.datatype.xsd.XSDatatypeImpl._createValue.

Doc from com.sun.msv.datatype.xsd.XSDatatypeImpl._createValue.

converts a whitespace-processed lexical value into the corresponding value object

diagnoseByFacetback to summary
protected void diagnoseByFacet(String content, ValidationContext context) throws DatatypeException

Implements abstract com.sun.msv.datatype.xsd.DataTypeWithFacet.diagnoseByFacet.