Class AppXmlObjectWriter

java.lang.Object
ee.jakarta.tck.ws.rs.spec.provider.writer.AppXmlObjectWriter
All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyWriter<Object>

@Provider @Produces("application/xml") public class AppXmlObjectWriter extends Object implements jakarta.ws.rs.ext.MessageBodyWriter<Object>
  • Constructor Details

    • AppXmlObjectWriter

      public AppXmlObjectWriter()
  • Method Details

    • resetSet

      public static void resetSet()
    • addClass

      public static void addClass(String string)
    • getCount

      public static int getCount()
    • setWritable

      public static void setWritable(boolean bool)
    • isWriteable

      public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      isWriteable in interface jakarta.ws.rs.ext.MessageBodyWriter<Object>
    • getSize

      public long getSize(Object t, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      getSize in interface jakarta.ws.rs.ext.MessageBodyWriter<Object>
    • writeTo

      public void writeTo(Object t, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException, jakarta.ws.rs.WebApplicationException
      Specified by:
      writeTo in interface jakarta.ws.rs.ext.MessageBodyWriter<Object>
      Throws:
      IOException
      jakarta.ws.rs.WebApplicationException