1 package org.apache.axis2.soap.impl.llom; 2 3 import org.apache.axis2.om.OMElement; 4 import org.apache.axis2.om.OMXMLParserWrapper; 5 import org.apache.axis2.soap.SOAPFault; 6 import org.apache.axis2.soap.SOAPFaultDetail; 7 import org.apache.axis2.soap.impl.llom.soap12.SOAP12Constants; 8 9 import java.util.Iterator ; 10 11 28 29 public abstract class SOAPFaultDetailImpl extends SOAPElement implements SOAPFaultDetail{ 30 31 protected SOAPFaultDetailImpl(SOAPFault parent, boolean extractNamespaceFromParent) throws SOAPProcessingException { 32 super(parent, SOAP12Constants.SOAP_FAULT_DETAIL_LOCAL_NAME, extractNamespaceFromParent); 33 } 34 35 protected SOAPFaultDetailImpl(SOAPFault parent, OMXMLParserWrapper builder) { 36 super(parent, SOAP12Constants.SOAP_FAULT_DETAIL_LOCAL_NAME, builder); 37 } 38 39 public void addDetailEntry(OMElement detailElement) { 40 this.addChild(detailElement); 41 } 42 43 public Iterator getAllDetailEntries() { 44 return this.getChildren(); 45 } 46 } 47 | Popular Tags |