All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ijson.rest.proxy.annotation.CDATA Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package com.ijson.rest.proxy.annotation;

import java.lang.annotation.*;

/**
 * 

* When interacting with the server interface, if the server wants an XML type of message, * and there are too many special characters in our message, we need to add a CDATA tag at * this time. The purpose of this annotation is that Of the addition of this annotation in * your field, the generated XML will automatically add @CDATA tag, of course, it needs and * XmlUtil.toXml (Object obj) *

* Created by cuiyongxu on 17/7/16. */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) @Documented public @interface CDATA { boolean CDATA() default false; String desc() default ""; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy