test_class.declarator: TEST_XML_CONTENT = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
                                                     + "<book send-by-post=\"true\">"
                                                     + "  <title>Java and XML Data Binding</title>"
                                                     + "  <author>Brett McLaughlin</author>"
                                                     + "  <price currency=\"USD\">34.95</price>"
                                                     + "</book>"
test_class.modifier: private static final
test_class.original_string: private static final String TEST_XML_CONTENT = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
                                                     + "<book send-by-post=\"true\">"
                                                     + "  <title>Java and XML Data Binding</title>"
                                                     + "  <author>Brett McLaughlin</author>"
                                                     + "  <price currency=\"USD\">34.95</price>"
                                                     + "</book>";
test_class.type: String
test_class.var_name: TEST_XML_CONTENT
test_class.declarator: TEST_XML_CONTENT_BYTES = TEST_XML_CONTENT.getBytes()
test_class.modifier: private static final
test_class.original_string: private static final byte[]              TEST_XML_CONTENT_BYTES = TEST_XML_CONTENT.getBytes();
test_class.type: byte[]
test_class.var_name: TEST_XML_CONTENT_BYTES
test_class.declarator: XPATH_EXPR_TO_VALUE    = ImmutableMap.of(
              "/book/@send-by-post", "true",
              "/book/title", "Java and XML Data Binding",
              "/book/author", "Brett McLaughlin",
              "/book/price/@currency", "USD",
              "/book/price","34.95")
test_class.modifier: private static final
test_class.original_string: private static final Map<String, String> XPATH_EXPR_TO_VALUE    = ImmutableMap.of(
              "/book/@send-by-post", "true",
              "/book/title", "Java and XML Data Binding",
              "/book/author", "Brett McLaughlin",
              "/book/price/@currency", "USD",
              "/book/price","34.95");
test_class.type: Map<String, String>
test_class.var_name: XPATH_EXPR_TO_VALUE
test_class.declarator: streamSourceEntityProvider
test_class.modifier: private
test_class.original_string: private StreamSourceEntityProvider streamSourceEntityProvider;
test_class.type: StreamSourceEntityProvider
test_class.var_name: streamSourceEntityProvider
test_class.file: everrest-core/src/test/java/org/everrest/core/impl/provider/StreamSourceEntityProviderTest.java
test_class.identifier: StreamSourceEntityProviderTest
test_case.body: @Test
      public void readsContentOfEntityStreamAsStreamSource() throws Exception {
          StreamSource streamSource = streamSourceEntityProvider.readFrom(StreamSource.class, null, null, APPLICATION_XML_TYPE, new MultivaluedMapImpl(),
                                                                    new ByteArrayInputStream(TEST_XML_CONTENT_BYTES));
  
          Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(streamSource.getInputStream());
          assertThatXmlDocumentContainsAllExpectedNodes(document);
      }
