本文整理了Java中javax.xml.soap.SOAPElement.appendChild()
方法的一些代码示例,展示了SOAPElement.appendChild()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SOAPElement.appendChild()
方法的具体详情如下:
包路径:javax.xml.soap.SOAPElement
类名称:SOAPElement
方法名:appendChild
暂无
代码示例来源:origin: com.hynnet/xws-security
public Node appendChild(Node arg0) throws DOMException {
return delegateElement.appendChild(arg0);
}
代码示例来源:origin: org.jboss.ws.native/jbossws-native-core
public void setValue(QName qName, ElementBinding element, Object owner, Object value)
{
SOAPElement e = (SOAPElement)owner;
Text textNode = e.getOwnerDocument().createTextNode((String)value);
e.appendChild(textNode);
}
}
代码示例来源:origin: org.jboss.ws.native/jbossws-native-core
public void setParent(Object parent, Object o, QName elementName, ParticleBinding particle, ParticleBinding parentParticle)
{
if (parent instanceof SOAPElement)
{
((SOAPElement)parent).appendChild((Element)o);
}
else
{
super.setParent(parent, o, elementName, particle, parentParticle);
}
}
代码示例来源:origin: org.jboss.ws.native/jbossws-native-core
private void appendCommentNode(SOAPElement soapElement, Node child)
{
String nodeValue = child.getNodeValue();
Document ownerDoc = soapElement.getOwnerDocument();
Comment comment = ownerDoc.createComment(nodeValue);
soapElement.appendChild(comment);
}
代码示例来源:origin: com.sun.xml.ws/jaxws-rt
@Override
public void writeProcessingInstruction(final String target, final String data) throws XMLStreamException {
currentElement = deferredElement.flushTo(currentElement);
Node n = soap.getSOAPPart().createProcessingInstruction(target, data);
currentElement.appendChild(n);
}
代码示例来源:origin: com.sun.xml.ws/jaxws-rt
@Override
public void writeCData(final String data) throws XMLStreamException {
currentElement = deferredElement.flushTo(currentElement);
Node n = soap.getSOAPPart().createCDATASection(data);
currentElement.appendChild(n);
}
代码示例来源:origin: com.sun.xml.ws/rt
@Override
public void writeProcessingInstruction(final String target) throws XMLStreamException {
currentElement = deferredElement.flushTo(currentElement);
Node n = soap.getSOAPPart().createProcessingInstruction(target, "");
currentElement.appendChild(n);
}
代码示例来源:origin: com.sun.xml.ws/rt
@Override
public void writeEntityRef(final String name) throws XMLStreamException {
currentElement = deferredElement.flushTo(currentElement);
Node n = soap.getSOAPPart().createEntityReference(name);
currentElement.appendChild(n);
}
代码示例来源:origin: javaee/metro-jax-ws
@Override
public void writeProcessingInstruction(final String target, final String data) throws XMLStreamException {
currentElement = deferredElement.flushTo(currentElement);
Node n = soap.getSOAPPart().createProcessingInstruction(target, data);
currentElement.appendChild(n);
}
代码示例来源:origin: javaee/metro-jax-ws
@Override
public void writeCData(final String data) throws XMLStreamException {
currentElement = deferredElement.flushTo(currentElement);
Node n = soap.getSOAPPart().createCDATASection(data);
currentElement.appendChild(n);
}
代码示例来源:origin: javaee/metro-jax-ws
@Override
public void writeEntityRef(final String name) throws XMLStreamException {
currentElement = deferredElement.flushTo(currentElement);
Node n = soap.getSOAPPart().createEntityReference(name);
currentElement.appendChild(n);
}
代码示例来源:origin: apache/servicemix-bundles
@Override
public void writeEntityRef(final String name) throws XMLStreamException {
currentElement = deferredElement.flushTo(currentElement);
Node n = soap.getSOAPPart().createEntityReference(name);
currentElement.appendChild(n);
}
代码示例来源:origin: com.sun.xml.ws/jaxws-rt
@Override
public void writeComment(final String data) throws XMLStreamException {
currentElement = deferredElement.flushTo(currentElement);
Comment c = soap.getSOAPPart().createComment(data);
currentElement.appendChild(c);
}
代码示例来源:origin: com.sun.xml.ws/jaxws-rt
@Override
public void writeProcessingInstruction(final String target) throws XMLStreamException {
currentElement = deferredElement.flushTo(currentElement);
Node n = soap.getSOAPPart().createProcessingInstruction(target, "");
currentElement.appendChild(n);
}
代码示例来源:origin: com.sun.xml.ws/jaxws-rt
@Override
public void writeEntityRef(final String name) throws XMLStreamException {
currentElement = deferredElement.flushTo(currentElement);
Node n = soap.getSOAPPart().createEntityReference(name);
currentElement.appendChild(n);
}
代码示例来源:origin: com.sun.xml.ws/rt
@Override
public void writeComment(final String data) throws XMLStreamException {
currentElement = deferredElement.flushTo(currentElement);
Comment c = soap.getSOAPPart().createComment(data);
currentElement.appendChild(c);
}
代码示例来源:origin: com.sun.xml.ws/rt
@Override
public void writeProcessingInstruction(final String target, final String data) throws XMLStreamException {
currentElement = deferredElement.flushTo(currentElement);
Node n = soap.getSOAPPart().createProcessingInstruction(target, data);
currentElement.appendChild(n);
}
代码示例来源:origin: com.sun.xml.ws/rt
@Override
public void writeCData(final String data) throws XMLStreamException {
currentElement = deferredElement.flushTo(currentElement);
Node n = soap.getSOAPPart().createCDATASection(data);
currentElement.appendChild(n);
}
代码示例来源:origin: javaee/metro-jax-ws
@Override
public void writeComment(final String data) throws XMLStreamException {
currentElement = deferredElement.flushTo(currentElement);
Comment c = soap.getSOAPPart().createComment(data);
currentElement.appendChild(c);
}
代码示例来源:origin: javaee/metro-jax-ws
@Override
public void writeProcessingInstruction(final String target) throws XMLStreamException {
currentElement = deferredElement.flushTo(currentElement);
Node n = soap.getSOAPPart().createProcessingInstruction(target, "");
currentElement.appendChild(n);
}
内容来源于网络,如有侵权,请联系作者删除!