Class SOAPHeader
- java.lang.Object
-
- com.sun.tools.ws.wsdl.framework.Entity
-
- com.sun.tools.ws.wsdl.framework.ExtensionImpl
-
- com.sun.tools.ws.wsdl.document.soap.SOAPHeader
-
- All Implemented Interfaces:
TWSDLExtension,Elemental
public class SOAPHeader extends ExtensionImpl
A SOAP header extension.- Author:
- WS Development Team
-
-
Field Summary
-
Fields inherited from class com.sun.tools.ws.wsdl.framework.Entity
errorReceiver
-
-
Constructor Summary
Constructors Constructor Description SOAPHeader(Locator locator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ExtensionVisitor visitor)voidadd(SOAPHeaderFault fault)Iteratorfaults()QNamegetElementName()StringgetEncodingStyle()QNamegetMessage()StringgetNamespace()StringgetPart()SOAPUsegetUse()booleanisEncoded()booleanisLiteral()voidsetEncodingStyle(String s)voidsetMessage(QName message)voidsetNamespace(String s)voidsetPart(String s)voidsetUse(SOAPUse u)voidvalidateThis()voidwithAllQNamesDo(QNameAction action)voidwithAllSubEntitiesDo(EntityAction action)-
Methods inherited from class com.sun.tools.ws.wsdl.framework.ExtensionImpl
getParent, setParent
-
Methods inherited from class com.sun.tools.ws.wsdl.framework.Entity
failValidation, failValidation, getLocator, getProperty, removeProperty, setErrorReceiver, setProperty, withAllEntityReferencesDo
-
-
-
-
Constructor Detail
-
SOAPHeader
public SOAPHeader(Locator locator)
-
-
Method Detail
-
add
public void add(SOAPHeaderFault fault)
-
faults
public Iterator faults()
-
getElementName
public QName getElementName()
-
getNamespace
public String getNamespace()
-
setNamespace
public void setNamespace(String s)
-
getUse
public SOAPUse getUse()
-
setUse
public void setUse(SOAPUse u)
-
isEncoded
public boolean isEncoded()
-
isLiteral
public boolean isLiteral()
-
getEncodingStyle
public String getEncodingStyle()
-
setEncodingStyle
public void setEncodingStyle(String s)
-
getPart
public String getPart()
-
setMessage
public void setMessage(QName message)
-
getMessage
public QName getMessage()
-
setPart
public void setPart(String s)
-
withAllSubEntitiesDo
public void withAllSubEntitiesDo(EntityAction action)
- Overrides:
withAllSubEntitiesDoin classEntity
-
withAllQNamesDo
public void withAllQNamesDo(QNameAction action)
- Overrides:
withAllQNamesDoin classEntity
-
accept
public void accept(ExtensionVisitor visitor) throws Exception
- Overrides:
acceptin classExtensionImpl- Throws:
Exception
-
validateThis
public void validateThis()
- Specified by:
validateThisin classEntity
-
-