|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.message.NodeImpl org.apache.axis.message.SOAPElementImpl org.apache.axis.message.SOAPElementAxisImpl org.apache.axis.message.SOAPEnvelopeImpl org.apache.axis.message.SOAPEnvelopeAxisImpl
Implementation of a SOAP Envelope
Nested Class Summary |
Nested classes inherited from class org.apache.axis.message.SOAPElementAxisImpl |
SOAPElementAxisImpl.QNameAttr |
Field Summary | |
String |
messageType
|
Vector |
trailers
|
Fields inherited from class org.apache.axis.message.SOAPElementAxisImpl |
_isRoot, attributes, context, elementRep, encodingStyle, endEventIndex, href, id, message, name, namespaces, namespaceURI, prefix, qNameAttrs, recorder, soapPart, startContentsIndex, startEventIndex, typeQName |
Fields inherited from class org.apache.axis.message.NodeImpl |
domNode, soapParent |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
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.apache.axis.message.SOAPEnvelopeImpl |
addTextNode |
Methods inherited from class org.apache.axis.message.NodeImpl |
getNodeName, getValue, hashCode, recycleNode, setNodeValue, 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, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, replaceChild, setNodeValue, setPrefix |
Methods inherited from interface org.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
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
SAXException
public String getMessageType()
public void setMessageType(String messageType)
messageType
- public Vector getBodyElements() throws AxisFault
AxisFault
public Vector getTrailers()
public SOAPBodyElementAxisImpl getFirstBody() throws AxisFault
AxisFault
public boolean isModified()
public void setModified(boolean modified)
public boolean isProcessingRPCInvocation()
public void setProcessingRPCInvocation(boolean flag)
public Vector getHeaders() throws AxisFault
AxisFault
public 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 Node
removeChild
in class SOAPElementAxisImpl
DOMException
public 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 SOAPElementAxisImpl
Exception
public 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.SOAPEnvelope
addBody
in class SOAPEnvelopeImpl
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPHeader addHeader() throws javax.xml.soap.SOAPException
addHeader
in interface javax.xml.soap.SOAPEnvelope
addHeader
in class SOAPEnvelopeImpl
javax.xml.soap.SOAPException
public javax.xml.soap.Name createName(String localName) throws javax.xml.soap.SOAPException
createName
in interface javax.xml.soap.SOAPEnvelope
createName
in class SOAPEnvelopeImpl
localName
-
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.SOAPEnvelope
createName
in class SOAPEnvelopeImpl
localName
- prefix
- uri
-
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPBody getBody()
getBody
in interface javax.xml.soap.SOAPEnvelope
getBody
in class SOAPEnvelopeImpl
public javax.xml.soap.SOAPHeader getHeader()
getHeader
in interface javax.xml.soap.SOAPEnvelope
getHeader
in class SOAPEnvelopeImpl
public void setSAAJEncodingCompliance(boolean comply)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |