Best code examples for Java 8 SAXSource class (javax.xml.transform.sax.SAXSource)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Java 8 SAXSource class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Java 8 SAXSource examples from Open Source projects
This code example shows how to use the following methods: getInputSource, getXMLReader, setInputSource, setXMLReader
383:	if (saxSource.getXMLReader() == null) { 
-
385:	saxSource.setXMLReader(createXmlReader()); 
-
391:	if (saxSource.getInputSource() == null) { 
392:	saxSource.setInputSource(new InputSource()); 
-
394:	return unmarshalSaxReader(saxSource.getXMLReader(), saxSource.getInputSource()); 
-
421:	return unmarshalSaxSource(new SAXSource(new InputSource(streamSource.getReader()))); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
102:	SAXSource source = new SAXSource(reader, new InputSource(new StringReader(INPUT_STRING))); 
103:	Object flights = unmarshaller.unmarshal(source); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
101:	SAXSource source = new SAXSource(saxParser.getXMLReader(), new InputSource(inputStream)); 
-
103:	final Object result = unmarshaller.unmarshal(source); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
48:	assertFalse("A StAX Source", StaxUtils.isStaxSource(new SAXSource())); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
107:	SAXSource source = new SAXSource(xmlFilter, inputSource); 
-
109:	return (Features)unmarshaller.unmarshal(source); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
95:	source = new SAXSource(new InputSource(entityStream)); 
-
97:	result = unmarshaller.unmarshal(source, (Class<?>) typeArg); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
231:	source = new SAXSource(saxParserFactory.provide().newSAXParser().getXMLReader(), inputStream); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
101:	SAXSource source = new SAXSource(saxParser.getXMLReader(), new InputSource(inputStream)); 
-
103:	final Object result = unmarshaller.unmarshal(source); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
184:	return new SAXSource(saxFactory.newSAXParser().getXMLReader(), new InputSource(new ByteArrayInputStream( 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
103:	source = new SAXSource(new InputSource(new InputStreamReader(entityStream, "UTF-8"))); 
-
110:	obj = unmarshaller.unmarshal(source); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
108:	SAXSource passedInSource = new SAXSource(); 
109:	Source source = converter.convertToSource(passedInSource); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
79:	return (src == null) ? null : new SAXSource(src); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
102:	_dom = (DOMEnhancedForDTM)_dtmManager.getDTM( 
103:	new SAXSource(_reader, new InputSource(uri)), 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: setInputSource, setSystemId
54:	SAXSource saxSource = new SAXSource(); 
55:	saxSource.setInputSource(new InputSource(url.toString())); 
56:	saxSource.setSystemId(url.toString()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
159:	SAXSource saxSource = new SAXSource(xmlReader, source); 
160:	return delegate.unmarshal(saxSource); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getInputSource, getXMLReader
67:	doValidate(new SAXSource(SAXSource.sourceToInputSource(source)), result); 
-
124:	XMLReader xr = source.getXMLReader(); 
-
161:	xr.parse(source.getInputSource()); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
47:	final SAXSource source = new SAXSource(namespaceFilter, inputSource); 
-
52:	myJaxbObject = unmarshaller.unmarshal(source); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
166:	SAXSource saxSource = new SAXSource(xmlReader, source); 
167:	return delegate.unmarshal(saxSource); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
65:	SAXSource source = new SAXSource(new InputSource(new StringReader(xml))); 
-
68:	XdmNode doc = builder.build(source); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: setInputSource, setXMLReader
304:	SAXSource input = new SAXSource(); 
-
307:	input.setInputSource(inputSource); 
308:	input.setXMLReader(parser); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
47:	source = new SAXSource(new InputSource("http://tests.xproc.org/tests/doc/document.xsd")); 
48:	XdmNode schema = builder.build(source); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
26:	source = new SAXSource(resolver.createXMLReader(), source.getInputSource()); 
27:	return new SAXParseable(source, new UriResolverImpl(resolver), eh); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
56:	SAXSource source = new SAXSource(fodoc); 
57:	xep.render(source, new FOTarget(out, outputFormat)); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
35:	root = S9apiUtils.getDocumentElement(builder.build(new SAXSource(new InputSource(new StringReader(xml))))); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
99:	SAXSource saxSource = new SAXSource(reader, new InputSource(is)); 
-
103:	transformerFactory.newTransformer().transform(saxSource, domResult); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
166:	Source source = new SAXSource(this, new InputSource()); 
167:	TransformerFactory.newInstance().newTransformer().transform(source, 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getInputSource, getXMLReader
37:	XMLReader xr = source.getXMLReader(); 
-
39:	xr.parse(source.getInputSource()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getInputSource
28:	SAXSource saxSource = new SAXSource(new InputSource(new StringReader(xmlContent))); 
29:	importId = (String) xpath.evaluate("//@import-id", saxSource.getInputSource(), XPathConstants.STRING); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
97:	if (xmlDoc != null){source = new SAXSource(reader, new InputSource(xmlDoc));} 
-
101:	if (htmlDoc != null){t.transform(source, new StreamResult(htmlDoc));} 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
138:	SAXSource source = new SAXSource(fodoc); 
-
207:	transformer.transform(source, new SAXResult(fop.getDefaultHandler())); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
211:	SAXSource source = new SAXSource(reader, isource); 
-
215:	return builder.build(source); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
102:	final SAXSource saxSource = new SAXSource(yaletFilter, inputSource); 
103:	transformer.transform(saxSource, new StreamResult(stream)); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
89:	SAXSource source = new SAXSource(xmlFilter, new InputSource(in)); 
-
92:	return unmarshaller.unmarshal(source); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: setEventHandler, setSchema, unmarshal
87:	return _portfolioConverter.convert(unmarshaller.unmarshal(inputStream)); 
-
97:	unmarshaller.setSchema(_schema); 
-
100:	unmarshaller.setEventHandler(new DefaultValidationEventHandler()); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: setEventHandler, setSchema, unmarshal
30:	um.setSchema(schema); 
-
33:	um.setEventHandler(validator); 
-
46:	um.unmarshal(new StringReader(xml)); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: unmarshal
78:	return (T) unmarshaller.unmarshal(reader); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: setEventHandler, unmarshal
436:	u.setEventHandler(eventHandler); 
-
440:	u.unmarshal( is )); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
97:	if (xmlDoc != null){source = new SAXSource(reader, new InputSource(xmlDoc));} 
-
101:	if (htmlDoc != null){t.transform(source, new StreamResult(htmlDoc));} 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: setEventHandler, setSchema, unmarshal
133:	unmarshaller.setSchema( schema ); 
134:	unmarshaller.setEventHandler( handler ); 
135:	return clazz.cast( unmarshaller.unmarshal( staxEventReader ) ); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: setEventHandler, setSchema, unmarshal
106:	unmarshaller.setSchema( schema() ); 
107:	unmarshaller.setEventHandler( handler ); 
108:	target = unmarshaller.unmarshal( staxReader ); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: unmarshal
89:	Object result = unmarshaller.unmarshal(stream); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: unmarshal
146:	return u.unmarshal(entityStream); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: setAttachmentUnmarshaller, unmarshal
178:	.setAttachmentUnmarshaller(new XopAttachmentUnmarshaller( 
-
180:	return unmarshaller.unmarshal(new StreamSource(rootPart.getBody( 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: unmarshal
67:	Ordertype order = (Ordertype) u.unmarshal(in); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: unmarshal
84:	AppCategories categories = (AppCategories) unmarshaller.unmarshal(new StringReader(XML)); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: unmarshal
36:	return (T) unmarshaller.unmarshal(reader); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
59:	return newSchema(new SAXSource(inputSource)); 
Full Snippet Info
5
CodeRank
See Code Examples for Java 8 SAXSource Methods: