1 package org.apache.axis2.soap; 2 3 import org.apache.axis2.om.OMElement; 4 5 /** 6 * Copyright 2001-2004 The Apache Software Foundation. 7 * <p/> 8 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 9 * use this file except in compliance with the License. You may obtain a copy of 10 * the License at 11 * <p/> 12 * http://www.apache.org/licenses/LICENSE-2.0 13 * <p/> 14 * Unless required by applicable law or agreed to in writing, software 15 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 16 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 17 * License for the specific language governing permissions and limitations under 18 * the License. 19 * <p/> 20 */ 21 public interface SOAPFaultText extends OMElement{ 22 /** 23 * Eran Chinthaka (chinthaka@apache.org) 24 */ 25 26 /** 27 * lang is a mandatory attribute within the SOAPFaultText which must have 28 * SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_URI as the namespace URI and 29 * SOAP12constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_PREFIX or a capitalization thereof as the prefix 30 * @param lang 31 */ 32 public void setLang(String lang); 33 public String getLang(); 34 35 36 } 37