this.resourcePriorityTags.add("resourceOrder");
this.resourceDescriptionTags = new ArrayList<String>();
this.resourceDescriptionTags.add("resourceDescription");
FirstNotNullTranslator fnnTranslator =
new FirstNotNullTranslator();
for (String paramAnnotation : ParserHelper.JAXRS_PARAM_ANNOTATIONS) {
fnnTranslator.addNext(new AnnotationAwareTranslator(this).element(paramAnnotation, "value"));
}
fnnTranslator
.addNext(
new AnnotationAwareTranslator(this).ignore("javax.xml.bind.annotation.XmlTransient")
.element("javax.xml.bind.annotation.XmlElement", "name").rootElement("javax.xml.bind.annotation.XmlRootElement", "name"))
.addNext(
new AnnotationAwareTranslator(this).ignore("com.fasterxml.jackson.annotation.JsonIgnore")
.element("com.fasterxml.jackson.annotation.JsonProperty", "value")
.rootElement("com.fasterxml.jackson.annotation.JsonRootName", "value"))
.addNext(
new AnnotationAwareTranslator(this).ignore("org.codehaus.jackson.map.annotate.JsonIgnore")
.element("org.codehaus.jackson.map.annotate.JsonProperty", "value")
.rootElement("org.codehaus.jackson.map.annotate.JsonRootName", "value")).addNext(new NameBasedTranslator(this));
fnnTranslator.addNext(new NameBasedTranslator(this));
this.translator = fnnTranslator;
}