KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > axis2 > soap > impl > llom > SOAPFaultRoleImpl


1 package org.apache.axis2.soap.impl.llom;
2
3 import org.apache.axis2.om.OMXMLParserWrapper;
4 import org.apache.axis2.soap.SOAPFault;
5 import org.apache.axis2.soap.impl.llom.soap12.SOAP12Constants;
6
7 /*
8  * Copyright 2004,2005 The Apache Software Foundation.
9  *
10  * Licensed under the Apache License, Version 2.0 (the "License");
11  * you may not use this file except in compliance with the License.
12  * You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  *
22  * author : Eran Chinthaka (chinthaka@apache.org)
23  */

24
25 public abstract class SOAPFaultRoleImpl extends SOAPElement implements org.apache.axis2.soap.SOAPFaultRole{
26
27     public SOAPFaultRoleImpl(SOAPFault parent, boolean extractNamespaceFromParent) throws SOAPProcessingException {
28         super(parent, SOAP12Constants.SOAP_FAULT_ROLE_LOCAL_NAME, extractNamespaceFromParent);
29     }
30
31     public SOAPFaultRoleImpl(SOAPFault parent, OMXMLParserWrapper builder) {
32         super(parent, SOAP12Constants.SOAP_FAULT_ROLE_LOCAL_NAME, builder);
33     }
34
35     public void setRoleValue(String JavaDoc uri) {
36         this.setText(uri);
37     }
38
39     public String JavaDoc getRoleValue() {
40         return this.getText();
41     }
42 }
43
Popular Tags