com.sun.xml.internal.org.jvnet.fastinfoset.FastInfosetSource Java Examples
The following examples show how to use
com.sun.xml.internal.org.jvnet.fastinfoset.FastInfosetSource.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: FastInfosetCodec.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public void decode(InputStream in, String contentType, Packet packet) throws IOException { /* Implements similar logic as the XMLMessage.create(String, InputStream). * But it's faster, as we know the InputStream has FastInfoset content*/ Message message; in = hasSomeData(in); if (in != null) { message = Messages.createUsingPayload(new FastInfosetSource(in), SOAPVersion.SOAP_11); } else { message = Messages.createEmpty(SOAPVersion.SOAP_11); } packet.setMessage(message); }
Example #2
Source File: FastInfosetCodec.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public void decode(InputStream in, String contentType, Packet packet) throws IOException { /* Implements similar logic as the XMLMessage.create(String, InputStream). * But it's faster, as we know the InputStream has FastInfoset content*/ Message message; in = hasSomeData(in); if (in != null) { message = Messages.createUsingPayload(new FastInfosetSource(in), SOAPVersion.SOAP_11); } else { message = Messages.createEmpty(SOAPVersion.SOAP_11); } packet.setMessage(message); }
Example #3
Source File: FastInfosetCodec.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public void decode(InputStream in, String contentType, Packet packet) throws IOException { /* Implements similar logic as the XMLMessage.create(String, InputStream). * But it's faster, as we know the InputStream has FastInfoset content*/ Message message; in = hasSomeData(in); if (in != null) { message = Messages.createUsingPayload(new FastInfosetSource(in), SOAPVersion.SOAP_11); } else { message = Messages.createEmpty(SOAPVersion.SOAP_11); } packet.setMessage(message); }
Example #4
Source File: FastInfosetCodec.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public void decode(InputStream in, String contentType, Packet packet) throws IOException { /* Implements similar logic as the XMLMessage.create(String, InputStream). * But it's faster, as we know the InputStream has FastInfoset content*/ Message message; in = hasSomeData(in); if (in != null) { message = Messages.createUsingPayload(new FastInfosetSource(in), SOAPVersion.SOAP_11); } else { message = Messages.createEmpty(SOAPVersion.SOAP_11); } packet.setMessage(message); }
Example #5
Source File: FastInfosetCodec.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public void decode(InputStream in, String contentType, Packet packet) throws IOException { /* Implements similar logic as the XMLMessage.create(String, InputStream). * But it's faster, as we know the InputStream has FastInfoset content*/ Message message; in = hasSomeData(in); if (in != null) { message = Messages.createUsingPayload(new FastInfosetSource(in), SOAPVersion.SOAP_11); } else { message = Messages.createEmpty(SOAPVersion.SOAP_11); } packet.setMessage(message); }
Example #6
Source File: FastInfosetCodec.java From hottub with GNU General Public License v2.0 | 5 votes |
public void decode(InputStream in, String contentType, Packet packet) throws IOException { /* Implements similar logic as the XMLMessage.create(String, InputStream). * But it's faster, as we know the InputStream has FastInfoset content*/ Message message; in = hasSomeData(in); if (in != null) { message = Messages.createUsingPayload(new FastInfosetSource(in), SOAPVersion.SOAP_11); } else { message = Messages.createEmpty(SOAPVersion.SOAP_11); } packet.setMessage(message); }
Example #7
Source File: FastInfosetCodec.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public void decode(InputStream in, String contentType, Packet packet) throws IOException { /* Implements similar logic as the XMLMessage.create(String, InputStream). * But it's faster, as we know the InputStream has FastInfoset content*/ Message message; in = hasSomeData(in); if (in != null) { message = Messages.createUsingPayload(new FastInfosetSource(in), SOAPVersion.SOAP_11); } else { message = Messages.createEmpty(SOAPVersion.SOAP_11); } packet.setMessage(message); }
Example #8
Source File: FastInfosetCodec.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public void decode(InputStream in, String contentType, Packet packet) throws IOException { /* Implements similar logic as the XMLMessage.create(String, InputStream). * But it's faster, as we know the InputStream has FastInfoset content*/ Message message; in = hasSomeData(in); if (in != null) { message = Messages.createUsingPayload(new FastInfosetSource(in), SOAPVersion.SOAP_11); } else { message = Messages.createEmpty(SOAPVersion.SOAP_11); } packet.setMessage(message); }
Example #9
Source File: FI_SAX_XML.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
public void parse(InputStream finf, OutputStream xml) throws Exception { Transformer tx = TransformerFactory.newInstance().newTransformer(); tx.transform(new FastInfosetSource(finf), new StreamResult(xml)); }
Example #10
Source File: FI_SAX_XML.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
public void parse(InputStream finf, OutputStream xml) throws Exception { Transformer tx = TransformerFactory.newInstance().newTransformer(); tx.transform(new FastInfosetSource(finf), new StreamResult(xml)); }
Example #11
Source File: FI_SAX_XML.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
public void parse(InputStream finf, OutputStream xml) throws Exception { Transformer tx = TransformerFactory.newInstance().newTransformer(); tx.transform(new FastInfosetSource(finf), new StreamResult(xml)); }
Example #12
Source File: FI_SAX_XML.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
public void parse(InputStream finf, OutputStream xml) throws Exception { Transformer tx = TransformerFactory.newInstance().newTransformer(); tx.transform(new FastInfosetSource(finf), new StreamResult(xml)); }
Example #13
Source File: FI_SAX_XML.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public void parse(InputStream finf, OutputStream xml) throws Exception { Transformer tx = TransformerFactory.newInstance().newTransformer(); tx.transform(new FastInfosetSource(finf), new StreamResult(xml)); }
Example #14
Source File: FI_SAX_XML.java From hottub with GNU General Public License v2.0 | 4 votes |
public void parse(InputStream finf, OutputStream xml) throws Exception { Transformer tx = TransformerFactory.newInstance().newTransformer(); tx.transform(new FastInfosetSource(finf), new StreamResult(xml)); }
Example #15
Source File: FI_SAX_XML.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
public void parse(InputStream finf, OutputStream xml) throws Exception { Transformer tx = TransformerFactory.newInstance().newTransformer(); tx.transform(new FastInfosetSource(finf), new StreamResult(xml)); }
Example #16
Source File: FI_SAX_XML.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public void parse(InputStream finf, OutputStream xml) throws Exception { Transformer tx = TransformerFactory.newInstance().newTransformer(); tx.transform(new FastInfosetSource(finf), new StreamResult(xml)); }