Package com.fasterxml.jackson.databind

Examples of com.fasterxml.jackson.databind.PropertyName


            TypeDeserializer typeDeser,
            Annotations contextAnnotations, AnnotatedParameter param,
            int index, Object injectableValueId,
            boolean isRequired)
    {
        this(new PropertyName(name), type, wrapperName, typeDeser,
                contextAnnotations, param, index, injectableValueId,
                PropertyMetadata.construct(isRequired, null));
    }
View Full Code Here


        _fallbackSetter = src._fallbackSetter;
    }

    @Deprecated // since 2.3
    protected CreatorProperty(CreatorProperty src, String newName) {
        this(src, new PropertyName(newName));
    }
View Full Code Here

                creatorProp("columnNr", intType, 4)
        };
    }

    private static CreatorProperty creatorProp(String name, JavaType type, int index) {
        return new CreatorProperty(new PropertyName(name), type, null,
                null, null, null, index, null, PropertyMetadata.STD_REQUIRED);
    }
View Full Code Here

            String ns = root.namespace();
           
            if (local.length() == 0 && ns.length() == 0) {
                return PropertyName.USE_DEFAULT;
            }
            return new PropertyName(local, ns);
        }
        return super.findRootName(ac);
    }
View Full Code Here

     */

    @Override
    public PropertyName findNameForSerialization(Annotated a)
    {
        PropertyName name = _findXmlName(a);
        return (name == null) ? super.findNameForSerialization(a) : name;
    }
View Full Code Here

    @Deprecated
    @Override
    public String findSerializationName(AnnotatedField af)
    {
        PropertyName name = _findXmlName(af);
        if (name != null) {
            return name.getSimpleName();
        }
        return super.findSerializationName(af);
    }
View Full Code Here

    @Deprecated
    @Override
    public String findSerializationName(AnnotatedMethod am)
    {
        PropertyName name = _findXmlName(am);
        if (name != null) {
            return name.getSimpleName();
        }
        return super.findSerializationName(am);
    }
View Full Code Here

    }

    @Override
    public PropertyName findNameForDeserialization(Annotated a)
    {
        PropertyName name = _findXmlName(a);
        return (name == null) ? super.findNameForDeserialization(a) : name;
    }
View Full Code Here

   
    @Deprecated
    @Override
    public String findDeserializationName(AnnotatedField af)
    {
        PropertyName name = _findXmlName(af);
        if (name != null) {
            return name.getSimpleName();
        }
        return super.findDeserializationName(af);
    }
View Full Code Here

    @Deprecated
    @Override
    public String findDeserializationName(AnnotatedMethod am)
    {
        PropertyName name = _findXmlName(am);
        if (name != null) {
            return name.getSimpleName();
        }
        return super.findDeserializationName(am);
    }
View Full Code Here

TOP

Related Classes of com.fasterxml.jackson.databind.PropertyName

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.