public class ModelResolver extends AbstractModelConverter implements ModelConverter
_intr, _mapper, _resolvedTypeNames, _typeNameResolver| Constructor and Description |
|---|
ModelResolver(com.fasterxml.jackson.databind.ObjectMapper mapper) |
ModelResolver(com.fasterxml.jackson.databind.ObjectMapper mapper,
TypeNameResolver typeNameResolver) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_addEnumProps(Class<?> propClass,
StringProperty property) |
protected void |
applyBeanValidatorAnnotations(Property property,
Annotation[] annotations) |
protected String |
decorateModelName(ModelConverterContext context,
String originalName)
Decorate the name based on the JsonView
|
protected com.fasterxml.jackson.databind.JavaType |
getInnerType(String innerType) |
protected boolean |
ignore(com.fasterxml.jackson.databind.introspect.Annotated member,
XmlAccessorType xmlAccessorTypeAnnotation,
String propName,
Set<String> propertiesToIgnore) |
com.fasterxml.jackson.databind.ObjectMapper |
objectMapper() |
Model |
resolve(com.fasterxml.jackson.databind.JavaType type,
ModelConverterContext context,
Iterator<ModelConverter> next) |
Model |
resolve(Type type,
ModelConverterContext context,
Iterator<ModelConverter> next) |
Property |
resolveProperty(com.fasterxml.jackson.databind.JavaType propType,
ModelConverterContext context,
Annotation[] annotations,
Iterator<ModelConverter> next) |
Property |
resolveProperty(Type type,
ModelConverterContext context,
Annotation[] annotations,
Iterator<ModelConverter> next) |
protected boolean |
shouldIgnoreClass(Type type) |
_description, _findDefaultValue, _findExampleValue, _findReadOnly, _findReadOnlyFromAccessMode, _findTypeName, _isSetType, _subTypeName, _typeName, _typeName, _typeQName, getPropertyComparator, prioritizeAnnotationInspectorSchemaNamepublic ModelResolver(com.fasterxml.jackson.databind.ObjectMapper mapper)
public ModelResolver(com.fasterxml.jackson.databind.ObjectMapper mapper,
TypeNameResolver typeNameResolver)
public com.fasterxml.jackson.databind.ObjectMapper objectMapper()
protected boolean shouldIgnoreClass(Type type)
public Property resolveProperty(Type type, ModelConverterContext context, Annotation[] annotations, Iterator<ModelConverter> next)
resolveProperty in interface ModelConverterresolveProperty in class AbstractModelConverterannotations - to consider when resolving the propertynext - the chain of model converters to try if this implementation cannot processpublic Property resolveProperty(com.fasterxml.jackson.databind.JavaType propType, ModelConverterContext context, Annotation[] annotations, Iterator<ModelConverter> next)
public Model resolve(Type type, ModelConverterContext context, Iterator<ModelConverter> next)
resolve in interface ModelConverterresolve in class AbstractModelConverternext - the chain of model converters to try if this implementation cannot processprotected void _addEnumProps(Class<?> propClass, StringProperty property)
public Model resolve(com.fasterxml.jackson.databind.JavaType type, ModelConverterContext context, Iterator<ModelConverter> next)
protected String decorateModelName(ModelConverterContext context, String originalName)
protected boolean ignore(com.fasterxml.jackson.databind.introspect.Annotated member,
XmlAccessorType xmlAccessorTypeAnnotation,
String propName,
Set<String> propertiesToIgnore)
protected void applyBeanValidatorAnnotations(Property property, Annotation[] annotations)
protected com.fasterxml.jackson.databind.JavaType getInnerType(String innerType)
Copyright © 2019. All Rights Reserved.