|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.axis.message.NodeImpl
org.jboss.axis.message.SOAPElementImpl
org.jboss.axis.message.SOAPElementAxisImpl
org.jboss.axis.message.SOAPEnvelopeImpl
org.jboss.axis.message.SOAPEnvelopeAxisImpl
public class SOAPEnvelopeAxisImpl
Implementation of a SOAP Envelope
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jboss.axis.message.SOAPElementAxisImpl |
|---|
SOAPElementAxisImpl.QNameAttr |
| Field Summary | |
|---|---|
String |
messageType
|
Vector |
trailers
|
| Fields inherited from class org.jboss.axis.message.SOAPElementAxisImpl |
|---|
_isRoot, attributes, context, elementRep, encodingStyle, endEventIndex, href, id, message, name, namespaces, namespaceURI, objectValue, prefix, qNameAttrs, recorder, soapPart, startContentsIndex, startEventIndex, typeQName |
| Fields inherited from class org.jboss.axis.message.NodeImpl |
|---|
domNode, soapParent |
| Constructor Summary | |
|---|---|
SOAPEnvelopeAxisImpl()
|
|
SOAPEnvelopeAxisImpl(boolean registerPrefixes,
SOAPConstants soapConstants)
|
|
SOAPEnvelopeAxisImpl(boolean registerPrefixes,
SOAPConstants soapConstants,
SchemaVersion schemaVersion)
|
|
SOAPEnvelopeAxisImpl(SOAPConstants soapConstants)
|
|
SOAPEnvelopeAxisImpl(SOAPConstants soapConstants,
SchemaVersion schemaVersion)
|
|
| Method Summary | |
|---|---|
javax.xml.soap.SOAPBody |
addBody()
Add a soap body if one does not exist |
void |
addBodyElement(SOAPBodyElementAxisImpl element)
Add a SOAP Body Element |
javax.xml.soap.SOAPHeader |
addHeader()
Add a soap header if one does not exist |
void |
addHeader(SOAPHeaderElementAxisImpl hdr)
Add a HeaderElement |
void |
addTrailer(SOAPElementAxisImpl element)
Add an element to the trailer |
void |
clearBody()
clear the elements in the soap body |
javax.xml.soap.Name |
createName(String localName)
create a Name given the local part |
javax.xml.soap.Name |
createName(String localName,
String prefix,
String uri)
Create a name given local part, prefix and uri |
javax.xml.soap.SOAPBody |
getBody()
Get the soap body |
SOAPBodyElementAxisImpl |
getBodyByName(String namespace,
String localPart)
Get a body element given its name |
Vector |
getBodyElements()
Get all the BodyElement's in the soap body |
SOAPBodyElementAxisImpl |
getFirstBody()
Get the first BodyElement in the SOAP Body |
javax.xml.soap.SOAPHeader |
getHeader()
Get the soap header |
SOAPHeaderElementAxisImpl |
getHeaderByName(String namespace,
String localPart)
Get a header by name (always respecting the currently in-scope actors list) |
SOAPHeaderElementAxisImpl |
getHeaderByName(String namespace,
String localPart,
boolean accessAllHeaders)
Get a header by name, filtering for headers targeted at this engine depending on the accessAllHeaders parameter. |
Vector |
getHeaders()
Get Headers |
Enumeration |
getHeadersByName(String namespace,
String localPart)
Get an enumeration of header elements given the namespace and localpart |
Enumeration |
getHeadersByName(String namespace,
String localPart,
boolean accessAllHeaders)
Return an Enumeration of headers which match the given namespace and localPart. |
String |
getMessageType()
Get the Message Type (REQUEST/RESPONSE) |
SchemaVersion |
getSchemaVersion()
Get the schema version for this envelope |
SOAPConstants |
getSOAPConstants()
Get the soap constants for this envelope |
Vector |
getTrailers()
Return trailers |
boolean |
isModified()
|
boolean |
isProcessingRPCInvocation()
|
static SOAPEnvelopeAxisImpl |
newSOAPEnvelope(InputStream input)
|
void |
outputImpl(SerializationContext context)
Should make SOAPSerializationException? |
void |
removeBody()
Remove the SOAP Body |
void |
removeBodyElement(SOAPBodyElementAxisImpl element)
Remove a Body Element from the soap body |
Node |
removeChild(Node oldChild)
|
void |
removeHeader(SOAPHeaderElementAxisImpl hdr)
Remove a Header Element from SOAP Header |
void |
removeHeaders()
Remove all headers |
void |
removeTrailer(SOAPElementAxisImpl element)
Remove an element from the trailer |
void |
setBody(SOAPBodyAxisImpl newBody)
Set the soap body |
void |
setHeader(SOAPHeaderAxisImpl header)
Set the SOAP Header |
void |
setMessageType(String messageType)
Set the Message Type (REQUEST/RESPONSE) |
void |
setModified(boolean modified)
|
void |
setProcessingRPCInvocation(boolean flag)
|
void |
setSAAJEncodingCompliance(boolean comply)
|
void |
setSchemaVersion(SchemaVersion schemaVersion)
Set the schema version for this envelope |
void |
setSoapConstants(SOAPConstants soapConstants)
Set the soap constants for this envelope |
| Methods inherited from class org.jboss.axis.message.SOAPEnvelopeImpl |
|---|
addTextNode |
| Methods inherited from class org.jboss.axis.message.SOAPElementImpl |
|---|
getSchemaTypeInfo, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods inherited from class org.jboss.axis.message.NodeImpl |
|---|
compareDocumentPosition, getBaseURI, getFeature, getNodeName, getTextContent, getUserData, getValue, hashCode, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, recycleNode, setNodeValue, setTextContent, setUserData, setValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.xml.soap.SOAPElement |
|---|
addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, getAllAttributes, getAttributeValue, getChildElements, getChildElements, getElementName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeContents, removeNamespaceDeclaration, setEncodingStyle |
| Methods inherited from interface javax.xml.soap.Node |
|---|
detachNode, getParentElement, getValue, recycleNode, setParentElement, setValue |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Methods inherited from interface org.w3c.dom.Element |
|---|
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Field Detail |
|---|
public Vector trailers
public String messageType
| Constructor Detail |
|---|
public SOAPEnvelopeAxisImpl()
public SOAPEnvelopeAxisImpl(SOAPConstants soapConstants)
public SOAPEnvelopeAxisImpl(SOAPConstants soapConstants,
SchemaVersion schemaVersion)
public SOAPEnvelopeAxisImpl(boolean registerPrefixes,
SOAPConstants soapConstants)
public SOAPEnvelopeAxisImpl(boolean registerPrefixes,
SOAPConstants soapConstants,
SchemaVersion schemaVersion)
| Method Detail |
|---|
public static SOAPEnvelopeAxisImpl newSOAPEnvelope(InputStream input)
throws SAXException
SAXExceptionpublic String getMessageType()
public void setMessageType(String messageType)
messageType -
public Vector getBodyElements()
throws AxisFault
AxisFaultpublic Vector getTrailers()
public SOAPBodyElementAxisImpl getFirstBody()
throws AxisFault
AxisFaultpublic boolean isModified()
public void setModified(boolean modified)
public boolean isProcessingRPCInvocation()
public void setProcessingRPCInvocation(boolean flag)
public Vector getHeaders()
throws AxisFault
AxisFaultpublic void addHeader(SOAPHeaderElementAxisImpl hdr)
hdr - public void addBodyElement(SOAPBodyElementAxisImpl element)
element - public void removeHeaders()
public void setHeader(SOAPHeaderAxisImpl header)
public void removeHeader(SOAPHeaderElementAxisImpl hdr)
hdr -
public Node removeChild(Node oldChild)
throws DOMException
removeChild in interface NoderemoveChild in class SOAPElementAxisImplDOMExceptionpublic void removeBody()
public void setBody(SOAPBodyAxisImpl newBody)
newBody - public void removeBodyElement(SOAPBodyElementAxisImpl element)
element - public void removeTrailer(SOAPElementAxisImpl element)
element - public void clearBody()
public void addTrailer(SOAPElementAxisImpl element)
element -
public SOAPHeaderElementAxisImpl getHeaderByName(String namespace,
String localPart)
throws AxisFault
AxisFault
public SOAPHeaderElementAxisImpl getHeaderByName(String namespace,
String localPart,
boolean accessAllHeaders)
throws AxisFault
AxisFault
public SOAPBodyElementAxisImpl getBodyByName(String namespace,
String localPart)
throws AxisFault
namespace - localPart -
AxisFault
public Enumeration getHeadersByName(String namespace,
String localPart)
throws AxisFault
namespace - localPart -
AxisFault
public Enumeration getHeadersByName(String namespace,
String localPart,
boolean accessAllHeaders)
throws AxisFault
AxisFault
public void outputImpl(SerializationContext context)
throws Exception
outputImpl in class SOAPElementAxisImplExceptionpublic SOAPConstants getSOAPConstants()
public void setSoapConstants(SOAPConstants soapConstants)
soapConstants - public SchemaVersion getSchemaVersion()
public void setSchemaVersion(SchemaVersion schemaVersion)
schemaVersion -
public javax.xml.soap.SOAPBody addBody()
throws javax.xml.soap.SOAPException
addBody in interface javax.xml.soap.SOAPEnvelopeaddBody in class SOAPEnvelopeImpljavax.xml.soap.SOAPException
public javax.xml.soap.SOAPHeader addHeader()
throws javax.xml.soap.SOAPException
addHeader in interface javax.xml.soap.SOAPEnvelopeaddHeader in class SOAPEnvelopeImpljavax.xml.soap.SOAPException
public javax.xml.soap.Name createName(String localName)
throws javax.xml.soap.SOAPException
createName in interface javax.xml.soap.SOAPEnvelopecreateName in class SOAPEnvelopeImpllocalName -
javax.xml.soap.SOAPException
public javax.xml.soap.Name createName(String localName,
String prefix,
String uri)
throws javax.xml.soap.SOAPException
createName in interface javax.xml.soap.SOAPEnvelopecreateName in class SOAPEnvelopeImpllocalName - prefix - uri -
javax.xml.soap.SOAPExceptionpublic javax.xml.soap.SOAPBody getBody()
getBody in interface javax.xml.soap.SOAPEnvelopegetBody in class SOAPEnvelopeImplpublic javax.xml.soap.SOAPHeader getHeader()
getHeader in interface javax.xml.soap.SOAPEnvelopegetHeader in class SOAPEnvelopeImplpublic void setSAAJEncodingCompliance(boolean comply)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||