test_case.class_method_signature: StreamSourceEntityProviderTest.readsContentOfEntityStreamAsStreamSource()
test_case.full_signature: @Test public void readsContentOfEntityStreamAsStreamSource()
test_case.identifier: readsContentOfEntityStreamAsStreamSource
test_case.invocations: readFrom parse newDocumentBuilder newInstance getInputStream assertThatXmlDocumentContainsAllExpectedNodes
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void readsContentOfEntityStreamAsStreamSource()
focal_class.file: everrest-core/src/main/java/org/everrest/core/impl/provider/StreamSourceEntityProvider.java
focal_class.identifier: StreamSourceEntityProvider
focal_class.interfaces: implements EntityProvider<StreamSource>
focal_class.class_method_signature: StreamSourceEntityProvider.isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.full_signature: @Override public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.identifier: isReadable
focal_class.modifiers: @Override public
focal_class.parameters: (Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.return: boolean
focal_class.signature: boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.class_method_signature: StreamSourceEntityProvider.readFrom(Class<StreamSource> type,
                                   Type genericType,
                                   Annotation[] annotations,
                                   MediaType mediaType,
                                   MultivaluedMap<String, String> httpHeaders,
                                   InputStream entityStream)
focal_class.full_signature: @Override public StreamSource readFrom(Class<StreamSource> type,
                                   Type genericType,
                                   Annotation[] annotations,
                                   MediaType mediaType,
                                   MultivaluedMap<String, String> httpHeaders,
                                   InputStream entityStream)
focal_class.identifier: readFrom
focal_class.modifiers: @Override public
focal_class.parameters: (Class<StreamSource> type,
                                   Type genericType,
                                   Annotation[] annotations,
                                   MediaType mediaType,
                                   MultivaluedMap<String, String> httpHeaders,
                                   InputStream entityStream)
focal_class.return: StreamSource
focal_class.signature: StreamSource readFrom(Class<StreamSource> type,
                                   Type genericType,
                                   Annotation[] annotations,
                                   MediaType mediaType,
                                   MultivaluedMap<String, String> httpHeaders,
                                   InputStream entityStream)
focal_class.class_method_signature: StreamSourceEntityProvider.getSize(StreamSource streamSource, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.full_signature: @Override public long getSize(StreamSource streamSource, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.identifier: getSize
focal_class.modifiers: @Override public
focal_class.parameters: (StreamSource streamSource, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.return: long
focal_class.signature: long getSize(StreamSource streamSource, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.class_method_signature: StreamSourceEntityProvider.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.full_signature: @Override public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.identifier: isWriteable
focal_class.modifiers: @Override public
focal_class.parameters: (Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.return: boolean
focal_class.signature: boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.class_method_signature: StreamSourceEntityProvider.writeTo(StreamSource streamSource,
                          Class<?> type,
                          Type genericType,
                          Annotation[] annotations,
                          MediaType mediaType,
                          MultivaluedMap<String, Object> httpHeaders,
                          OutputStream entityStream)
focal_class.full_signature: @Override public void writeTo(StreamSource streamSource,
                          Class<?> type,
                          Type genericType,
                          Annotation[] annotations,
                          MediaType mediaType,
                          MultivaluedMap<String, Object> httpHeaders,
                          OutputStream entityStream)
focal_class.identifier: writeTo
focal_class.modifiers: @Override public
focal_class.parameters: (StreamSource streamSource,
                          Class<?> type,
                          Type genericType,
                          Annotation[] annotations,
                          MediaType mediaType,
                          MultivaluedMap<String, Object> httpHeaders,
                          OutputStream entityStream)
focal_class.return: void
focal_class.signature: void writeTo(StreamSource streamSource,
                          Class<?> type,
                          Type genericType,
                          Annotation[] annotations,
                          MediaType mediaType,
                          MultivaluedMap<String, Object> httpHeaders,
                          OutputStream entityStream)
focal_class.class_method_signature: StreamSourceEntityProvider.createFeaturedTransformerFactory()
focal_class.full_signature: private TransformerFactory createFeaturedTransformerFactory()
focal_class.identifier: createFeaturedTransformerFactory
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: TransformerFactory
focal_class.signature: TransformerFactory createFeaturedTransformerFactory()
focal_method.body: @Override
      public StreamSource readFrom(Class<StreamSource> type,
                                   Type genericType,
                                   Annotation[] annotations,
                                   MediaType mediaType,
                                   MultivaluedMap<String, String> httpHeaders,
                                   InputStream entityStream) throws IOException {
          return new StreamSource(entityStream);
      }
focal_method.class_method_signature: StreamSourceEntityProvider.readFrom(Class<StreamSource> type,
                                   Type genericType,
                                   Annotation[] annotations,
                                   MediaType mediaType,
                                   MultivaluedMap<String, String> httpHeaders,
                                   InputStream entityStream)
focal_method.full_signature: @Override public StreamSource readFrom(Class<StreamSource> type,
                                   Type genericType,
                                   Annotation[] annotations,
                                   MediaType mediaType,
                                   MultivaluedMap<String, String> httpHeaders,
                                   InputStream entityStream)
focal_method.identifier: readFrom
focal_method.modifiers: @Override public
focal_method.parameters: (Class<StreamSource> type,
                                   Type genericType,
                                   Annotation[] annotations,
                                   MediaType mediaType,
                                   MultivaluedMap<String, String> httpHeaders,
                                   InputStream entityStream)
focal_method.return: StreamSource
focal_method.signature: StreamSource readFrom(Class<StreamSource> type,
                                   Type genericType,
                                   Annotation[] annotations,
                                   MediaType mediaType,
                                   MultivaluedMap<String, String> httpHeaders,
                                   InputStream entityStream)