public class SOAPHeaderBlockImpl extends Object implements SOAPHeaderBlock, SOAPHeaderBlockElement
Constructor and Description |
---|
SOAPHeaderBlockImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addDocumentationElement(DocumentationElement docEl) |
void |
addExtensionElement(ExtensionElement extEl) |
DocumentationElement[] |
getDocumentationElements() |
org.apache.ws.commons.schema.XmlSchemaElement |
getElement()
Returns the Schema element declaration identified by the QName in the 'element'
attribute of the <wsoap:header> element.
|
ElementDeclaration |
getElementDeclaration() |
QName |
getElementName() |
XMLAttr |
getExtensionAttribute(QName attrType)
Return the extension attribute with this QName.
|
XMLAttr[] |
getExtensionAttributes()
Return all extension attributes.
|
XMLAttr[] |
getExtensionAttributesForNamespace(URI namespace)
Return the extension attributes from this namespace.
|
ExtensionElement[] |
getExtensionElements() |
ExtensionElement[] |
getExtensionElementsOfType(QName extType) |
QName |
getExtensionType() |
WSDLComponent |
getParent() |
WSDLElement |
getParentElement() |
boolean |
hasExtensionAttributesForNamespace(URI namespace)
Return true if the implementor has extension attributes belonging to this namespace,
otherwise false.
|
boolean |
hasExtensionElementsForNamespace(URI namespace)
Return true if the implementor has extension elements belonging to this namespace,
otherwise false.
|
Boolean |
isRequired() |
Boolean |
mustUnderstand() |
void |
removeExtensionElement(ExtensionElement extEl) |
void |
setElementName(QName qname)
Set the QName that identifies the Schema element declaration
relating to this soap header.
|
void |
setExtensionAttribute(QName attrType,
XMLAttr attr)
Store the extension attribute object identified by the QName.
|
void |
setExtensionType(QName qname) |
void |
setMustUnderstand(Boolean understood) |
void |
setParentElement(WSDLElement wsdlEl) |
void |
setRequired(Boolean required) |
void |
setTypes(TypesElement types) |
SOAPHeaderBlockElement |
toElement() |
public ElementDeclaration getElementDeclaration()
getElementDeclaration
in interface SOAPHeaderBlock
public Boolean mustUnderstand()
mustUnderstand
in interface SOAPHeaderBlock
mustUnderstand
in interface SOAPHeaderBlockElement
public Boolean isRequired()
isRequired
in interface ExtensionElement
isRequired
in interface SOAPHeaderBlock
public WSDLComponent getParent()
getParent
in interface SOAPHeaderBlock
public SOAPHeaderBlockElement toElement()
toElement
in interface SOAPHeaderBlock
public void setElementName(QName qname)
SOAPHeaderBlockElement
setElementName
in interface SOAPHeaderBlockElement
qname
- the QName that identifies a Schema element declarationpublic QName getElementName()
getElementName
in interface SOAPHeaderBlockElement
public org.apache.ws.commons.schema.XmlSchemaElement getElement()
SOAPHeaderBlockElement
getElement
in interface SOAPHeaderBlockElement
public void setMustUnderstand(Boolean understood)
setMustUnderstand
in interface SOAPHeaderBlockElement
public void setParentElement(WSDLElement wsdlEl)
setParentElement
in interface SOAPHeaderBlockElement
public WSDLElement getParentElement()
getParentElement
in interface SOAPHeaderBlockElement
public void addDocumentationElement(DocumentationElement docEl)
addDocumentationElement
in interface SOAPHeaderBlockElement
public DocumentationElement[] getDocumentationElements()
getDocumentationElements
in interface SOAPHeaderBlockElement
public void setExtensionType(QName qname)
setExtensionType
in interface ExtensionElement
public QName getExtensionType()
getExtensionType
in interface ExtensionElement
public void setRequired(Boolean required)
setRequired
in interface ExtensionElement
public void setExtensionAttribute(QName attrType, XMLAttr attr)
AttributeExtensible
setExtensionAttribute
in interface AttributeExtensible
public XMLAttr getExtensionAttribute(QName attrType)
AttributeExtensible
getExtensionAttribute
in interface AttributeExtensible
public XMLAttr[] getExtensionAttributesForNamespace(URI namespace)
AttributeExtensible
getExtensionAttributesForNamespace
in interface AttributeExtensible
public XMLAttr[] getExtensionAttributes()
AttributeExtensible
getExtensionAttributes
in interface AttributeExtensible
public boolean hasExtensionAttributesForNamespace(URI namespace)
AttributeExtensible
hasExtensionAttributesForNamespace
in interface AttributeExtensible
public void addExtensionElement(ExtensionElement extEl)
addExtensionElement
in interface ElementExtensible
public void removeExtensionElement(ExtensionElement extEl)
removeExtensionElement
in interface ElementExtensible
public ExtensionElement[] getExtensionElements()
getExtensionElements
in interface ElementExtensible
public ExtensionElement[] getExtensionElementsOfType(QName extType)
getExtensionElementsOfType
in interface ElementExtensible
public boolean hasExtensionElementsForNamespace(URI namespace)
ElementExtensible
hasExtensionElementsForNamespace
in interface ElementExtensible
public void setTypes(TypesElement types)
Copyright © 2005–2014 Apache Software Foundation. All rights reserved.