Code examples for Source

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.
87:	else if (StaxUtils.isStaxSource(source)) { 
88:	XMLStreamReader streamReader = StaxUtils.getXMLStreamReader(source); 
-
94:	XMLEventReader eventReader = StaxUtils.getXMLEventReader(source); 
-
117:	if (StringUtils.hasLength(source.getSystemId())) { 
118:	String systemId = source.getSystemId(); 
-
122:	throw new IllegalArgumentException("Unknown Source type: " + source.getClass()); 
Full Snippet Info
6
CodeRank
230:	inputStream.setSystemId(source.getSystemId()); 
Full Snippet Info
6
CodeRank
84:	return _source.getSystemId(); 
Full Snippet Info
5
CodeRank
168:	if (source!=null && (source.getSystemId() == null 
169:	|| source.getSystemId().length() == 0)) { 
-
196:	: factory.newTransformer(stylesheetSource); 
Full Snippet Info
5
CodeRank
409:	reader = factory.createXMLEventReader( source ); 
-
413:	String message = "Problems reading stream [" + source.getSystemId() + "]."; 
Full Snippet Info
5
CodeRank
32:	super(Nodes.normalizeWhitespace(Convert.toDocument(originalSource))); 
33:	setSystemId(originalSource.getSystemId()); 
Full Snippet Info
5
CodeRank
138:	String systemId = source.getSystemId (); 
Full Snippet Info
3
CodeRank
375:	result.getSystemId()); 
Full Snippet Info
4
CodeRank
1361:	String systemId = source.getSystemId(); 
Full Snippet Info
3
CodeRank
135:	dom4JDocument.setName(source.getSystemId()); 
Full Snippet Info
5
CodeRank
28:	super(Nodes.stripWhitespace(Convert.toDocument(originalSource))); 
29:	setSystemId(originalSource.getSystemId()); 
Full Snippet Info
5
CodeRank
359:	result.getSystemId()); 
Full Snippet Info
3
CodeRank
86:	return _source.getSystemId(); 
Full Snippet Info
4
CodeRank
292:	result.getSystemId()); 
Full Snippet Info
3
CodeRank
35:	assertEquals( "dummy:/unknown", source.getSystemId() ); 
Full Snippet Info
3
CodeRank
380:	if (s != null && (idFromUriResolverSource = s.getSystemId()) != null) { 
Full Snippet Info
4
CodeRank
380:	if (s != null && (idFromUriResolverSource = s.getSystemId()) != null) { 
Full Snippet Info
4
CodeRank
299:	wsdlLocation = wsdlSource.getSystemId(); 
Full Snippet Info
4
CodeRank
49:	source.getSystemId()); 
Full Snippet Info
4
CodeRank
121:	String systemId = (source == null) ? null : source.getSystemId(); 
Full Snippet Info
4
CodeRank