Class PunchOutCXMLJaxb2HttpMessageConverter

java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<T>
org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter<T>
org.springframework.http.converter.xml.AbstractJaxb2HttpMessageConverter<Object>
org.springframework.http.converter.xml.Jaxb2RootElementHttpMessageConverter
de.hybris.platform.b2bpunchoutocc.converter.PunchOutCXMLJaxb2HttpMessageConverter
All Implemented Interfaces:
org.springframework.http.converter.HttpMessageConverter<Object>

public class PunchOutCXMLJaxb2HttpMessageConverter extends org.springframework.http.converter.xml.Jaxb2RootElementHttpMessageConverter
An XmlHttpMessageConverter that reads and writes messages.
  • Field Summary

    Fields inherited from class org.springframework.http.converter.AbstractHttpMessageConverter

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canRead(Class<?> clazz, org.springframework.http.MediaType mediaType)
     
    boolean
    canWrite(Class<?> clazz, org.springframework.http.MediaType mediaType)
     
    protected void
    writeToResult(Object o, org.springframework.http.HttpHeaders headers, Result result)
     

    Methods inherited from class org.springframework.http.converter.xml.Jaxb2RootElementHttpMessageConverter

    isProcessExternalEntities, isSupportDtd, processSource, readFromSource, setProcessExternalEntities, setSupportDtd, supports

    Methods inherited from class org.springframework.http.converter.xml.AbstractJaxb2HttpMessageConverter

    createMarshaller, createUnmarshaller, customizeMarshaller, customizeUnmarshaller, getJaxbContext

    Methods inherited from class org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter

    readInternal, transform, writeInternal

    Methods inherited from class org.springframework.http.converter.AbstractHttpMessageConverter

    addDefaultHeaders, canRead, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, write

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.http.converter.HttpMessageConverter

    getSupportedMediaTypes
  • Constructor Details

    • PunchOutCXMLJaxb2HttpMessageConverter

      public PunchOutCXMLJaxb2HttpMessageConverter()
  • Method Details

    • writeToResult

      protected void writeToResult(Object o, org.springframework.http.HttpHeaders headers, Result result) throws Exception
      Overrides:
      writeToResult in class org.springframework.http.converter.xml.Jaxb2RootElementHttpMessageConverter
      Throws:
      Exception
    • canRead

      public boolean canRead(Class<?> clazz, @Nullable org.springframework.http.MediaType mediaType)
      Specified by:
      canRead in interface org.springframework.http.converter.HttpMessageConverter<Object>
      Overrides:
      canRead in class org.springframework.http.converter.xml.Jaxb2RootElementHttpMessageConverter
    • canWrite

      public boolean canWrite(Class<?> clazz, @Nullable org.springframework.http.MediaType mediaType)
      Specified by:
      canWrite in interface org.springframework.http.converter.HttpMessageConverter<Object>
      Overrides:
      canWrite in class org.springframework.http.converter.xml.Jaxb2RootElementHttpMessageConverter