@Provider
@Produces(value={"application/xml","text/xml","application/json","application/x-javascript"})
public class CommandModelStaxProvider
extends AbstractStaxProvider<CommandModel>
CommandModel into XML and JSON representation.desiredType, habitat, HEADER_DEBUG, JSONP_CALLBACK, requestHeaders, supportedMediaTypes, uriInfo| Constructor and Description |
|---|
CommandModelStaxProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
writeContentToStream(CommandModel proxy,
StreamWriter wr)
Marshalling implementation here.
|
getContent, isGivenTypeWritable, writeTocanShowDeprecatedItems, canShowHiddenCommands, getCallBackJSONP, getResourceLinks, getResourceLinks, getSize, getXmlCommandLinks, isDebug, isWriteableprotected void writeContentToStream(CommandModel proxy, StreamWriter wr) throws Exception
AbstractStaxProviderwriteContentToStream in class AbstractStaxProvider<CommandModel>proxy - object to marshalwr - STaX for marshalingXMLStreamExceptionIOExceptionExceptionCopyright © 2019. All rights reserved.