Class StringSchema
java.lang.Object
com.alibaba.fastjson2.schema.JSONSchema
com.alibaba.fastjson2.schema.StringSchema
-
Nested Class Summary
Nested classes/interfaces inherited from class JSONSchema
JSONSchema.Type -
Method Summary
Modifier and TypeMethodDescriptiongetType()static booleanprotected ValidateResultvalidateInternal(Object value) Methods inherited from class JSONSchema
accept, assertValidate, assertValidate, assertValidate, assertValidate, assertValidate, assertValidate, assertValidate, equals, getDescription, getTitle, hashCode, isValid, isValid, isValid, isValid, isValid, isValid, isValid, isValid, of, of, of, of, ofValue, parseSchema, toString, validate, validate, validate, validate, validate, validate, validate, validateInternal, validateInternal, validateInternal, validateInternal, validateInternal, validateInternal
-
Method Details
-
getType
- Specified by:
getTypein classJSONSchema
-
validateInternal
- Specified by:
validateInternalin classJSONSchema
-
isEmail
-
toJSONObject
- Overrides:
toJSONObjectin classJSONSchema
-