package javax.xml.soap;
import java.util.Locale;
import org.w3c.dom.Document;
public interface SOAPBody
extends SOAPElement
{
public abstract SOAPBodyElement addBodyElement(Name name)
throws SOAPException;
public abstract SOAPBodyElement addDocument(Document doc)
throws SOAPException;
public abstract SOAPFault addFault() throws SOAPException;
public abstract SOAPFault addFault(Name faultCode, String faultString)
throws SOAPException;
public abstract SOAPFault addFault(Name faultCode, String faultString,
Locale locale) throws SOAPException;
public abstract SOAPFault getFault();
public abstract boolean hasFault();
}