1 package org.apache.axis2.soap; 2 3 import org.apache.axis2.om.OMElement; 4 import org.apache.axis2.soap.impl.llom.SOAPProcessingException; 5 6 /** 7 * Copyright 2001-2004 The Apache Software Foundation. 8 * <p/> 9 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 10 * use this file except in compliance with the License. You may obtain a copy of 11 * the License at 12 * <p/> 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * <p/> 15 * Unless required by applicable law or agreed to in writing, software 16 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 17 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 18 * License for the specific language governing permissions and limitations under 19 * the License. 20 * <p/> 21 */ 22 public interface SOAPFaultSubCode extends OMElement{ 23 /** 24 * Eran Chinthaka (chinthaka@apache.org) 25 */ 26 27 /** 28 * Fault SubCode contain only one mandatory Value child. This value child contains a QName 29 * @param soapFaultSubCodeValue 30 */ 31 public void setValue(SOAPFaultValue soapFaultSubCodeValue) throws SOAPProcessingException; 32 public SOAPFaultValue getValue(); 33 34 35 /** 36 * Fault SubCode can contain an optional SubCode 37 * @param subCode 38 */ 39 public void setSubCode(SOAPFaultSubCode subCode) throws SOAPProcessingException; 40 public SOAPFaultSubCode getSubCode(); 41 } 42