@Override public final QName getName() { try { return axiomElement.getQName(); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
@Override public final QName getName() { try { return axiomElement.getQName(); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
public final QName getName() { try { return axiomElement.getQName(); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
@Override public final QName getName() { try { return axiomElement.getQName(); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
@Override public final Iterator<QName> getAllAttributes() { try { List<QName> results = new ArrayList<QName>(); for (Iterator<?> iterator = getAxiomElement().getAllAttributes(); iterator.hasNext();) { OMAttribute attribute = (OMAttribute) iterator.next(); results.add(attribute.getQName()); } return results.iterator(); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
public final Iterator<QName> getAllAttributes() { try { List<QName> results = new ArrayList<QName>(); for (Iterator<?> iterator = getAxiomElement().getAllAttributes(); iterator.hasNext();) { OMAttribute attribute = (OMAttribute) iterator.next(); results.add(attribute.getQName()); } return results.iterator(); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
@Override public final Iterator<QName> getAllAttributes() { try { List<QName> results = new ArrayList<QName>(); for (Iterator<?> iterator = getAxiomElement().getAllAttributes(); iterator.hasNext();) { OMAttribute attribute = (OMAttribute) iterator.next(); results.add(attribute.getQName()); } return results.iterator(); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
@Override public final Iterator<QName> getAllAttributes() { try { List<QName> results = new ArrayList<QName>(); for (Iterator<?> iterator = getAxiomElement().getAllAttributes(); iterator.hasNext();) { OMAttribute attribute = (OMAttribute) iterator.next(); results.add(attribute.getQName()); } return results.iterator(); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
public final String getAttributeValue(QName name) { try { return getAxiomElement().getAttributeValue(name); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
@Override public final Source getSource() { try { return StaxUtils.createCustomStaxSource(axiomElement.getXMLStreamReader()); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
@Override public final String getAttributeValue(QName name) { try { return getAxiomElement().getAttributeValue(name); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
public final Source getSource() { try { return StaxUtils.createCustomStaxSource(axiomElement.getXMLStreamReader()); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
@Override public final String getAttributeValue(QName name) { try { return getAxiomElement().getAttributeValue(name); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
@Override public final String getAttributeValue(QName name) { try { return getAxiomElement().getAttributeValue(name); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
@Override public final Source getSource() { try { return StaxUtils.createCustomStaxSource(axiomElement.getXMLStreamReader()); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
@Override public final Source getSource() { try { return StaxUtils.createCustomStaxSource(axiomElement.getXMLStreamReader()); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
public final void addAttribute(QName name, String value) { try { OMNamespace namespace = getAxiomFactory().createOMNamespace(name.getNamespaceURI(), name.getPrefix()); OMAttribute attribute = getAxiomFactory().createOMAttribute(name.getLocalPart(), namespace, value); getAxiomElement().addAttribute(attribute); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
@Override public final void addAttribute(QName name, String value) { try { String namespaceUri = name.getNamespaceURI(); String prefix = name.getPrefix(); if (StringUtils.hasLength(namespaceUri) && !StringUtils.hasLength(prefix)) { prefix = null; } OMNamespace namespace = getAxiomFactory().createOMNamespace(namespaceUri, prefix); OMAttribute attribute = getAxiomFactory().createOMAttribute(name.getLocalPart(), namespace, value); getAxiomElement().addAttribute(attribute); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
@Override public final void addAttribute(QName name, String value) { try { String namespaceUri = name.getNamespaceURI(); String prefix = name.getPrefix(); if (StringUtils.hasLength(namespaceUri) && !StringUtils.hasLength(prefix)) { prefix = null; } OMNamespace namespace = getAxiomFactory().createOMNamespace(namespaceUri, prefix); OMAttribute attribute = getAxiomFactory().createOMAttribute(name.getLocalPart(), namespace, value); getAxiomElement().addAttribute(attribute); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }
@Override public final void addAttribute(QName name, String value) { try { String namespaceUri = name.getNamespaceURI(); String prefix = name.getPrefix(); if (StringUtils.hasLength(namespaceUri) && !StringUtils.hasLength(prefix)) { prefix = null; } OMNamespace namespace = getAxiomFactory().createOMNamespace(namespaceUri, prefix); OMAttribute attribute = getAxiomFactory().createOMAttribute(name.getLocalPart(), namespace, value); getAxiomElement().addAttribute(attribute); } catch (OMException ex) { throw new AxiomSoapElementException(ex); } }