Package org.apache.abdera.ext.serializer.annotation

Examples of org.apache.abdera.ext.serializer.annotation.Text


        ObjectContext valueContext = null;
        AccessibleObject accessor = objectContext.getAccessor(Value.class, conventions);
        if (accessor != null && !(source instanceof Element)) {
            contentValue = eval(accessor, source);
            valueContext = new ObjectContext(contentValue, source, accessor);
            Text _text = valueContext.getAnnotation(Text.class);
            type = _text != null ? _text.type() : type;
        } else {
            Text _text = objectContext.getAnnotation(Text.class);
            type = _text != null ? _text.type() : type;
            contentValue = source;
            valueContext = objectContext;
        }
        QName qname = this.qname != null ? this.qname : getQName(objectContext.getAccessor());
        StreamWriter sw = context.getStreamWriter();
View Full Code Here


    ObjectContext valueContext = null;
    AccessibleObject accessor = objectContext.getAccessor(Value.class, conventions);
    if (accessor != null && !(source instanceof Element)) {
      contentValue = eval(accessor, source);
      valueContext = new ObjectContext(contentValue,source,accessor);
      Text _text = valueContext.getAnnotation(Text.class);
      type = _text != null ? _text.type() : type;
    } else {
      Text _text = objectContext.getAnnotation(Text.class);
      type = _text != null ? _text.type() : type;
      contentValue = source;
      valueContext = objectContext;
    }
    QName qname = this.qname != null ? this.qname : getQName(objectContext.getAccessor());
    StreamWriter sw = context.getStreamWriter();
View Full Code Here

TOP

Related Classes of org.apache.abdera.ext.serializer.annotation.Text

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.