01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one
03: * or more contributor license agreements. See the NOTICE file
04: * distributed with this work for additional information
05: * regarding copyright ownership. The ASF licenses this file
06: * to you under the Apache License, Version 2.0 (the
07: * "License"); you may not use this file except in compliance
08: * with the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing,
13: * software distributed under the License is distributed on an
14: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15: * KIND, either express or implied. See the License for the
16: * specific language governing permissions and limitations
17: * under the License.
18: */
19: package org.apache.axis2.saaj;
20:
21: import org.apache.axiom.om.impl.dom.ElementImpl;
22:
23: import javax.xml.namespace.QName;
24: import javax.xml.soap.DetailEntry;
25: import javax.xml.soap.SOAPElement;
26: import javax.xml.soap.SOAPException;
27: import java.util.Iterator;
28:
29: /**
30: * The content for a Detail object, giving details for a SOAPFault object. A DetailEntry object,
31: * which carries information about errors related to the SOAPBody object that contains it, is
32: * application-specific.
33: */
34: public class DetailEntryImpl extends SOAPElementImpl implements
35: DetailEntry {
36:
37: /** @param element */
38: public DetailEntryImpl(ElementImpl element) {
39: super (element);
40: }
41:
42: public SOAPElement addAttribute(QName qname, String value)
43: throws SOAPException {
44: return super .addAttribute(qname, value);
45: }
46:
47: public SOAPElement addChildElement(QName qname)
48: throws SOAPException {
49: return super .addChildElement(qname);
50: }
51:
52: public QName createQName(String localName, String prefix)
53: throws SOAPException {
54: return super .createQName(localName, prefix);
55: }
56:
57: public Iterator getAllAttributesAsQNames() {
58: return super .getAllAttributesAsQNames();
59: }
60:
61: public String getAttributeValue(QName qname) {
62: return super .getAttributeValue(qname);
63: }
64:
65: public Iterator getChildElements(QName qname) {
66: return super .getChildElements(qname);
67: }
68:
69: public QName getElementQName() {
70: return super .getElementQName();
71: }
72:
73: public boolean removeAttribute(QName qname) {
74: return super .removeAttribute(qname);
75: }
76:
77: public SOAPElement setElementQName(QName newName)
78: throws SOAPException {
79: return super.setElementQName(newName);
80: }
81: }
|