public class ModelResolver extends AbstractModelConverter implements ModelConverter
_intr, _mapper, _resolvedTypeNames, _typeNameResolver
Constructor and Description |
---|
ModelResolver(com.fasterxml.jackson.databind.ObjectMapper mapper) |
Modifier and Type | Method and Description |
---|---|
protected void |
_addEnumProps(java.lang.Class<?> propClass,
Property property) |
protected void |
applyBeanValidatorAnnotations(Property property,
java.lang.annotation.Annotation[] annotations) |
protected com.fasterxml.jackson.databind.JavaType |
getInnerType(java.lang.String innerType) |
protected boolean |
ignore(com.fasterxml.jackson.databind.introspect.Annotated member,
javax.xml.bind.annotation.XmlAccessorType xmlAccessorTypeAnnotation,
java.lang.String propName,
java.util.Set<java.lang.String> propertiesToIgnore) |
com.fasterxml.jackson.databind.ObjectMapper |
objectMapper() |
Model |
resolve(com.fasterxml.jackson.databind.JavaType type,
ModelConverterContext context,
java.util.Iterator<ModelConverter> next) |
Model |
resolve(java.lang.reflect.Type type,
ModelConverterContext context,
java.util.Iterator<ModelConverter> next) |
Property |
resolveProperty(com.fasterxml.jackson.databind.JavaType propType,
ModelConverterContext context,
java.lang.annotation.Annotation[] annotations,
java.util.Iterator<ModelConverter> next) |
Property |
resolveProperty(java.lang.reflect.Type type,
ModelConverterContext context,
java.lang.annotation.Annotation[] annotations,
java.util.Iterator<ModelConverter> next) |
protected boolean |
shouldIgnoreClass(java.lang.reflect.Type type) |
_description, _findDefaultValue, _findExampleValue, _findReadOnly, _findTypeName, _isSetType, _subTypeName, _typeName, _typeName, _typeQName, getPropertyComparator
public ModelResolver(com.fasterxml.jackson.databind.ObjectMapper mapper)
public com.fasterxml.jackson.databind.ObjectMapper objectMapper()
protected boolean shouldIgnoreClass(java.lang.reflect.Type type)
public Property resolveProperty(java.lang.reflect.Type type, ModelConverterContext context, java.lang.annotation.Annotation[] annotations, java.util.Iterator<ModelConverter> next)
resolveProperty
in interface ModelConverter
resolveProperty
in class AbstractModelConverter
annotations
- 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, java.lang.annotation.Annotation[] annotations, java.util.Iterator<ModelConverter> next)
public Model resolve(java.lang.reflect.Type type, ModelConverterContext context, java.util.Iterator<ModelConverter> next)
resolve
in interface ModelConverter
resolve
in class AbstractModelConverter
next
- the chain of model converters to try if this implementation cannot processprotected void _addEnumProps(java.lang.Class<?> propClass, Property property)
public Model resolve(com.fasterxml.jackson.databind.JavaType type, ModelConverterContext context, java.util.Iterator<ModelConverter> next)
protected boolean ignore(com.fasterxml.jackson.databind.introspect.Annotated member, javax.xml.bind.annotation.XmlAccessorType xmlAccessorTypeAnnotation, java.lang.String propName, java.util.Set<java.lang.String> propertiesToIgnore)
protected void applyBeanValidatorAnnotations(Property property, java.lang.annotation.Annotation[] annotations)
protected com.fasterxml.jackson.databind.JavaType getInnerType(java.lang.String innerType)
Copyright © 2018. All Rights Reserved.