Java Code Examples for javax.xml.transform.TransformerException#toString()
The following examples show how to use
javax.xml.transform.TransformerException#toString() .
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: WSEndpointReference.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Dumps the EPR infoset in a human-readable string. */ @Override public String toString() { try { // debug convenience StringWriter sw = new StringWriter(); XmlUtil.newTransformer().transform(asSource("EndpointReference"),new StreamResult(sw)); return sw.toString(); } catch (TransformerException e) { return e.toString(); } }
Example 2
Source File: WSEndpointReference.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Dumps the EPR infoset in a human-readable string. */ @Override public String toString() { try { // debug convenience StringWriter sw = new StringWriter(); XmlUtil.newTransformer().transform(asSource("EndpointReference"),new StreamResult(sw)); return sw.toString(); } catch (TransformerException e) { return e.toString(); } }
Example 3
Source File: WSEndpointReference.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Dumps the EPR infoset in a human-readable string. */ @Override public String toString() { try { // debug convenience StringWriter sw = new StringWriter(); XmlUtil.newTransformer().transform(asSource("EndpointReference"),new StreamResult(sw)); return sw.toString(); } catch (TransformerException e) { return e.toString(); } }
Example 4
Source File: WSEndpointReference.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Dumps the EPR infoset in a human-readable string. */ @Override public String toString() { try { // debug convenience StringWriter sw = new StringWriter(); XmlUtil.newTransformer().transform(asSource("EndpointReference"),new StreamResult(sw)); return sw.toString(); } catch (TransformerException e) { return e.toString(); } }
Example 5
Source File: WSEndpointReference.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Dumps the EPR infoset in a human-readable string. */ @Override public String toString() { try { // debug convenience StringWriter sw = new StringWriter(); XmlUtil.newTransformer().transform(asSource("EndpointReference"),new StreamResult(sw)); return sw.toString(); } catch (TransformerException e) { return e.toString(); } }
Example 6
Source File: WSEndpointReference.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Dumps the EPR infoset in a human-readable string. */ @Override public String toString() { try { // debug convenience StringWriter sw = new StringWriter(); XmlUtil.newTransformer().transform(asSource("EndpointReference"),new StreamResult(sw)); return sw.toString(); } catch (TransformerException e) { return e.toString(); } }
Example 7
Source File: WSEndpointReference.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Dumps the EPR infoset in a human-readable string. */ @Override public String toString() { try { // debug convenience StringWriter sw = new StringWriter(); XmlUtil.newTransformer().transform(asSource("EndpointReference"),new StreamResult(sw)); return sw.toString(); } catch (TransformerException e) { return e.toString(); } }
Example 8
Source File: WSEndpointReference.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Dumps the EPR infoset in a human-readable string. */ @Override public String toString() { try { // debug convenience StringWriter sw = new StringWriter(); XmlUtil.newTransformer().transform(asSource("EndpointReference"),new StreamResult(sw)); return sw.toString(); } catch (TransformerException e) { return e.toString(); } }
Example 9
Source File: XmlUtils.java From pipeline-maven-plugin with MIT License | 5 votes |
@Nonnull public static String toString(@Nullable Node node) { try { StringWriter out = new StringWriter(); Transformer identityTransformer = TransformerFactory.newInstance().newTransformer(); identityTransformer.transform(new DOMSource(node), new StreamResult(out)); return out.toString(); } catch (TransformerException e) { LOGGER.log(Level.WARNING, "Exception dumping node " + node, e); return e.toString(); } }