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

public Class MaxLengthFacet

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

'maxLength' facet
Author
Kohsuke KAWAGUCHI

Field Summary

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

Constructor Summary

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

protected
MaxLengthFacet(String nsUri, String typeName, XSDatatypeImpl baseType, int _maxLength, 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

maxLengthback to summary
public final int maxLength
serialVersionUIDback to summary
private static final long serialVersionUID

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

Constructor Detail

MaxLengthFacetback to summary
protected MaxLengthFacet(String nsUri, String typeName, XSDatatypeImpl baseType, TypeIncubator facets) throws DatatypeException
MaxLengthFacetback to summary
protected MaxLengthFacet(String nsUri, String typeName, XSDatatypeImpl baseType, int _maxLength, 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.