T
- generic typepublic class CswJAXBElementProvider<T>
extends org.apache.cxf.jaxrs.provider.JAXBElementProvider<T>
This can be mapped in blueprint by creating the bean with this class and mapping it as a jaxrs:providers element to the service jaxrs:server
classContexts, collectionContextClasses, inAppendMap, inDropElements, inElementsMap, jaxbElementClassMap, marshalAsJaxbElement, NS_MAPPER_PROPERTY_RI, NS_MAPPER_PROPERTY_RI_INT, outAppendMap, outDropElements, outElementsMap, packageContexts, unmarshalAsJaxbElement, xmlTypeAsJaxbElementOnly
Constructor and Description |
---|
CswJAXBElementProvider() |
Modifier and Type | Method and Description |
---|---|
JAXBContext |
getJAXBContext(Class<?> type,
Type genericType) |
protected void |
setNamespaceMapper(Marshaller ms,
Map<String,String> map) |
addAttachmentMarshaller, addAttachmentUnmarshaller, canBeReadAsJaxbElement, doUnmarshal, getStreamReader, getStreamWriter, marshal, marshal, marshal, marshalCollection, marshalCollectionMember, marshalToOutputStream, marshalToWriter, objectFactoryOrIndexAvailable, readFrom, resolveXMLResourceURI, setConsumeMediaTypes, setEnableBuffering, setMarshallerProperties, setMessageContext, setNamespacePrefixes, setProduceMediaTypes, setSchemaLocation, setXmlPiProperty, setXmlPiPropertyName, setXmlResourceOffset, unmarshalFromInputStream, unmarshalFromReader, writeTo
checkAdapter, clearContexts, configureReaderRestrictions, convertToJaxbElementIfNeeded, createDepthReaderIfNeeded, createMarshaller, createTransformReaderIfNeeded, createTransformWriterIfNeeded, createUnmarshaller, createUnmarshaller, getActualType, getClassContext, getClassContext, getCollectionContext, getCollectionWrapperQName, getContext, getDepthProperties, getJaxbElementClass, getJaxbQName, getPackageContext, getPackageContext, getSchema, getSchema, getSize, getStreamHandlerFromCurrentMessage, handleExceptionEnd, handleExceptionStart, handleJAXBException, handleXMLStreamException, init, isReadable, isSkipJaxbChecks, isSupported, isWriteable, isXmlRoot, isXmlType, setAttributesToElements, setCatalogLocation, setCollectionWrapperMap, setCollectionWrapperName, setContext, setContextProperties, setDepthProperties, setExtraClass, setInAppendElements, setInDropElements, setInTransformElements, setJaxbElementClassMap, setJaxbElementClassNames, setMarshallAsJaxbElement, setMarshallerListener, setMarshallerProp, setNamespaceMapperPropertyName, setOutAppendElements, setOutDropElements, setOutTransformElements, setSchema, setSchemaHandler, setSchemaHandlers, setSchemaLocations, setSingleJaxbContext, setSkipJaxbChecks, setUnmarshallAsJaxbElement, setUnmarshallerListener, setUnmarshallerProperties, setUseSingleContextForPackages, setValidateBeforeWrite, setValidateInput, setValidateOutput, setValidationHandler, setXmlRootAsJaxbElement, setXmlTypeAsJaxbElementOnly, validateObjectIfNeeded, writeTo
public JAXBContext getJAXBContext(Class<?> type, Type genericType) throws JAXBException
getJAXBContext
in class org.apache.cxf.jaxrs.provider.AbstractJAXBProvider<T>
JAXBException
This work is licensed under a Creative Commons Attribution 4.0 International License.