@Provider @Produces(value="application/xml") public class ActionReportXmlProvider extends BaseProvider<ActionReporter>
desiredType, habitat, HEADER_DEBUG, JSONP_CALLBACK, requestHeaders, supportedMediaTypes, uriInfo
Constructor and Description |
---|
ActionReportXmlProvider() |
Modifier and Type | Method and Description |
---|---|
String |
getContent(ActionReporter ar) |
protected XmlMap |
getExtraProperties(XmlObject object,
Properties props) |
protected XmlArray |
getXml(Collection c) |
protected XmlMap |
getXml(Map map) |
protected Object |
getXmlObject(Object object) |
protected boolean |
isGivenTypeWritable(Class<?> type,
Type genericType)
Overwrite this if you need different test of type compatibility.
|
protected XmlArray |
processChildren(List<ActionReport.MessagePart> parts) |
protected XmlObject |
processReport(ActionReporter ar) |
protected XmlArray |
processSubReports(List<ActionReporter> subReports) |
canShowDeprecatedItems, canShowHiddenCommands, getCallBackJSONP, getResourceLinks, getResourceLinks, getSize, getXmlCommandLinks, isDebug, isWriteable, writeTo
public String getContent(ActionReporter ar)
getContent
in class BaseProvider<ActionReporter>
protected boolean isGivenTypeWritable(Class<?> type, Type genericType)
BaseProvider
isGivenTypeWritable
in class BaseProvider<ActionReporter>
protected XmlObject processReport(ActionReporter ar)
protected XmlArray processChildren(List<ActionReport.MessagePart> parts)
protected XmlArray processSubReports(List<ActionReporter> subReports)
protected XmlMap getExtraProperties(XmlObject object, Properties props)
protected XmlArray getXml(Collection c)
Copyright © 2018. All rights reserved.