Can be somewhat relevant: CXF also ships XSLT interceptors and also a
dedicated XSLTJaxbProvider that can be used to strip the data effectively...
Sergey
On 15/10/14 21:29, Sergey Beryozkin wrote:
This is the actual link:
http://cxf.apache.org/docs/transformationfeature.html#TransformationFeature-Droppingoutputandinputelements
Sergey
On 15/10/14 21:04, Sergey Beryozkin wrote:
Hi
On 15/10/14 18:37, Aaron Titus wrote:
Hello,
Jersey has a feature (extension) called Entity Data Filtering, there
is a
chapter in the documentation about it here:
https://jersey.java.net/documentation/latest/entity-filtering.html
Does anyone know if Apache CXF something that is the equivalent of
this? I
did some searches using the terms "entity data filtering" and "entity
filtering" but I didn't find anything. I am wondering if the capability
exists but its just called something different.
It is supported indirectly via the TransformationFeature's
outDropElements or outTransformElements.
I guess the advantage here is that it is non intrusive (no need to get
the annotations into the data model), the disadvantage is that one needs
to list element names in the configuration...
Would that work for you ? It can also be applied to CXF JSONProvider
(JAXB Based)
Sergey
Thanks in advance,
Aaron