org.apache.woden.internal.wsdl20.extensions.soap
Class SOAPHeaderBlockImpl

java.lang.Object
  extended by org.apache.woden.internal.wsdl20.extensions.soap.SOAPHeaderBlockImpl
All Implemented Interfaces:
AttributeExtensible, ElementExtensible, ExtensionElement, SOAPHeaderBlock, SOAPHeaderBlockElement

public class SOAPHeaderBlockImpl
extends java.lang.Object
implements SOAPHeaderBlock, SOAPHeaderBlockElement

This class represents the SOAPHeaderBlock Component and the <wsoap:header> extension element that can appear within a Binding Fault or Binding Message Reference.

Author:
jkaputin@apache.org

Constructor Summary
SOAPHeaderBlockImpl()
           
 
Method Summary
 void addDocumentationElement(DocumentationElement docEl)
           
 void addExtensionElement(ExtensionElement extEl)
           
 DocumentationElement[] getDocumentationElements()
           
 org.apache.ws.commons.schema.XmlSchemaElement getElement()
           
 ElementDeclaration getElementDeclaration()
           
 QName getElementName()
           
 XMLAttr getExtensionAttribute(QName attrType)
           
 XMLAttr[] getExtensionAttributes()
           
 XMLAttr[] getExtensionAttributesForNamespace(java.net.URI namespace)
           
 ExtensionElement[] getExtensionElements()
           
 ExtensionElement[] getExtensionElementsOfType(QName extType)
           
 QName getExtensionType()
           
 WSDLComponent getParent()
           
 WSDLElement getParentElement()
           
 boolean hasExtensionAttributesForNamespace(java.net.URI namespace)
           
 boolean hasExtensionElementsForNamespace(java.net.URI namespace)
           
 java.lang.Boolean isRequired()
           
 java.lang.Boolean mustUnderstand()
           
 void removeExtensionElement(ExtensionElement extEl)
           
 void setElementName(QName qname)
           
 void setExtensionAttribute(QName attrType, XMLAttr attr)
           
 void setExtensionType(QName qname)
           
 void setMustUnderstand(java.lang.Boolean understood)
           
 void setParentElement(WSDLElement wsdlEl)
           
 void setRequired(java.lang.Boolean required)
           
 void setTypes(TypesElement types)
           
 SOAPHeaderBlockElement toElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPHeaderBlockImpl

public SOAPHeaderBlockImpl()
Method Detail

getElementDeclaration

public ElementDeclaration getElementDeclaration()
Specified by:
getElementDeclaration in interface SOAPHeaderBlock

mustUnderstand

public java.lang.Boolean mustUnderstand()
Specified by:
mustUnderstand in interface SOAPHeaderBlock
Specified by:
mustUnderstand in interface SOAPHeaderBlockElement

isRequired

public java.lang.Boolean isRequired()
Specified by:
isRequired in interface ExtensionElement
Specified by:
isRequired in interface SOAPHeaderBlock

getParent

public WSDLComponent getParent()
Specified by:
getParent in interface SOAPHeaderBlock

toElement

public SOAPHeaderBlockElement toElement()
Specified by:
toElement in interface SOAPHeaderBlock

setElementName

public void setElementName(QName qname)
Specified by:
setElementName in interface SOAPHeaderBlockElement

getElementName

public QName getElementName()
Specified by:
getElementName in interface SOAPHeaderBlockElement

getElement

public org.apache.ws.commons.schema.XmlSchemaElement getElement()
Specified by:
getElement in interface SOAPHeaderBlockElement

setMustUnderstand

public void setMustUnderstand(java.lang.Boolean understood)
Specified by:
setMustUnderstand in interface SOAPHeaderBlockElement

setParentElement

public void setParentElement(WSDLElement wsdlEl)
Specified by:
setParentElement in interface SOAPHeaderBlockElement

getParentElement

public WSDLElement getParentElement()
Specified by:
getParentElement in interface SOAPHeaderBlockElement

addDocumentationElement

public void addDocumentationElement(DocumentationElement docEl)
Specified by:
addDocumentationElement in interface SOAPHeaderBlockElement

getDocumentationElements

public DocumentationElement[] getDocumentationElements()
Specified by:
getDocumentationElements in interface SOAPHeaderBlockElement

setExtensionType

public void setExtensionType(QName qname)
Specified by:
setExtensionType in interface ExtensionElement

getExtensionType

public QName getExtensionType()
Specified by:
getExtensionType in interface ExtensionElement

setRequired

public void setRequired(java.lang.Boolean required)
Specified by:
setRequired in interface ExtensionElement

setExtensionAttribute

public void setExtensionAttribute(QName attrType,
                                  XMLAttr attr)
Specified by:
setExtensionAttribute in interface AttributeExtensible

getExtensionAttribute

public XMLAttr getExtensionAttribute(QName attrType)
Specified by:
getExtensionAttribute in interface AttributeExtensible

getExtensionAttributesForNamespace

public XMLAttr[] getExtensionAttributesForNamespace(java.net.URI namespace)
Specified by:
getExtensionAttributesForNamespace in interface AttributeExtensible

getExtensionAttributes

public XMLAttr[] getExtensionAttributes()
Specified by:
getExtensionAttributes in interface AttributeExtensible

hasExtensionAttributesForNamespace

public boolean hasExtensionAttributesForNamespace(java.net.URI namespace)
Specified by:
hasExtensionAttributesForNamespace in interface AttributeExtensible

addExtensionElement

public void addExtensionElement(ExtensionElement extEl)
Specified by:
addExtensionElement in interface ElementExtensible

removeExtensionElement

public void removeExtensionElement(ExtensionElement extEl)
Specified by:
removeExtensionElement in interface ElementExtensible

getExtensionElements

public ExtensionElement[] getExtensionElements()
Specified by:
getExtensionElements in interface ElementExtensible

getExtensionElementsOfType

public ExtensionElement[] getExtensionElementsOfType(QName extType)
Specified by:
getExtensionElementsOfType in interface ElementExtensible

hasExtensionElementsForNamespace

public boolean hasExtensionElementsForNamespace(java.net.URI namespace)
Specified by:
hasExtensionElementsForNamespace in interface ElementExtensible

setTypes

public void setTypes(TypesElement types)


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.