Code examples for StreamSource

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
84:	StreamSource source = new StreamSource(new ByteArrayInputStream(INPUT_STRING.getBytes("UTF-8"))); 
85:	Object flights = unmarshaller.unmarshal(source); 
Full Snippet Info
8
CodeRank
60:	Source source = new StreamSource(reader); 
-
64:	transformer.transform(source, result); 
Full Snippet Info
8
CodeRank
61:	return readFromSource(clazz, inputMessage.getHeaders(), new StreamSource(inputMessage.getBody())); 
Full Snippet Info
8
CodeRank
94:	StreamSource source = new StreamSource(new ByteArrayInputStream(INPUT_STRING.getBytes("UTF-8"))); 
95:	Object flights = unmarshaller.unmarshal(source); 
Full Snippet Info
8
CodeRank
56:	templates = tf.newTemplates(new StreamSource(input)); 
Full Snippet Info
7
CodeRank
79:	Source source = new StreamSource(getProductDataResource().getInputStream()); 
-
81:	model.put("someKey", source); 
Full Snippet Info
8
CodeRank
148:	return u.unmarshal(new StreamSource(entityStream), type).getValue(); 
Full Snippet Info
7
CodeRank
37:	Source xsltSource = new StreamSource(Specdox.class.getResourceAsStream("/specdox.xsl")); 
38:	xsltSource.setSystemId("/specdox.xsl"); 
-
41:	Transformer trans = transFact.newTransformer(xsltSource); 
Full Snippet Info
7
CodeRank
343:	transformer.transform(new StreamSource(is), result); 
Full Snippet Info
8
CodeRank
227:	InputSource inputStream = new InputSource(stream.getInputStream()); 
-
229:	inputStream.setPublicId(stream.getPublicId()); 
Full Snippet Info
7
CodeRank
164:	StreamSource source = new StreamSource(bis); 
165:	return unmarshaller.unmarshal(source); 
Full Snippet Info
7
CodeRank
106:	final StreamSource source = new StreamSource(r); 
-
109:	t.transform(source, result); 
Full Snippet Info
7
CodeRank
103:	source = new StreamSource(xml.getByteStream()); 
Full Snippet Info
6
CodeRank
274:	t = fac.newTemplates(new StreamSource(new ByteArrayInputStream(s.getBytes()))); 
Full Snippet Info
7
CodeRank
33:	return TransformerFactory.newInstance().newTemplates(new StreamSource(xslResource.getInputStream())); 
Full Snippet Info
8
CodeRank
26:	return new StreamSource(inputStreamReference); 
Full Snippet Info
6
CodeRank
42:	if( in.getReader()!=null ) 
-
44:	in.getPublicId(), in.getSystemId(), in.getSystemId(), 
45:	in.getReader(), null ); 
46:	if( in.getInputStream()!=null ) 
-
48:	in.getPublicId(), in.getSystemId(), in.getSystemId(), 
49:	in.getInputStream(), null ); 
-
52:	in.getPublicId(), in.getSystemId(), in.getSystemId() ); 
Full Snippet Info
6
CodeRank
62:	Schema schema = factory.newSchema(new StreamSource(xsdStream)); 
Full Snippet Info
6
CodeRank
46:	Source xsltSource = new StreamSource( 
-
49:	xslt_POSTPROCESSING = XmlUtils.getTransformerTemplate(xsltSource); 
Full Snippet Info
7
CodeRank
19:	return u.unmarshal(new StreamSource(path), cls).getValue(); 
Full Snippet Info
6
CodeRank