SOAPBodyElementpublic class SOAPBodyElement extends MessageElement implements SOAPBodyElement
Fields Summary |
---|
private static Log | log |
Constructors Summary |
---|
public SOAPBodyElement(String namespace, String localPart, String prefix, Attributes attributes, org.apache.axis.encoding.DeserializationContext context)
super(namespace, localPart, prefix, attributes, context);
| public SOAPBodyElement(Name name)
super(name);
| public SOAPBodyElement(QName qname)
super(qname);
| public SOAPBodyElement(QName qname, Object value)
super(qname, value);
| public SOAPBodyElement(Element elem)
super(elem);
| public SOAPBodyElement()
| public SOAPBodyElement(InputStream input)
super( getDocumentElement(input) );
| public SOAPBodyElement(String namespace, String localPart)
super(namespace, localPart);
|
Methods Summary |
---|
private static org.w3c.dom.Element | getDocumentElement(java.io.InputStream input)
try {
return XMLUtils.newDocument(input).getDocumentElement();
} catch (Exception e) {
throw new InternalException(e);
}
| public void | setParentElement(javax.xml.soap.SOAPElement parent)
if(parent == null) {
throw new IllegalArgumentException(Messages.getMessage("nullParent00"));
}
// migration aid
if (parent instanceof SOAPEnvelope) {
log.warn(Messages.getMessage("bodyElementParent"));
parent = ((SOAPEnvelope)parent).getBody();
}
if (!(parent instanceof SOAPBody) && !(parent instanceof RPCElement)) {
throw new IllegalArgumentException(Messages.getMessage("illegalArgumentException00"));
}
super.setParentElement(parent);
|
|