Java Code Examples for javax.xml.soap.SOAPElement#getPrefix()
The following examples show how to use
javax.xml.soap.SOAPElement#getPrefix() .
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: SaajStaxWriter.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
private void fixPrefix(final String prfx, SOAPElement element) throws XMLStreamException { String oldPrfx = element.getPrefix(); if (prfx != null && !prfx.equals(oldPrfx)) { element.setPrefix(prfx); } }
Example 2
Source File: SaajStaxWriter.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
private void fixPrefix(final String prfx, SOAPElement element) throws XMLStreamException { String oldPrfx = element.getPrefix(); if (prfx != null && !prfx.equals(oldPrfx)) { element.setPrefix(prfx); } }